A group of actions targeting a specific market.
Used with O2Client.batchActions. The market field accepts a symbol pair string (e.g., "fFUEL/fUSDC") which is resolved internally by the SDK.
market
"fFUEL/fUSDC"
const groups: MarketActionGroup[] = [ { market: "fFUEL/fUSDC", actions: [ settleBalanceAction(), createOrderAction("buy", "0.02", "100"), createOrderAction("sell", "0.05", "50", "PostOnly"), ], },];await client.batchActions(groups, true); Copy
const groups: MarketActionGroup[] = [ { market: "fFUEL/fUSDC", actions: [ settleBalanceAction(), createOrderAction("buy", "0.02", "100"), createOrderAction("sell", "0.05", "50", "PostOnly"), ], },];await client.batchActions(groups, true);
Actions to execute on this market (max 5 per group).
Market symbol pair (e.g., "fFUEL/fUSDC") or hex market ID.
A group of actions targeting a specific market.
Used with O2Client.batchActions. The
marketfield accepts a symbol pair string (e.g.,"fFUEL/fUSDC") which is resolved internally by the SDK.Example