BetaTrader
A HFT Eco-System
Loading...
Searching...
No Matches
TradingPanel.h
Go to the documentation of this file.
1#pragma once
2
4#include <string>
5#include <memory>
6
7namespace client_ui {
8
10 public:
12 ~TradingPanel() = default;
13
14 void render(std::shared_ptr<fix_client::FixClientSession>& session);
15
16 private:
17 char mSymbol[16] = "EURUSD";
18 double mPrice = 1.0850;
19 int mQuantity = 100;
20 char mOrdType = '2'; // Limit
21 char mTif = '0'; // Day
22 };
23
24} // namespace client_ui
Manages the FIX client-side TCP connection and protocol state machine.
Definition TradingPanel.h:9
TradingPanel()
Definition TradingPanel.cpp:6
void render(std::shared_ptr< fix_client::FixClientSession > &session)
Definition TradingPanel.cpp:8
char mOrdType
Definition TradingPanel.h:20
char mSymbol[16]
Definition TradingPanel.h:17
int mQuantity
Definition TradingPanel.h:19
char mTif
Definition TradingPanel.h:21
double mPrice
Definition TradingPanel.h:18
Definition ChartPanel.h:8