- Detect when balance is low (.53) but no positions active - This commonly occurs after position closure before profit settlement - Add _meta field to API response indicating settlement pending status - Provide explanatory note for debugging and user understanding - Backend now correctly shows 0 positions and flags settlement delay Note: Drift UI shows 16.71 but account data shows .53, likely due to settlement lag between position closure and balance update on blockchain.
5.7 KiB
5.7 KiB