Good riddance. Improper 'PlatformMap' config was often the reason market data mysteriously wouldn't show up in the client. Especially with new exchanges. We should keep all md source/connection configuration in one place (one proto message), to avoid any confusion.
22 lines
407 B
C++
22 lines
407 B
C++
#ifndef NO_CPP0X
|
|
#include "common.h"
|
|
#include "UserSymbol.h"
|
|
#include "lib/config/config.h"
|
|
|
|
#include "PriceSize.h"
|
|
#include "lib/config/protos/market_data.pb.h"
|
|
|
|
#include <limits>
|
|
#include <sstream>
|
|
#include <string>
|
|
|
|
namespace bts {
|
|
namespace md {
|
|
|
|
const double NO_PRICE = std::numeric_limits<double>().quiet_NaN();
|
|
const char *SYNTHETIC_SYMBOL = "SYNTHETIC";
|
|
|
|
} // namespace md
|
|
} // namespace bts
|
|
#endif
|