Switching Cryptocurrency Trading Pairs While a Bot Runs
Summary
This tutorial shows how to change the active cryptocurrency pair during a running trading program. It states that exchanges generally support runtime pair changes, with an exception for Huobi ETH because it uses a separate API address, and notes that the latest hosted program is required. A pair change affects all subsequent trading functions.
The example uses an interactive control to receive a command, execute the requested pair-switch operation, and then log the current currency and market bars. The walkthrough demonstrates changing from BTC to LTC and observing different market data afterward. It explains the interaction flow but does not provide order-management safeguards, discuss positions held on the previous pair, or report a systematic test across exchanges. The example is therefore about platform operation rather than a trading signal or strategy.
Key ideas
- A running program can change its active trading pair through the exchange interface.
- The pair change affects all trading functions after it is applied.
- The example receives commands through an interactive control and logs the selected currency and market bars.
- The tutorial notes an exchange-specific exception and a requirement for an updated hosted program.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.