get https://testnet.zklighter.elliot.ai/api/v1/account
Get account by account's index.
More details about account index: Account Index
Response Description:
1) Status: 1 is active 0 is inactive.
2) Collateral: The amount of collateral in the account.
Position Details Description:
1) OOC: Open order count in that market.
2) Sign: 1 for Long, -1 for Short.
3) Position: The amount of position in that market.
4) Avg Entry Price: The average entry price of the position.
5) Position Value: The value of the position.
6) Unrealized PnL: The unrealized profit and loss of the position.
7) Realized PnL: The realized profit and loss of the position.