FIX 4.0 Demo 1.0
Loading...
Searching...
No Matches
client_state.hpp File Reference

客户端状态管理 More...

#include <string>
#include <vector>
#include <mutex>
#include <atomic>
#include <functional>
#include <unordered_map>
#include <filesystem>
#include <chrono>
Include dependency graph for client_state.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fix40::client::AccountInfo
 账户信息 More...
 
struct  fix40::client::PositionInfo
 持仓信息 More...
 
struct  fix40::client::OrderInfo
 订单信息 More...
 
class  fix40::client::ClientState
 客户端状态管理器 More...
 

Namespaces

namespace  fix40
 
namespace  fix40::client
 

Enumerations

enum class  fix40::client::ConnectionState {
  fix40::client::DISCONNECTED , fix40::client::CONNECTING , fix40::client::CONNECTED , fix40::client::LOGGING_IN ,
  fix40::client::LOGGED_IN , fix40::client::ERROR
}
 连接状态 More...
 
enum class  fix40::client::OrderState {
  fix40::client::PENDING_NEW , fix40::client::NEW , fix40::client::PARTIALLY_FILLED , fix40::client::FILLED ,
  fix40::client::CANCELED , fix40::client::REJECTED
}
 订单状态 More...
 

Detailed Description

客户端状态管理

管理客户端的账户、持仓、订单等状态数据。 线程安全,支持从 FIX 回调更新和 TUI 读取。