ice builds with .so
This commit is contained in:
1 parent
dfcf38289f
commit
2ae5b50445
4 files changed
+10
-10
No files matched your search
@@ -20,7 +20,6 @@ using namespace bts::api;
|
||||
|
||||
namespace bts {
|
||||
namespace md {
|
||||
namespace cme {
|
||||
|
||||
string data_path() {
|
||||
auto p = config::get<config::System>().data_path() + "cme_mdp3/";
|
||||
@@ -164,5 +163,5 @@ const vector<CMEChannel> parse_channels(const vector<UserSymbol>& symbols) {
|
||||
return result;
|
||||
}
|
||||
|
||||
}}}//namespace
|
||||
}} //namespace
|
||||
#endif
|
||||
@@ -27,6 +27,7 @@ target_link_libraries( sparkd
|
||||
tbb
|
||||
onixs-cmemdh-all-4.8.0
|
||||
OnixS.IceImpactMulticastPriceFeedHandlerCpp
|
||||
ACE
|
||||
quickfix
|
||||
benchmark
|
||||
lttng-ust
|
||||
|
||||
@@ -12,6 +12,14 @@ using namespace bts::md::ice;
|
||||
namespace bts {
|
||||
namespace md {
|
||||
namespace ice {
|
||||
|
||||
template <>
|
||||
double double_of_price<onixs::Rational>(const onixs::Rational& price, int8_t display_factor)
|
||||
{
|
||||
UNUSED(display_factor);
|
||||
double dbl = price.convertTo<double>();
|
||||
return dbl;
|
||||
}
|
||||
|
||||
|
||||
ICEListener::ICEListener(ICESecurityIndex& index, MDProducer& producer, const std::vector<MDProducerChannel> channels) :
|
||||
|
||||
@@ -22,14 +22,6 @@ double double_of_price(const OnixPrice& price, int8_t display_factor)
|
||||
return dbl;
|
||||
}
|
||||
|
||||
template <>
|
||||
double double_of_price<onixs::Rational>(const onixs::Rational& price, int8_t display_factor)
|
||||
{
|
||||
UNUSED(display_factor);
|
||||
double dbl = price.convertTo<double>();
|
||||
return dbl;
|
||||
}
|
||||
|
||||
template <typename OnixsPrice>
|
||||
IntPrice convert_price(const OnixsPrice& price, int8_t display_factor)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user