Skip to content

trading-rs/binance-cpp

Repository files navigation

Binance API Wrapper for Modern C++

Build Status

Features

  • Easy to use C++ APIs.
  • Fully armed with C++11/14 standards.
  • Abstraction of all the response data models.
  • Implementation of all the up-to-date endpoints.
  • Detailed examples to demonstrate how to use this library.

Getting Started

Prerequisite

./script/pre-install.sh

Setup Environment Variables (optional)

export BINANCE_API_KEY="<api_key>"
export BINANCE_API_SECRET="<secret_key>"

Build

./script/build.sh

Test

./script/build.sh
./script/test.sh

Run Examples

./build/binance_example
./build/depth_cache_example

Documentation

API DOCUMENTATION

Examples

  • example.cc
  • depth_cache_example.cc

Use this project as library

binance-cpp-example