Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Market order returns error on the RS side: 'The price parameter cannot be empty.' #6

Open
dservais opened this issue Jan 18, 2022 · 0 comments

Comments

@dservais
Copy link

Hello, I'm trying to use your SDK I'm raising this error:

order = trade.create_market_order('BTCUSDTPERP','buy',1,1)
File "C:\Users\Papa\AppData\Local\Programs\Python\Python310\lib\site-packages\polofutures\rest\trade.py", line 197, in create_market_order return self._request('POST', '/api/v1/orders', params, True)
File "C:\Users\Papa\AppData\Local\Programs\Python\Python310\lib\site-packages\polofutures\rest\core.py", line 83, in __call__raise RuntimeError(payload)
RuntimeError: {'code': '100001', 'msg': 'The price parameter cannot be empty.'}

Best regards

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant