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
I send an order for SOL-PERP via API call /v2/orders and in the GUI (https://app.drift.trade/overview/positions) I see it popping up first as "Open Orders" and then after seconds in "Open Positions". Great!
But when I query /v2/positions I dont see any perp data for quite a while in the reponse.
Even after 5 minutes still no data in json key "perp".
Also */v2/positionInfo/0 * gives me an error "{"code": 400,"reason": "no position"}, allthough I see the position in the GUI in "Open Positions".
Can you reproduce this?
Is there another way to do a "Close all positions" API call, instead of creating a order with the data from /v2/positions?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I am very sorry, I have to reopen. I just had a brief look this morning.
It does work fine for the first order via gateway. But for all (successful) consecutive orders, /v2/positions does not show the correct perp data. It only returns the data from the first order. You have this as well?
I send an order for SOL-PERP via API call /v2/orders and in the GUI (https://app.drift.trade/overview/positions) I see it popping up first as "Open Orders" and then after seconds in "Open Positions". Great!
But when I query /v2/positions I dont see any perp data for quite a while in the reponse.
Even after 5 minutes still no data in json key "perp".
Also */v2/positionInfo/0 * gives me an error "{"code": 400,"reason": "no position"}, allthough I see the position in the GUI in "Open Positions".
Can you reproduce this?
Is there another way to do a "Close all positions" API call, instead of creating a order with the data from /v2/positions?
Thanks in advance!
The text was updated successfully, but these errors were encountered: