exportBotTrades
Every closed trade of a bot as a CSV file, oldest close first.
exportBotTrades(
botId: ID!
): TradeExport!
Arguments
exportBotTrades.botId ● ID! non-null scalar
Type
TradeExport object
A bot's closed trades rendered as RFC 4180 CSV (UTF-8, header row first). Columns: trade_id, pair, side, open_date_utc, close_date_utc, amount, open_rate, close_rate, stake_amount, fee_abs, profit_abs, profit_pct, exit_reason, strategy, timeframe, mode. Times are UTC RFC 3339; numbers use '.' and no grouping; a dry-run bot's rows carry mode=dry_run (simulated, not taxable). Open trades are excluded because their profit is not realised.