|
Slick Trader 0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
|
#include <slick-trader/events/order_event.hpp>
Public Member Functions | |
| OrderFillEvent () | |
| void | set_fill_id (std::string_view id) |
| Public Member Functions inherited from slick::trader::OrderEvent | |
| OrderEvent (EventType t) | |
| void | set_order_id (std::string_view id) |
| 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 | |
| char | fill_id [MAX_ORDER_ID_LENGTH] |
| price_t | fill_price |
| qty_t | fill_quantity |
| qty_t | cumulative_filled |
| qty_t | remaining_quantity |
| price_t | fee_amount {0} |
| FillScope | scope {FillScope::ORDER_AND_POSITION} |
| uint64_t | journal_seq {0} |
| bool | replayed {false} |
| double | contract_multiplier {0.0} |
| Public Attributes inherited from slick::trader::OrderEvent | |
| char | order_id [MAX_ORDER_ID_LENGTH] |
| 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] |
Definition at line 126 of file order_event.hpp.
|
inline |
Definition at line 147 of file order_event.hpp.
References slick::trader::OrderEvent::OrderEvent(), contract_multiplier, cumulative_filled, fee_amount, fill_id, fill_price, fill_quantity, journal_seq, remaining_quantity, replayed, and scope.
|
inline |
Definition at line 161 of file order_event.hpp.
References fill_id, and slick::trader::MAX_ORDER_ID_LENGTH.
| double slick::trader::OrderFillEvent::contract_multiplier {0.0} |
Definition at line 145 of file order_event.hpp.
Referenced by OrderFillEvent(), and slick::trader::PositionTracker::on_fill().
| qty_t slick::trader::OrderFillEvent::cumulative_filled |
Definition at line 130 of file order_event.hpp.
Referenced by OrderFillEvent().
| price_t slick::trader::OrderFillEvent::fee_amount {0} |
Definition at line 132 of file order_event.hpp.
Referenced by OrderFillEvent(), and slick::trader::PositionTracker::on_fill().
| char slick::trader::OrderFillEvent::fill_id[MAX_ORDER_ID_LENGTH] |
Definition at line 127 of file order_event.hpp.
Referenced by OrderFillEvent(), and set_fill_id().
| price_t slick::trader::OrderFillEvent::fill_price |
Definition at line 128 of file order_event.hpp.
Referenced by OrderFillEvent(), slick::trader::PositionTracker::on_fill(), and slick::trader::StrategyBase::on_order_fill().
| qty_t slick::trader::OrderFillEvent::fill_quantity |
Definition at line 129 of file order_event.hpp.
Referenced by OrderFillEvent(), slick::trader::PositionTracker::on_fill(), and slick::trader::StrategyBase::on_order_fill().
| uint64_t slick::trader::OrderFillEvent::journal_seq {0} |
Definition at line 138 of file order_event.hpp.
Referenced by OrderFillEvent(), slick::trader::PositionTracker::fill_dispatched(), and slick::trader::FillJournal::record().
| qty_t slick::trader::OrderFillEvent::remaining_quantity |
Definition at line 131 of file order_event.hpp.
Referenced by OrderFillEvent().
| bool slick::trader::OrderFillEvent::replayed {false} |
Definition at line 141 of file order_event.hpp.
Referenced by OrderFillEvent().
| FillScope slick::trader::OrderFillEvent::scope {FillScope::ORDER_AND_POSITION} |
Definition at line 133 of file order_event.hpp.
Referenced by OrderFillEvent(), and slick::trader::StrategyBase::on_order_fill().