Configuration parameters for the PaperTradingExecutor.
More...
#include <paper_trading_executor.h>
Configuration parameters for the PaperTradingExecutor.
◆ commissionRate()
| double crypto_trader::executors::PaperTradingExecutorConfig::commissionRate |
( |
| ) |
const |
|
inline |
Gets the commission rate.
- Returns
- The commission rate.
◆ initialBalance()
| double crypto_trader::executors::PaperTradingExecutorConfig::initialBalance |
( |
| ) |
const |
|
inline |
Gets the initial balance.
- Returns
- The initial balance.
◆ setCommissionRate()
Sets the commission rate for paper trading.
- Parameters
-
| commissionRate | The commission rate (e.g., 0.001 for 0.1%). |
- Returns
- A reference to the updated configuration object.
◆ setInitialBalance()
Sets the initial balance for paper trading.
- Parameters
-
| initialBalance | The initial balance. |
- Returns
- A reference to the updated configuration object.
The documentation for this class was generated from the following file: