|
crypto_trader
Cryptocurrency Trading Bot API Documentation
|
Abstract base class defining the interface for a trading entity (Trader). More...
#include <trader.h>


Public Member Functions | |
| Trader () | |
| Constructs a Trader object. | |
| virtual | ~Trader ()=0 |
| Destructor for the Trader interface. | |
| virtual void | listen (const std::string_view &buffer)=0 |
| Processes incoming raw market data or messages from an external source. | |
| virtual void | start ()=0 |
| Starts the trading process, including connecting to data sources and initializing strategies/executors. | |
| virtual void | stop ()=0 |
| Stops the trading process, disconnecting from data sources and performing necessary cleanup. | |
Abstract base class defining the interface for a trading entity (Trader).
A Trader orchestrates the interaction between market data sources (e.g., WebSockets), trading strategies, and execution mechanisms.
| crypto_trader::protocols::Trader::Trader | ( | ) |
Constructs a Trader object.
|
pure virtual |
Destructor for the Trader interface.
|
pure virtual |
Processes incoming raw market data or messages from an external source.
| buffer | The raw data buffer containing market information. |
Implemented in crypto_trader::traders::CoinbaseTrader.
|
pure virtual |
Starts the trading process, including connecting to data sources and initializing strategies/executors.
Implemented in crypto_trader::traders::CoinbaseTrader.
|
pure virtual |
Stops the trading process, disconnecting from data sources and performing necessary cleanup.
Implemented in crypto_trader::traders::CoinbaseTrader.