Comments (3)
I'm trying to implement the getting of account positions via rest, but i can't find the 'convertReq' function to modify like it says in the description of the issue inside the file 'ccapi_exeuction_management_service.h'. Also i'm guessing this issue doesn't cover implementing the response and requests for each individual exchange, but should rather facilitate a generic implemention, right?
from ccapi.
@BroBan The problem description "Getting account positions of derivatives via rest api is important", so are you implementing it for a derivative exchange (or an exchange with derivative products)? If you are looking at a spot exchange, then perhaps you are looking for #83 (here I used the terminology of "position" to indicate holding either a long or a short side of a contract, and "balance" to indicate holding some amount of a cryptocurrency or fiat currency). Let me modify the issue details, it was intended for implementing a concrete exchange, but apparent I didn't do a wonderful job in the detailed description...I have updated descriptions, sorry for the confusion.
from ccapi.
This can be helpful: https://github.com/crypto-chassis/ccapi/blob/26151970d74dd27177b167834a604071eeb22d2c/include/ccapi_cpp/service/ccapi_execution_management_service_coinbase.h
from ccapi.
Related Issues (20)
- 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
- I am facing this issue while using code 1
- Binance Websocket API
- random crash from ccapi_session
- support POSITION_UPDATE and POSITION_UPDATE in okx HOT 3
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.