Comments (2)
@woonsangcho We tried the following main program and found that it did work. We appreciate if you could provide more information. In particular if you could help to enable logging at level CCAPI_ENABLE_LOG_TRACE, and paste the logs right before the crash. Thank you for reporting the bug and thank you for your time.
using namespace ccapi; // NOLINT(build/namespaces)
SessionOptions sessionOptions;
SessionConfigs sessionConfigs;
MyEventHandler eventHandler;
Session session(sessionOptions, sessionConfigs, &eventHandler);
std::vector<Subscription> subscriptionList;
Subscription subscription("binance", "ETHBTC", CCAPI_TRADE, "");
subscriptionList.push_back(subscription);
Subscription trade_subscription("binance-us", "ethusd", CCAPI_TRADE, "");
subscriptionList.push_back(trade_subscription);
session.subscribe(subscriptionList);
std::this_thread::sleep_for(std::chrono::seconds(10));
session.stop();
std::cout << "Bye" << std::endl;
return EXIT_SUCCESS;
}
from ccapi.
My apologies - yes, they work. I had changed some dependencies. For future issues, I will double check with traced logs. Thank you.
from ccapi.
Related Issues (20)
- build deribit with FIX error HOT 1
- example with visual HOT 4
- ModuleNotFoundError: No module named 'ccapi' HOT 1
- Cannot establish connection with api.binance.com:443 HOT 1
- comile source code example with boost_beast failed (bind_front_wrapper) HOT 1
- Missing #include <iterator>, missing move constructor, missing move-assignment operator HOT 1
- bitget subscribes to the ORDER_UPDATE channel for question HOT 3
- MARKET_DEPTH in kucoin futures question HOT 1
- A way to get a complete list of symbols on any exchange HOT 5
- no correlation Id returned by event notifying orderbook subscription with Gate.io HOT 2
- segmentation fault, wsConnectionPtr null pointer in onPongByMethod HOT 1
- confusion about postProcessMessageMarketDataEventTrade in event_handler_base.h? HOT 1
- About interface synchronization request method HOT 1
- Question HOT 4
- Reconnect after disconnection HOT 2
- few subscriptions methods fail HOT 3
- add_compile_definitions(CCAPI_LAST_PRICE="d") HOT 1
- updates the bitget API from v1 to v2
- few issues with some exchanges HOT 1
- expose setTimer to python HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ccapi.