|
BetaTrader
A HFT Eco-System
|
Renders OHLC candlestick charts using ImPlot. More...
#include <ChartPanel.h>

Public Member Functions | |
| ChartPanel () | |
| ~ChartPanel ()=default | |
| void | onCandleUpdate (int interval, const ohlc::Candle &candle) |
| void | render () |
Private Member Functions | |
| void | drawCandleChart () |
Private Attributes | |
| std::vector< ohlc::Candle > | mCandles |
| int | mInterval = 1 |
| std::mutex | mMutex |
| char | mSymbol [16] = "EURUSD" |
Renders OHLC candlestick charts using ImPlot.
| client_ui::ChartPanel::ChartPanel | ( | ) |
|
default |
|
private |


| void client_ui::ChartPanel::onCandleUpdate | ( | int | interval, |
| const ohlc::Candle & | candle | ||
| ) |

| void client_ui::ChartPanel::render | ( | ) |


|
private |
|
private |
|
mutableprivate |
|
private |