I'm following the documentation here, trying to place a LIMIT order like this.
client.place_order({"symbol":"DOGEUSD","clOrdID":"cryptomarauder1","side":Client.SIDE_BUY,"orderQty":10000,"ordType":Client.ORDER_TYPE_LIMIT,"priceEp":0.2250,"takeProfitEp":0.2500,"stopLossEp":0.2200})
But I'm getting this error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\dev\tradingview-webhook\phemex_python_api\phemex\client.py", line 91, in place_order
return self._send_request("post", "/orders", body=params)
File "C:\dev\tradingview-webhook\phemex_python_api\phemex\client.py", line 76, in _send_request
raise PhemexAPIException(response)
phemex_python_api.phemex.exceptions.PhemexAPIException: HTTP(code=200), API(errorcode=11055): TE_PRICE_TOO_SMALL
I don't think the price is too small because my orderQty is 10000 which is a big amount. I tried with different amounts but nothing worked out. I'm always getting the same error.
I'm following the documentation here, trying to place a LIMIT order like this.
client.place_order({"symbol":"DOGEUSD","clOrdID":"cryptomarauder1","side":Client.SIDE_BUY,"orderQty":10000,"ordType":Client.ORDER_TYPE_LIMIT,"priceEp":0.2250,"takeProfitEp":0.2500,"stopLossEp":0.2200})But I'm getting this error:
I don't think the price is too small because my orderQty is 10000 which is a big amount. I tried with different amounts but nothing worked out. I'm always getting the same error.