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

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

Inheritance diagram for slick::trader::Event:
Collaboration diagram for slick::trader::Event:

Public Member Functions

 Event (EventType t=EventType::TRADE)
void set_instrument (std::string_view instr)

Public Attributes

EventType type
uint64_t timestamp_ns
uint64_t event_time_ns
BrokerId broker_id
char instrument [MAX_INSTRUMENT_LENGTH]

Detailed Description

Definition at line 56 of file event.hpp.

Constructor & Destructor Documentation

◆ Event()

Member Function Documentation

◆ set_instrument()

Member Data Documentation

◆ broker_id

◆ event_time_ns

uint64_t slick::trader::Event::event_time_ns

◆ instrument

◆ timestamp_ns

◆ type

EventType slick::trader::Event::type

Definition at line 57 of file event.hpp.

Referenced by Event(), and slick::trader::StrategyManager::process_event().


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