@@ -25,9 +25,11 @@ class Funding(KrakenFuturesBaseAPI):
2525 :type key: str, optional
2626 :param secret: Futures API secret key (default: ``""``)
2727 :type secret: str, optional
28- :param url: Alternative URL to access the Futures Kraken API (default: https://futures.kraken.com)
28+ :param url: Alternative URL to access the Futures Kraken API (default:
29+ https://futures.kraken.com)
2930 :type url: str, optional
30- :param sandbox: If set to ``True`` the URL will be https://demo-futures.kraken.com (default: ``False``)
31+ :param sandbox: If set to ``True`` the URL will be
32+ https://demo-futures.kraken.com (default: ``False``)
3133 :type sandbox: bool, optional
3234
3335 .. code-block:: python
@@ -68,7 +70,8 @@ def get_historical_funding_rates(
6870 extra_params : Optional [dict ] = None ,
6971 ) -> dict :
7072 """
71- Retrieve information about the historical funding rates of a specific ``symbol``
73+ Retrieve information about the historical funding rates of a specific
74+ ``symbol``
7275
7376 - https://docs.futures.kraken.com/#http-api-trading-v3-api-historical-funding-rates-historicalfundingrates
7477
@@ -115,10 +118,11 @@ def initiate_wallet_transfer(
115118 extra_params : Optional [dict ] = None ,
116119 ) -> dict :
117120 """
118- Submit a wallet transfer request to transfer funds between margin accounts.
121+ Submit a wallet transfer request to transfer funds between margin
122+ accounts.
119123
120- Requires the ``General API - Full Access`` and ``Withdrawal API - Full access``
121- permissions in the API key settings.
124+ Requires the ``General API - Full Access`` and ``Withdrawal API - Full
125+ access`` permissions in the API key settings.
122126
123127 - https://docs.futures.kraken.com/#http-api-trading-v3-api-transfers-initiate-wallet-transfer
124128
@@ -175,8 +179,8 @@ def initiate_subaccount_transfer(
175179 """
176180 Submit a request to transfer funds between the regular and subaccount.
177181
178- Requires the ``General API - Full Access`` and ``Withdrawal API - Full access``
179- permissions in the API key settings.
182+ Requires the ``General API - Full Access`` and ``Withdrawal API - Full
183+ access`` permissions in the API key settings.
180184
181185 - https://docs.futures.kraken.com/#http-api-trading-v3-api-transfers-initiate-sub-account-transfer
182186
@@ -232,8 +236,8 @@ def initiate_withdrawal_to_spot_wallet(
232236 """
233237 Enables the transfer of funds between the futures and spot wallet.
234238
235- Requires the ``General API - Full Access`` and ``Withdrawal API - Full access``
236- permissions in the API key settings.
239+ Requires the ``General API - Full Access`` and ``Withdrawal API - Full
240+ access`` permissions in the API key settings.
237241
238242 - https://docs.futures.kraken.com/#http-api-trading-v3-api-transfers-initiate-withdrawal-to-spot-wallet
239243
@@ -243,7 +247,8 @@ def initiate_withdrawal_to_spot_wallet(
243247 :type currency: str
244248 :param sourceWallet: The wallet to withdraw from (default: ``cash``)
245249 :type sourceWallet: str, optional
246- :raises ValueError: If this function is called within the sandbox/demo environment
250+ :raises ValueError: If this function is called within the sandbox/demo
251+ environment
247252
248253 .. code-block:: python
249254 :linenos:
0 commit comments