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

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

Inheritance diagram for slick::trader::NewOrderEvent:
Collaboration diagram for slick::trader::NewOrderEvent:

Public Member Functions

 NewOrderEvent ()
Public Member Functions inherited from slick::trader::OrderEventBase
 OrderEventBase (EventType t)
void set_client_order_id (std::string_view id)
Public Member Functions inherited from slick::trader::Event
 Event (EventType t=EventType::TRADE)
void set_instrument (std::string_view instr)

Public Attributes

OrderType order_type
price_t price
price_t stop_price
qty_t quantity
TimeInForce time_in_force
bool post_only
Public Attributes inherited from slick::trader::OrderEventBase
char client_order_id [64]
Side side
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 50 of file order_event.hpp.

Constructor & Destructor Documentation

◆ NewOrderEvent()

slick::trader::NewOrderEvent::NewOrderEvent ( )
inline

Member Data Documentation

◆ order_type

OrderType slick::trader::NewOrderEvent::order_type

◆ post_only

bool slick::trader::NewOrderEvent::post_only

◆ price

◆ quantity

◆ stop_price

price_t slick::trader::NewOrderEvent::stop_price

Definition at line 53 of file order_event.hpp.

Referenced by NewOrderEvent(), and slick::trader::reject_of().

◆ time_in_force

TimeInForce slick::trader::NewOrderEvent::time_in_force

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