PerpsOf
Ask AI
PerpsOf returns the caller's open positions, one per line, fields comma- separated: id,ticker,L|S,size,entry,margin,mark,pnl,liq,stopLoss,takeProfit,closing. Money and size are integers at 6 dp; mark/pnl/liq are computed live. Stop prices are 0 when unset; closing is the size of a close waiting for the next price.
Command
gnokey query vm/qeval -remote "https://rpc.onyx.testnets.gno.land" -data "gno.land/r/g1p8v5lkq5mqp7r8h8stcv4fgrwrx3zupvww9m85/lastcall/v4.PerpsOf()"
Result