BetaTrader
A HFT Eco-System
Loading...
Searching...
No Matches
ExchangePanel.h
Go to the documentation of this file.
1#pragma once
2
4#include <string>
5#include <vector>
6
7namespace admin {
8
14public:
15 explicit ExchangePanel(ExchangeManager& manager);
17
21 void render();
22
23private:
25 int mPort = 8088;
26
27 // UI persistent states
28 bool mAutoRefresh = true;
29 float mRefreshTimer = 0.0f;
30
34};
35
36} // namespace admin
Manages the lifecycle of a local Exchange instance (TradingCore + FixServer).
Definition ExchangeManager.h:17
ImGui panel for controlling and monitoring the internal exchange state.
Definition ExchangePanel.h:13
void renderEngineSection()
Definition ExchangePanel.cpp:100
int mPort
Definition ExchangePanel.h:25
ExchangeManager & mManager
Definition ExchangePanel.h:24
bool mAutoRefresh
Definition ExchangePanel.h:28
~ExchangePanel()
Definition ExchangePanel.cpp:11
void renderSessionSection()
Definition ExchangePanel.cpp:65
void render()
Renders the exchange control dashboard.
Definition ExchangePanel.cpp:13
void renderControlSection()
Definition ExchangePanel.cpp:38
float mRefreshTimer
Definition ExchangePanel.h:29
Definition ExchangeManager.h:11