Skip to content

Commit e2cf3d7

Browse files
MapleMaple
authored andcommitted
comments edit
1 parent 0b2b2df commit e2cf3d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

include/BitfinexAPI.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ namespace BfxAPI
111111
_APIurl("https://api.bitfinex.com/v1"),
112112
_curl(curl_easy_init())
113113
{
114+
// populate _symbols directly from Bitfinex getSymbols endpoint
114115
string temp;
115116
getSymbols(temp);
116117
jsonutils::arrayToUset(_symbols, temp);
@@ -799,7 +800,7 @@ namespace BfxAPI
799800
protected:
800801

801802
//////////////////////////////////////////////////////////////////////////////
802-
// Private attributes
803+
// Protected attributes
803804
//////////////////////////////////////////////////////////////////////////////
804805

805806
unordered_set<string> _symbols; // possible symbol pairs
@@ -814,7 +815,7 @@ namespace BfxAPI
814815
CURLcode _res;
815816

816817
//////////////////////////////////////////////////////////////////////////////
817-
// Utility private methods
818+
// Utility protected methods
818819
//////////////////////////////////////////////////////////////////////////////
819820

820821
int parseWDconfParams(string &params)

0 commit comments

Comments
 (0)