ruff formetting

This commit is contained in:
froggleston 2024-05-29 14:59:32 +01:00
parent 3da18c3443
commit 8dc70d15db
No known key found for this signature in database
GPG Key ID: 06E6FE993078C22E

View File

@ -312,10 +312,16 @@ class FtRestClient:
data = {"pair": pair, "price": price}
return self._post("forcebuy", data=data)
def forceenter(self, pair, side,
price=None, order_type=None,
stake_amount=None, leverage=None,
enter_tag=None):
def forceenter(
self,
pair,
side,
price=None,
order_type=None,
stake_amount=None,
leverage=None,
enter_tag=None,
):
"""Force entering a trade
:param pair: Pair to buy (ETH/BTC)