This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Description
The goal of this task is to add more examples for the xapi-cpp methods, covering both request/response and streaming scenarios.
Please see the examples in this folder: examples
Each new example should be placed in its own file, and the corresponding CMake configuration should be updated. Comments should be added to explain any non-obvious code sections.
I believe the following API calls would benefit from having examples:
-
XapiClientStream
- getTickPrices()
- getTrades()
-
XapiClient
- getChartLastRequest()
- getChartRangeRequest()
- getProfitCalculation()
- getTickPrices()
- getTradesHistory()