Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

binance

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Scripts/binance

Scripts to access the Binance API providing command line support for placing buy/sell trade orders, retrieving ticker or average prices for trading pairs, and retrieving open orders for a trading pair.

Setup

- Create an API Key on binance.com
- Copy the newly created key and secret
- Create the file $HOME/.binance with entries in the form:
    KEY="your-newly-created-key"
    SEC="your-newly-generated-secret"

Contents

BinanceOrder - Place buy and sell orders on Binance

GetAvgPrice - Retrieve the average price for a specified trading pair

GetTickerPrice - Retrieve the ticker price for a specified trading pair

GetTime - Get the Binance server time

TestConn - Test the Binance API connection