FIX 4.0 Demo 1.0
Loading...
Searching...
No Matches
simulation_app.cpp File Reference

模拟交易应用层实现 More...

#include "app/simulation_app.hpp"
#include "fix/fix_message_builder.hpp"
#include "fix/fix_tags.hpp"
#include "base/logger.hpp"
#include "storage/store.hpp"
#include <cstdlib>
#include <sstream>
#include <iomanip>
#include <set>
#include <optional>
#include <algorithm>
Include dependency graph for simulation_app.cpp:

Namespaces

namespace  fix40
 

Detailed Description

模拟交易应用层实现

集成AccountManager、PositionManager、InstrumentManager、RiskManager, 实现完整的模拟交易流程:

  1. 接收FIX订单消息
  2. 风控检查
  3. 提交撮合引擎
  4. 处理成交回报,更新账户和持仓

Variable Documentation

◆ error

std::string error

◆ order

Order order

◆ success

bool success = false