42 lines
868 B
C++
42 lines
868 B
C++
#pragma once
|
|
#include <cstdint>
|
|
|
|
#include "lib/utils/bts_export.h"
|
|
#include "lib/utils/datetime.h"
|
|
#include "lib/domain_model/SecurityKey.h"
|
|
#include "IntPrice.h"
|
|
|
|
#include "lib/md/protos/co2.pb.h"
|
|
#include "lib/domain_model/Security.pb.h"
|
|
|
|
#include <string>
|
|
|
|
namespace bts {
|
|
namespace md {
|
|
const extern char* SYNTHETIC_SYMBOL;
|
|
|
|
typedef uint32_t security_key;
|
|
const security_key invalid_security_key = 0;
|
|
|
|
// Bring in o2 types
|
|
using api::Security;
|
|
using bts::co2::Platform;
|
|
using bts::co2::TradingStatus;
|
|
using bts::co2::CoconutSecurityStatus;
|
|
using bts::api::Side;
|
|
using api::Venue;
|
|
using api::SecurityType;
|
|
|
|
SecurityType securitytype_of(const Security&);
|
|
}
|
|
|
|
namespace co2 {
|
|
std::string topic(const char* data_type, const std::string& symbol, api::SecurityType type, api::Venue exchange, Platform platform);
|
|
}
|
|
|
|
|
|
}//namespace
|
|
|
|
|
|
|