Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
slick::trader::RegisterEvent Struct Reference

#include <slick-trader/events/register_event.hpp>

Inheritance diagram for slick::trader::RegisterEvent:
Collaboration diagram for slick::trader::RegisterEvent:

Public Member Functions

 RegisterEvent (ComponentType ct=ComponentType::UNKNOWN)
Public Member Functions inherited from slick::trader::Event
 Event (EventType t=EventType::TRADE)
void set_instrument (std::string_view instr)

Public Attributes

ComponentType component_type
uint32_t producer_id
char shm_name [31] = {'\0'}
Public Attributes inherited from slick::trader::Event
EventType type
uint64_t timestamp_ns
uint64_t event_time_ns
BrokerId broker_id
char instrument [MAX_INSTRUMENT_LENGTH]

Detailed Description

Definition at line 19 of file register_event.hpp.

Constructor & Destructor Documentation

◆ RegisterEvent()

Member Data Documentation

◆ component_type

ComponentType slick::trader::RegisterEvent::component_type

Definition at line 20 of file register_event.hpp.

Referenced by RegisterEvent().

◆ producer_id

uint32_t slick::trader::RegisterEvent::producer_id

Definition at line 21 of file register_event.hpp.

Referenced by RegisterEvent().

◆ shm_name


The documentation for this struct was generated from the following file: