Slick Trader
0.11.0
Multi-broker algorithmic trading engine with plugin strategies and a live web dashboard
Loading...
Searching...
No Matches
status_event.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
event.hpp
"
4
5
namespace
slick::trader
{
6
7
enum class
Status
: uint8_t {
8
STARTING
,
9
RUNNIGN
,
10
STOPING
,
11
STOPED
,
12
};
13
14
#pragma pack(push, 1)
15
struct
StatusEvent
:
public
Event
{
16
Status
status
=
Status::STOPED
;
17
18
StatusEvent
()
19
:
Event
(
EventType
::
STATUS
)
20
{}
21
};
22
#pragma pack(pop)
23
}
event.hpp
slick::trader
Definition
coinbase_broker.hpp:11
slick::trader::EventType
EventType
Definition
event.hpp:26
slick::trader::EventType::STATUS
@ STATUS
Definition
event.hpp:44
slick::trader::Status
Status
Definition
status_event.hpp:7
slick::trader::Status::STARTING
@ STARTING
Definition
status_event.hpp:8
slick::trader::Status::RUNNIGN
@ RUNNIGN
Definition
status_event.hpp:9
slick::trader::Status::STOPING
@ STOPING
Definition
status_event.hpp:10
slick::trader::Status::STOPED
@ STOPED
Definition
status_event.hpp:11
slick::trader::Event::Event
Event(EventType t=EventType::TRADE)
Definition
event.hpp:63
slick::trader::StatusEvent::status
Status status
Definition
status_event.hpp:16
slick::trader::StatusEvent::StatusEvent
StatusEvent()
Definition
status_event.hpp:18
slick-trader
events
status_event.hpp
Generated by
1.15.0