Skip to content

Commit 87147c5

Browse files
author
ubuntu
committed
fix bybit market data ping
1 parent 179a662 commit 87147c5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/ccapi_cpp/service/ccapi_market_data_service_bybit.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ class MarketDataServiceBybit : public MarketDataService {
3232

3333
protected:
3434
#endif
35+
void pingOnApplicationLevel(std::shared_ptr<WsConnection> wsConnectionPtr, ErrorCode& ec) override { this->send(wsConnectionPtr, R"({"op":"ping"})", ec); }
36+
3537
std::string getInstrumentGroup(const Subscription& subscription) override {
3638
const auto& instrumentTypeSubstitute = subscription.getInstrumentType();
3739
std::string url = MarketDataService::getInstrumentGroup(subscription);

0 commit comments

Comments
 (0)