Get runtime configuration
spotgrid.get_configReads one runtime's trading configuration: symbol, grid geometry, risk profile, wallet allocation and fee settings. Exchange API credentials are never included in the result. buy_fee_pct and sell_fee_pct are what is CONFIGURED; when fee_mode is auto they are 0 while real fees are still being charged, so effective_buy_fee_pct and effective_sell_fee_pct give the rate actually applied to a fill and fee_source says where it comes from: manual (the configured percentage), manual_fixed (a flat USDT amount per fill), learned (measured from real exchange fills), paper_default (the simulator's rate, before any real fee has been seen) or unobserved (live, no fill measured yet — the rate is not known rather than zero). Under manual_fixed the charge is effective_buy_fee_usdt / effective_sell_fee_usdt, which is exact; the percentage is present only when a price is known to express it against, and is omitted rather than reported as zero when it is not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runtime_id | Yes | A Multi Grid runtime id from spotgrid.list_runtimes. The primary grid is the one listed with primary: true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| symbol | No | ||
| max_buys | No | ||
| grid_size | No | ||
| fee_source | No | ||
| runtime_id | Yes | ||
| live_network | No | ||
| risk_profile | No | ||
| wallet_allocation | No | ||
| credentials_present | No | ||
| effective_buy_fee_pct | No | ||
| effective_buy_fee_usdt | No | ||
| effective_sell_fee_pct | No | ||
| effective_sell_fee_usdt | No | ||
| live_credentials_present | No |