Closed RumiFlow closed 2 years ago
Hm the returned origin_str is all in lower case, very strange. Can you show the full pybit call please (traceroute only shows the last last close_on_trigger="False")
)
Here the full call:
resp = pad.session.place_active_order(side=side, symbol=COIN_PAIR, order_type="Limit",
qty=newQty,
price=newPrice,
time_in_force="GoodTillCancel",
reduce_only="True",
close_on_trigger="False")
I use exactly the same call for coin based perpetuals except for parameters: reduce_only="True" & close_on_trigger="False"
Please do the following params as booleans as shown, rather than strings
reduce_only=True,
close_on_trigger=False
Yep! That did the trick. Thanks!
System: macOS pybit version: 1.3.0
My code is working for for coin based perpetual contracts. Tried adapting for the ETCUSDT perpetual contract. Authentication and active order queries work fine. However, creating an order fails with an "Error sign!" exception