diff --git a/src/server/sparkd/md/okx/OkxInstrumentStore.cpp b/src/server/sparkd/md/okx/OkxInstrumentStore.cpp index f883c615a..977f3cfb0 100644 --- a/src/server/sparkd/md/okx/OkxInstrumentStore.cpp +++ b/src/server/sparkd/md/okx/OkxInstrumentStore.cpp @@ -53,7 +53,7 @@ static void instrument_to_sec(const OkxInstrument &oi, Security &sec) { case bts::md::okx::OkxInstrumentType::SWAP:{ auto &fut = sec.security.emplace(); core::TimeStamp::from_ymd(3000, 1, 1,&fut.expiration); - if(oi.instId.find("USDT")!=std::string::npos){ + if(oi.instId.find("USDT")!=std::string::npos || oi.instId.find("USDC")!=std::string::npos){ sec.security_common.symbol = oi.instId.substr(0,oi.instId.find_first_of("-")); break; }