Removing SIM: from Deribit security desc
This commit is contained in:
1 parent
fdc4e59d09
commit
be3daae175
3 files changed
+12
-5
No files matched your search
@@ -28,8 +28,9 @@ std::string descriptor(api::Security const &sec) {
|
||||
return sec.glbx().security_desc();
|
||||
else if (sec.has_ice())
|
||||
return sec.ice().security_desc();
|
||||
else
|
||||
return "No descriptor for non glbx / ice exchange";
|
||||
else if (sec.has_deribit())
|
||||
return sec.deribit().security_desc();
|
||||
return "No descriptor for non glbx / ice exchange";
|
||||
}
|
||||
|
||||
api::SecurityType security_type(api::Security const &sec) {
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
#include "lib/utils/bts_assert.h"
|
||||
#ifndef NO_CPP0X
|
||||
|
||||
#include "FixedSecurity.h"
|
||||
#include "../PriceSize.h"
|
||||
#include "FixedSecurity.h"
|
||||
#include <iomanip>
|
||||
|
||||
#ifdef _WIN32
|
||||
@@ -185,6 +186,10 @@ void convert_security(const FixedSecurity &source, Security *presult) {
|
||||
dest.mutable_ice()->set_mic_code(source.mic_code());
|
||||
dest.mutable_ice()->set_is_strip(source.is_ice_strip);
|
||||
break;
|
||||
// TODO: Deribit
|
||||
case Venue::VENUE_DERIBIT:
|
||||
bts_assert(false);
|
||||
break;
|
||||
case Venue::VENUE_BTS:
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user