Skip to content

ms0g/bittrex-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bittrex-cpp

Build Status

Bittrex C++ API Client Library

WARNING: Market buy/sells are extremely dangerous.You are at your own risk.

Prerequisites

Building

cd build
./builder.sh

Installation

sudo make install

Run Tests

make test

Usage

#include <iostream>
#include <libbittrex/client.h>

int main(){
    std::string key="xxxxx";
    std::string secret="xxxxx";
    
    bittrex::Client btxcli(key,secret);
    auto markets =  btxcli.public_api().get_markets();

    std::cout << markets.at(0).market_name << std::endl;
}
>> BTC-LTC