You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the CBP.hpp inside of include/Interface is blank after copying methods from the old implementation. The goal is for it to be more akin to the TDA.hpp in the same folder.
This means using a Client class that handles the API requests using curl and Boost.Beast for HTTP/TLS and WebSocket connections respectively, as well as using a Parser class that sorts the json data into an object the program can later use. This is a very general feature/issue so it can be expanded on based on the demands of the Coinbase API.
This feature would require editing the following files
include/Interface/CBP.hpp
src/Services/CoinbasePro/Client.cpp
src/Services/CoinbasePro/Parser.cpp
Since I started this project, Coinbase actually merged their API into one for Exchange/Cloud so the specification of "Pro" isn't super necessary but I believe there's still a distinction in which account you access based on the endpoint URL (though I could be wrong as this code hasn't been ran/tested in months)
To test your code you can go to tests/ServiceTestSuite/CBP.cpp and invoke any of the objects besides the actual static interface header. That should be used merely as a means of calling client/parser/socket code.
Currently, the CBP.hpp inside of include/Interface is blank after copying methods from the old implementation. The goal is for it to be more akin to the TDA.hpp in the same folder.
This means using a Client class that handles the API requests using curl and Boost.Beast for HTTP/TLS and WebSocket connections respectively, as well as using a Parser class that sorts the json data into an object the program can later use. This is a very general feature/issue so it can be expanded on based on the demands of the Coinbase API.
This feature would require editing the following files
Since I started this project, Coinbase actually merged their API into one for Exchange/Cloud so the specification of "Pro" isn't super necessary but I believe there's still a distinction in which account you access based on the endpoint URL (though I could be wrong as this code hasn't been ran/tested in months)
To test your code you can go to tests/ServiceTestSuite/CBP.cpp and invoke any of the objects besides the actual static interface header. That should be used merely as a means of calling client/parser/socket code.
You can find information about the https://docs.cloud.coinbase.com/exchange/docs
The text was updated successfully, but these errors were encountered: