ADD: Comments for CME execution for later
This commit is contained in:
1 parent
30822fb1f1
commit
8604d5672c
3 files changed
+8
-4
No files matched your search
@@ -156,6 +156,8 @@ AdminServiceUtils::resolve_connection(
|
||||
const bts::api::admin::ExchangeConnection *rv = nullptr;
|
||||
switch (sec.exchange()) {
|
||||
case api::Venue::VENUE_GLBX: {
|
||||
//CME EXECUTION NEEDS TO BE UPDATED, probably merge with VENUE_BINANCE_USDS_FUTURES
|
||||
|
||||
auto deployment_type =
|
||||
boost::to_lower_copy(config::get<config::DeploymentType>().type());
|
||||
rv = resolve_cme_connection(data, account, sec);
|
||||
@@ -227,6 +229,7 @@ void AdminServiceUtils::fill_connections_from_config(
|
||||
connection.set_name(c.name());
|
||||
|
||||
switch (c.venue()) {
|
||||
//CME EXECUTION NEEDS TO BE UPDATED, probably merge default case
|
||||
case bts::api::VENUE_GLBX:
|
||||
if (c.cme_market_segment_id() == 0)
|
||||
connection.mutable_cme_connection()->mutable_cgw_connection();
|
||||
|
||||
Reference in new issue
Block a user