BetaTrader
A HFT Eco-System
Loading...
Searching...
No Matches
Main.cpp File Reference
#include "common/Order.h"
#include "logging/Logger.h"
#include "trading_core/NewOrder.h"
#include "trading_core/TradingCore.h"
#include <chrono>
#include <iomanip>
#include <iostream>
#include <memory>
#include <numeric>
#include <random>
#include <thread>
#include <vector>
Include dependency graph for Main.cpp:

Functions

std::unique_ptr< Ordercreate_order (OrderIDGenerator *orderIdGenerator)
 
int main ()
 
void print_footer ()
 
void print_header (const std::string &title)
 
void print_metric (const std::string &label, const std::string &value, const std::string &unit="")
 
void print_section (const std::string &title)
 
void print_separator ()
 

Function Documentation

◆ create_order()

std::unique_ptr< Order > create_order ( OrderIDGenerator orderIdGenerator)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( )
Here is the call graph for this function:

◆ print_footer()

void print_footer ( )
Here is the caller graph for this function:

◆ print_header()

void print_header ( const std::string &  title)
Here is the caller graph for this function:

◆ print_metric()

void print_metric ( const std::string &  label,
const std::string &  value,
const std::string &  unit = "" 
)
Here is the caller graph for this function:

◆ print_section()

void print_section ( const std::string &  title)
Here is the caller graph for this function:

◆ print_separator()

void print_separator ( )
Here is the caller graph for this function: