We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API.sign_request() takes from 3 to 4 positional arguments but 5 were given
The text was updated successfully, but these errors were encountered:
need to change the source code.
/binance/um_futures/account.py
def new_batch_order(self, batchOrders: list): params = {"batchOrders": batchOrders} url_path = "/fapi/v1/batchOrders" return self.sign_request("POST", url_path, params)
import json from binance.um_futures import UMFutures import constant if __name__ == '__main__': um_futures_client = UMFutures(key=constant.BINANCE_KEY, secret=constant.BINANCE_SECRET, base_url=constant.BINANCE_BASE_URL, proxies=constant.PROXY) params = [ { "symbol": "ETHUSDT", "side": "BUY", "type": "MARKET", "quantity": "0.01", }, ] resp = um_futures_client.new_batch_order(json.dumps(params)) print(resp)
Sorry, something went wrong.
No branches or pull requests
API.sign_request() takes from 3 to 4 positional arguments but 5 were given
The text was updated successfully, but these errors were encountered: