Skip to main content
Filter by pair:
Across all traders:

Parameters

On OstiumClient, user defaults to the connected trader. Pass user: 'ALL' to remove the trader filter. oid is the on-chain keeper order id formatted as a base-10 numeric string. It uses the same id space as Order.oid and the value returned by extractOrderIdFromReceipt(). leverage is the position leverage as a decimal string. Read it directly rather than deriving it from ntl / collateralUsed: both are rounded, and on a partial close ntl is only the closed slice. Net return on collateral is closedPnl / collateralUsed, which also subtracts fees; profitPercent is price PnL only. fees.oracle is the oracle fee actually charged on that order. Not every open is charged the pair’s flat oracleFee, so read it from the fill rather than assuming one. closedPnl already subtracts it. limitId (<trader>_<pairId>_<idx>) matches the limitId on getLimitOrderHistory events, so a triggered order can be traced back to when it was placed.

Response schema