You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i am getting the error "Long position should be opened in order to use smart sell". This is the request i send to /v2/smart_trades. I am trying to create a smart trade, not a smart sell, therefore i do not get why this fails with that message. Any ideas?
Hello,
i am getting the error "Long position should be opened in order to use smart sell". This is the request i send to /v2/smart_trades. I am trying to create a smart trade, not a smart sell, therefore i do not get why this fails with that message. Any ideas?
{ "id": 0, "account_id": xyz, "pair": "USD_MATIC-PERP", "instant": false, "skip_enter_step": true, "position": { "type": "buy", "editable": false, "units": { "value": 5313.0, "value_without_commission": null, "editable": false, "type": null, "percent": null }, "price": { "value": 2.3021308874999997, "value_without_commission": null, "editable": null, "type": null, "percent": null }, "total": null, "order_type": "conditional", "status": null, "conditional": { "price": { "value": 2.3021308874999997, "value_without_commission": null, "editable": null, "type": "last", "percent": null }, "trailing": null, "order_type": "market" } }, "take_profit": { "enabled": true, "steps": [ { "id": 0, "order_type": "limit", "editable": true, "units": { "value": 5313.0, "value_without_commission": null, "editable": null, "type": null, "percent": null }, "price": { "value": 2.3687523374999997, "value_without_commission": null, "editable": null, "type": "bid", "percent": null }, "volume": 100.0, "total": 12522.5683275, "trailing": { "enabled": false, "percent": null }, "status": { "type": "order_placed", "title": "Placed" }, "data": { "cancelable": true, "panic_sell_available": true }, "position": 1 } ] }, "stop_loss": { "enabled": false, "order_type": "market", "editable": false, "price": null, "conditional": null, "timeout": null, "status": null } }
The text was updated successfully, but these errors were encountered: