Fix var name

This commit is contained in:
Robert Davey 2023-05-10 10:56:14 +01:00 committed by GitHub
parent 3a7e41e177
commit 242247be47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ class FtRestClient():
"side": side,
}
if price:
params['price'] = price
data['price'] = price
return self._post("forceenter", data=data)
def forceexit(self, tradeid, ordertype=None, amount=None):