Closed wildbunny closed 5 months ago
thanks for the report, please see latest commit it should resolve this.
Great, thanks. I can confirm no panic with new code.... But it's returning 0 amount/entry price for BAL positions?
Great, thanks. I can confirm no panic with new code.... But it's returning 0 amount/entry price for BAL positions?
the avgEntryPrice and positionInfo endpoint is intended for perps positions only. there's some lack of information on program/smart contract side to track entry price for spot balances
What I mean is, if I have add liquidity to the drift AMM (BAL), it opens/closes perp positions continuously, but this endpoint doesn't reflect their amount/entryPrice