walletIdstringrequired
Wallet ID that holds the position tokens.
chainIdnumberrequired
Chain ID where the token was bought.
assetAddressstringrequired
Contract address of the asset you bought (token, conditional token, etc.).
entryCoststringrequired
BigInt: amount of quote token spent (from swap/bet result).
entryAmountstringrequired
BigInt: amount of asset received (from swap/bet result).
entryTxHashstringrequired
Transaction hash of the buy/entry.
tpMultipliernumber
Take-profit multiplier (e.g., 2.0 = sell when worth 2x entry cost).
slMultipliernumber
Stop-loss multiplier (e.g., 0.5 = sell when worth 50% of entry cost).
labelstring
Display name for the position (e.g., 'DEGEN', 'Trump YES').
quoteTokenstring
Contract address of what you paid with. Use 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE for native ETH.
assetDecimalsnumber
Token decimals (default: 18).
metadataobject
Protocol-specific data (e.g., Polymarket marketId, conditionId, outcome).
sellToTokenstring
Contract address of the token to receive on sell. Defaults to USDC.
positionTypestring
Position type. Defaults to 'dex'.