Surge Manifests
Building Atomic Transactions with Radix
How user requests are handled
Requesting a MarginOrder Trade
CALL_METHOD
Address("{EXCHANGE_COMPONENT}") <- Exchange component
"margin_order_tp_sl_request"
Enum<0u8>() <- Fee oath (not enabled yet)
{DELAY}u64 <- Delay
{EXPIRY}u64 <- Expiry
Address("{TRADING_ACCOUNT}") <- Trading account
"{PAIR}" <- Pair
Decimal("{AMOUNT}") <- Amount
false <- Reduce only
Enum<0u8>() <- Price limit
Enum<0u8>() <- Slippage limit
Enum<0u8>() <- Take profit
Enum<0u8>() <- Stop loss
;Exchange
Delay
Expiry
Trading Account
Pair
Amount
Reduce Only
Price Limit
Slippage Limit
Take Profit
Stop Loss
Last updated