JayBeams
0.1
Another project to have fun coding.
jb
itch5
process_iostream.hpp
Go to the documentation of this file.
1
#ifndef jb_itch5_process_iostream_hpp
2
#define jb_itch5_process_iostream_hpp
3
4
#include <
jb/itch5/process_iostream_mlist.hpp
>
5
6
#include <
jb/itch5/add_order_message.hpp
>
7
#include <
jb/itch5/add_order_mpid_message.hpp
>
8
#include <
jb/itch5/broken_trade_message.hpp
>
9
#include <
jb/itch5/cross_trade_message.hpp
>
10
#include <
jb/itch5/ipo_quoting_period_update_message.hpp
>
11
#include <
jb/itch5/market_participant_position_message.hpp
>
12
#include <
jb/itch5/mwcb_breach_message.hpp
>
13
#include <
jb/itch5/mwcb_decline_level_message.hpp
>
14
#include <
jb/itch5/net_order_imbalance_indicator_message.hpp
>
15
#include <
jb/itch5/order_cancel_message.hpp
>
16
#include <
jb/itch5/order_delete_message.hpp
>
17
#include <
jb/itch5/order_executed_message.hpp
>
18
#include <
jb/itch5/order_executed_price_message.hpp
>
19
#include <
jb/itch5/order_replace_message.hpp
>
20
#include <
jb/itch5/reg_sho_restriction_message.hpp
>
21
#include <
jb/itch5/stock_directory_message.hpp
>
22
#include <
jb/itch5/stock_trading_action_message.hpp
>
23
#include <
jb/itch5/system_event_message.hpp
>
24
#include <
jb/itch5/trade_message.hpp
>
25
#include <
jb/itch5/unknown_message.hpp
>
26
27
namespace
jb
{
28
namespace
itch5 {
29
30
#define KNOWN_ITCH5_MESSAGES \
31
jb::itch5::add_order_message, jb::itch5::add_order_mpid_message, \
32
jb::itch5::broken_trade_message, jb::itch5::cross_trade_message, \
33
jb::itch5::ipo_quoting_period_update_message, \
34
jb::itch5::market_participant_position_message, \
35
jb::itch5::mwcb_breach_message, jb::itch5::mwcb_decline_level_message, \
36
jb::itch5::net_order_imbalance_indicator_message, \
37
jb::itch5::order_cancel_message, jb::itch5::order_delete_message, \
38
jb::itch5::order_executed_message, \
39
jb::itch5::order_executed_price_message, \
40
jb::itch5::order_replace_message, \
41
jb::itch5::reg_sho_restriction_message, \
42
jb::itch5::stock_directory_message, \
43
jb::itch5::stock_trading_action_message, \
44
jb::itch5::system_event_message, jb::itch5::trade_message
45
46
/**
47
* Process an iostream of ITCH-5.0 messages.
48
*
49
* This is just a wrapper around jb::itch5::process_iostream_mlist()
50
* using all the messages in ITCH-5.0 as the allowed message list.
51
*
52
* Please see @ref jb::itch5::message_handler_concept for a detailed
53
* description of the message_handler requirements.
54
*/
55
template
<
typename
message_handler>
56
void
process_iostream
(std::istream& in, message_handler& handler) {
57
process_iostream_mlist<message_handler, KNOWN_ITCH5_MESSAGES>(in, handler);
58
}
59
60
#undef KNOWN_ITCH5_MESSAGES
61
62
}
// namespace itch5
63
}
// namespace jb
64
65
#endif // jb_itch5_process_iostream_hpp
order_executed_price_message.hpp
add_order_message.hpp
ipo_quoting_period_update_message.hpp
mwcb_breach_message.hpp
cross_trade_message.hpp
unknown_message.hpp
process_iostream_mlist.hpp
jb::itch5::process_iostream
void process_iostream(std::istream &in, message_handler &handler)
Process an iostream of ITCH-5.0 messages.
Definition:
process_iostream.hpp:56
stock_directory_message.hpp
system_event_message.hpp
broken_trade_message.hpp
order_replace_message.hpp
stock_trading_action_message.hpp
reg_sho_restriction_message.hpp
order_executed_message.hpp
mwcb_decline_level_message.hpp
order_cancel_message.hpp
order_delete_message.hpp
trade_message.hpp
market_participant_position_message.hpp
net_order_imbalance_indicator_message.hpp
add_order_mpid_message.hpp
jb
The top-level namespace for the JayBeams library.
Definition:
as_hhmmss.hpp:7
Generated by
1.8.13