Skip to content

Commit

Permalink
Merge pull request #9 from HuobiRDCenter/dev-version
Browse files Browse the repository at this point in the history
modify host
  • Loading branch information
devin-y authored Sep 18, 2019
2 parents c66060d + e995660 commit 7d00357
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/RestApiImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,15 @@ namespace Huobi {
class RestApiImpl {
private:

std::string TradingUrl = "https://api.huobi.so";
std::string TradingUrl = "https://api.huobi.pro";
std::string MarketQueryUrl = "https://api.huobi.pro:443";

std::string subscriptionMarketUrl = "wss://api.huobi.pro:443/ws";
std::string subscriptionTradingUrl = "wss://api.huobi.pro/ws/v1";
std::string accessKey;
std::string secretKey;
std::string host = "api.huobi.so";
// std::string host = "api.huobi.br.com";
std::string host = "api.huobi.pro";

public:

RestApiImpl() {
Expand Down
3 changes: 1 addition & 2 deletions src/SubscriptionClientImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ namespace Huobi {
WebSocketApiImpl *impl;
std::list<WebSocketConnection*> connectionList;
SubscriptionOptions op;
// std::string host = "api.huobi.pro";
std::string host = "api.huobi.so";
std::string host = "api.huobi.pro";
WebSocketWatchDog* dog;

public:
Expand Down

0 comments on commit 7d00357

Please sign in to comment.