Set Trade Parameters
AI-generatedSummary
Validates and packages trade settings into one output item for each input item. It performs no trade itself; the returned fields can be passed to downstream nodes.
Inputs
- Target Wallet — Optional Cardano address. Non-empty values must start with addr1, addr_test1, stake1, or stake_test1; the prefix determines the returned network as mainnet or testnet.
- Initial Amount — ADA amount for the initial purchase of the target CNT; values greater than zero are accepted, while the default 0 is returned as null.
- Amount — Trade amount in token units; values greater than zero are accepted, while the default 0 is returned as null.
- Executions — Number of sell executions, from 1 to 100; the default 1 is returned.
- Exposure — Exposure multiplier; values greater than zero are accepted, while the default 0 is returned as null.
- Target Price — Optional buy or sell target price; values greater than zero are accepted, while the default 0 is returned as null.
- Price Change — Non-negative percentage change that triggers the next buy or sell interval; the default 0 is returned as null.
- Slippage — Non-negative acceptable slippage percentage; the default 0 is returned as null.
- Bot Name — Optional common name for the bot.
Output shape
A list with one JSON item per input item.
Each item includes target_wallet, initial_amount, amount, executions, exposure, target_price, price_change, slippage, bot_name, calculated_exposure_amount, network, and timestamp. Empty strings and zero-valued settings are emitted as null; calculated_exposure_amount is amount × exposure when both are nonzero, and network is null if no wallet is provided. Invalid settings raise an error, or produce an error item with continue-on-fail enabled.
