将以下python代码改写成C++版本不包含binance的头文件:#!usrbinenv pythonimport loggingfrom binanceum_futures import UMFuturesfrom binancelibutils import config_loggingfrom binanceerror import ClientErrorconfig_logginglog
#include
using namespace std;
int main() { config_logging(logging, logging.DEBUG);
// HMAC authentication with API key and secret
string key = "";
string secret = "";
UMFutures hmac_client(key, secret);
logging.info(hmac_client.account(recvWindow=6000));
return 0;
}
原文地址: https://www.cveoy.top/t/topic/cxVj 著作权归作者所有。请勿转载和采集!