@@ -103,7 +103,7 @@ class Client
103103 unsigned int stream_aggTrade (const std::string& symbol, std::string& buffer, FT& functor);
104104
105105 template <typename FT>
106- unsigned int stream_Trade (const std::string& symbol, std::string& buffer, FT& functor); // todo: only for spot
106+ unsigned int stream_Trade (const std::string& symbol, std::string& buffer, FT& functor);
107107
108108 template <typename FT>
109109 unsigned int stream_kline (const std::string& symbol, std::string& buffer, FT& functor, std::string interval = " 1h" );
@@ -127,7 +127,7 @@ class Client
127127 unsigned int stream_ticker_all_book (std::string& buffer, FT& functor);
128128
129129 template <typename FT>
130- unsigned int stream_depth_partial (const std::string& symbol, std::string& buffer, FT& functor, const unsigned int levels = 5 , const unsigned int interval = 100 ); // todo: different intervals for different fronts
130+ unsigned int stream_depth_partial (const std::string& symbol, std::string& buffer, FT& functor, const unsigned int levels = 5 , const unsigned int interval = 100 );
131131
132132 template <typename FT>
133133 unsigned int stream_depth_diff (const std::string& symbol, std::string& buffer, FT& functor, const unsigned int interval = 100 );
@@ -154,7 +154,6 @@ class Client
154154
155155 // Global requests (wallet, account etc)
156156
157- bool exchange_status ();
158157
159158 struct Wallet
160159 {
@@ -163,6 +162,7 @@ class Client
163162 explicit Wallet (const Client<T>& client);
164163 ~Wallet ();
165164
165+ bool exchange_status ();
166166 Json::Value get_all_coins (const Params* params_ptr = nullptr );
167167 Json::Value daily_snapshot (const Params* params_ptr);
168168 Json::Value fast_withdraw_switch (const bool & state);
@@ -331,8 +331,8 @@ class Client
331331 template <typename FT>
332332 unsigned int custom_stream (const std::string stream_name, std::string& buffer, FT& functor, const bool ping_listen_key = 0 );
333333
334- RestSession* _rest_client = nullptr ; // todo: move init
335- WebsocketClient<T>* _ws_client = nullptr ; // todo: move init, leave decl
334+ RestSession* _rest_client = nullptr ;
335+ WebsocketClient<T>* _ws_client = nullptr ;
336336
337337 ~Client ();
338338
@@ -353,7 +353,7 @@ class FuturesClient : public Client<FuturesClient<CT>>
353353
354354 // market data
355355
356- bool v_ping_client (); // todo: define lower levels
356+ bool v_ping_client ();
357357 unsigned long long v_exchange_time ();
358358 Json::Value v_exchange_info ();
359359 Json::Value v_order_book (const Params* params_ptr);
@@ -414,15 +414,15 @@ class FuturesClient : public Client<FuturesClient<CT>>
414414
415415 // -- unique to USDT endpoint
416416
417- Json::Value pos_adl_quantile_est (const Params* params_ptr = nullptr ); // todo: define, default param
417+ Json::Value pos_adl_quantile_est (const Params* params_ptr = nullptr );
418418
419419 // ------------------- inter-future crtp ONLY
420420
421421 // market Data
422422
423- Json::Value mark_price (const Params* params_ptr = nullptr ); // todo: define, crtp? default param
424- Json::Value public_liquidation_orders (const Params* params_ptr); // todo: define, crtp?
425- Json::Value open_interest (const Params* params_ptr); // todo: define, crtp?
423+ Json::Value mark_price (const Params* params_ptr = nullptr );
424+ Json::Value public_liquidation_orders (const Params* params_ptr);
425+ Json::Value open_interest (const Params* params_ptr);
426426
427427
428428 // note that the following four might be only for coin margined market data
0 commit comments