#include <event_position_manager.h>
◆ EventPositionManager()
| crypto_trader::traders::EventPositionManager::EventPositionManager |
( |
| ) |
|
|
default |
◆ averageCostBasis()
| std::optional< double > crypto_trader::traders::EventPositionManager::averageCostBasis |
( |
const std::string_view & | symbol | ) |
const |
◆ clear()
| void crypto_trader::traders::EventPositionManager::clear |
( |
const std::string_view & | symbol | ) |
|
◆ clearAll()
| void crypto_trader::traders::EventPositionManager::clearAll |
( |
| ) |
|
◆ currentHoldings()
| std::optional< double > crypto_trader::traders::EventPositionManager::currentHoldings |
( |
const std::string_view & | symbol | ) |
const |
◆ loadSnapshot()
◆ realizedPnl()
| std::optional< double > crypto_trader::traders::EventPositionManager::realizedPnl |
( |
const std::string_view & | symbol | ) |
const |
◆ register_observer()
| void crypto_trader::traders::EventPositionManager::register_observer |
( |
protocols::Observer * | observer | ) |
|
◆ setEventsDb()
| void crypto_trader::traders::EventPositionManager::setEventsDb |
( |
const MEDP & | db | ) |
|
◆ submit_event()
| void crypto_trader::traders::EventPositionManager::submit_event |
( |
const common::Event & | e | ) |
|
|
virtual |
◆ unrealizedPnl()
| std::optional< double > crypto_trader::traders::EventPositionManager::unrealizedPnl |
( |
const std::string_view & | symbol, |
|
|
double | currentPrice ) const |
◆ unregister_observer()
| void crypto_trader::traders::EventPositionManager::unregister_observer |
( |
protocols::Observer * | observer | ) |
|
The documentation for this class was generated from the following files: