ATS
An algorithmic trading system completely written in C++
Classes | Namespaces
BinanceExchangeManager.h File Reference

This class is responsible for managing orders and interacting with the Binance exchange API. This class implements the ExchangeManager interface and provides functionality to send, modify, and cancel orders, as well as get the status of open orders, get the trade history, and get the current price of a symbol. It also provides a method to get the user's account information from the Binance API. More...

#include "ExchangeManager.h"
#include "thread"
#include "binance.h"
#include "json/json.h"
#include "binance_logger.h"

Go to the source code of this file.

Classes

class  ats::BinanceExchangeManager
 The BinanceExchangeManager class is a class that defines the interface for managing orders on the Binance exchange. More...
 

Namespaces

 ats
 Namespace for the algorithmic trading system.
 

Detailed Description

This class is responsible for managing orders and interacting with the Binance exchange API. This class implements the ExchangeManager interface and provides functionality to send, modify, and cancel orders, as well as get the status of open orders, get the trade history, and get the current price of a symbol. It also provides a method to get the user's account information from the Binance API.

Author
Anouar Achghaf
Date
24/02/2023
Note
This class requires an active Binance API key and secret key to function properly, it is assumed that the spot keys reside in $HOME/.binance/key and $HOME/.binance/secret and that the spot testnet keys are in $HOME/.binance/test_key and $HOME/.binance/test_secret