All Projects → thebotguys → Golang Bittrex Api

thebotguys / Golang Bittrex Api

Licence: apache-2.0
This repository is a golang porting of v2.0 Bittrex API

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Labels

Projects that are alternatives of or similar to Golang Bittrex Api

BittrexRx
BittrexRx is a rxjs node wrapper for the Bittrex Api
Stars: ✭ 16 (-86.09%)
Mutual labels:  bittrex
Golang Crypto Trading Bot
A golang implementation of a console-based trading bot for cryptocurrency exchanges
Stars: ✭ 475 (+313.04%)
Mutual labels:  bittrex
Mcafee Bot
buy coins based on @officialmcafee tweets
Stars: ✭ 61 (-46.96%)
Mutual labels:  bittrex
BitView
A crypto portfolio written in Flutter. It supports Binance, Bittrex, HitBTC, Coinbase, Coinbase Pro and Mercatox
Stars: ✭ 50 (-56.52%)
Mutual labels:  bittrex
java-bittrex
Java wrapper for the Bittrex API
Stars: ✭ 24 (-79.13%)
Mutual labels:  bittrex
Python Bittrex
Python bindings for bittrex
Stars: ✭ 601 (+422.61%)
Mutual labels:  bittrex
python-bittrex-websocket-aio
Python websocket for Bittrex (async).
Stars: ✭ 35 (-69.57%)
Mutual labels:  bittrex
Python Bittrex Websocket
Python websocket for Bittrex (non async).
Stars: ✭ 104 (-9.57%)
Mutual labels:  bittrex
Crypto Exchanges Gateway
Your gateway to the world of crypto !
Stars: ✭ 343 (+198.26%)
Mutual labels:  bittrex
Bittrex Signalr Client
Node.js implementation of SignalR protocol tailored for Bittrex exchange
Stars: ✭ 37 (-67.83%)
Mutual labels:  bittrex
coinaly
🚀 Fast and easy to use mobile trade interface for cryptocurrencies. Track your trades to the moon and beyond. Currently only for Bittrex.
Stars: ✭ 32 (-72.17%)
Mutual labels:  bittrex
Bittrex.Api.Client
A C# http client wrapper for the Bittrex cryptocurrency trading platform api
Stars: ✭ 14 (-87.83%)
Mutual labels:  bittrex
Cryptofeed
Cryptocurrency Exchange Websocket Data Feed Handler
Stars: ✭ 643 (+459.13%)
Mutual labels:  bittrex
trader
a ping pong and maker/taker order bot for trading cryptocurrency on Waves Exchange, Poloniex, Bittrex, and Binance
Stars: ✭ 23 (-80%)
Mutual labels:  bittrex
Crypto Coin Alerts
An application that let you set alerts for the prices of several cryptocurrencies
Stars: ✭ 72 (-37.39%)
Mutual labels:  bittrex
Welcome
Welcome to PTDefender
Stars: ✭ 27 (-76.52%)
Mutual labels:  bittrex
Exchangesharp
ExchangeSharp is a powerful, fast and easy to use .NET/C# API for interfacing with many crypto currency exchanges. REST and web sockets are supported.
Stars: ✭ 489 (+325.22%)
Mutual labels:  bittrex
Crypto vba
An Excel/VBA project to communicate with various cryptocurrency exchanges APIs
Stars: ✭ 103 (-10.43%)
Mutual labels:  bittrex
Cryptotik
deprecated
Stars: ✭ 78 (-32.17%)
Mutual labels:  bittrex
Trading Indicator
provide trading technical indicator values based on data of almost crypto currency exchanges
Stars: ✭ 31 (-73.04%)
Mutual labels:  bittrex

= THIS PROJECT IS NOW ARCHIVED

You can use link:https://github.com/toorop/go-bittrex[toorop/go-bittrex library] to connect to Bittrex API.

= golang-bittrex-api The Bot Guy [email protected]

image:https://travis-ci.org/thebotguys/golang-bittrex-api.svg?branch=master["Build Status", link="https://travis-ci.org/thebotguys/golang-bittrex-api"]

This wrapper will allow to connect to Bittrex API (version 2.0)

== Getting the package

[source, bash]

$ go get github.com/thebotguys/golang-bittrex-api/bittrex

== Calling the API functions For Public API is simple: [source, go]

result, err := bittrex.APIFuncDesired(parameters) if err != nil { // Handle error } // For example marketSummaries, err := bittrex.GetMarketSummary("BTC-ETH") if err != nil { fmt.Println("ERROR OCCURRED: ", err) }

For Private API is almost equally simple, you have to provide an auth struct with your keys: [source, go]

auth := bittrex.Auth{ PublicKey: "YOUR-PUBLIC-KEY", SecretKey: "YOUR-SECRET-KEY", } result, err := bittrex.PrivateAPIFuncDesired(auth, parameters) if err != nil { // Handle error } // For example balances, err := bittrex.GetBalance(auth, "BTC") if err != nil { fmt.Println("ERROR OCCURRED: ", err) }

You are strongly advised to check if the API is online at the start of your program, with the following code: [source, go]

err := bittrex.IsAPIAlive() if err != nil { fmt.Println("CANNOT REACH BITTREX API SERVERS: ", err) }

If you are VERY HARDCORE you can use an Options struct to handle all connections parameters, like Connection Timeout: [source, go]

// Currently this feature is not implemented marketSummaries, err := bittrex.GetMarketSummariesWithOpts(&bittrex.Options{ ConnTimeout: time.Second * 30, }) if err != nil { fmt.Println("ERROR OCCURRED: ", err) }

Check out the tests (like link:https://github.com/thebotguys/golang-bittrex-api/blob/master/bittrex/public_test.go[this] one) for an example of usage, but most of the times it will be as simple as the code above.

== API Limits The API limits are unknown at the moment but there is an important note, came from resolving a test error:

Due to the Bittrex anti DDoS System (Cloudflare) it's not possible to perform more than one request per second (otherwise it will be cached, resulting in error like the one described in link:https://github.com/thebotguys/golang-bittrex-api/issues/18[`Issue #18`])

I publicly thank link:https://github.com/mastrolinux[*@mastrolinux*], which helped me in the discovery process of this (let's call it) bug.

== Socket API Work in progress

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].