Adrian Gallagher
a0de1b78a7
Support configurable HTTP user agent per exchange
2018-08-07 13:05:13 +10:00
Adrian Gallagher
c63f1b0ff6
Port from idoall's codebase ( #161 )
...
* 修复火币Post REST API方法不正确的问题,同时增加火币海带丝交易所
* add vendor folder
* 修改命名空间依赖
* 第一次提交分支
* 增加取消订单功能
* 修复binance.GetAccount方法
* 更新readme.md
* 增加 Gateio 交易所的支持,支持获取K线、支持的交易对、交易市场参数
* 替换HuobiHadax的参数
* 买/卖订单、取消订单
* OKEX 币币交易:增加获取用户信息,下订单,取消订单
* 测试ok kline
* 修复 Bitfinex 的 GetAccountInfo 方法
* 做一些不必要的删减
* 修复binfinex不返回错误的bug
* 统一我修改交易所的Kline获取方式
* Bitfinex 增加获取最新价格
* update main.go
* 更新GetSymbol方法
* 修改火币和海带丝的Kline编号ID类型
* 修改海带丝的默认配置大小写
* okex增加获取最新价格
* 调整okex的参数判断
* 调整比特儿的参数名称
* 修改火币、火币Hadax的参数全名
* 更新海带丝的配置名称
* 修改bintfinex的GetAccountInfo方法
* 去掉一行注释
* 支持zb交易所的部分功能
* 修复获取K线时没有设置参数的错误
* 增加 Binance 取消订单的方法,获取订单状态,获取所有打开的状态以及所有订单
* 修改获取深度和历史订单的数据
* 修改币安获取深度的参数
* 修改火币获取市场深度的参数
* 修改okex获取市场深度的参数
* 修改币安、OKex获取历史订单的参数
* 修复币安提交参数错误的问题
* merge upstrem
* merge后,调整一部分命名空间
* 修改ZB时间参数的命名方式
* 继续替换命名空间
* 命名空间的替换
* 继续命名空间的替换
* 测试
* Port code from idoall's PR
* Drop errors dep
* Start amending PR
* Fix commented code
* Translate text from Chinese to English (except for ZB). The reasning behind this is that it's a Chinese exchange and the structs are self explanatory in English, but would for other developers in China
* Translate Chinese text, basic formatting changes
* Remove commented lines and address feedback on PR
2018-08-04 08:30:20 +10:00
Adrian Gallagher
4fadc6ff48
Adds support for new Huobi authorised requests and a tool for ecdsa keys
...
Fixes: https://github.com/thrasher-/gocryptotrader/issues/150
2018-07-13 15:54:31 +10:00
Frank
0478c55b45
fix huobib/binance api bug ( #129 )
2018-06-04 19:20:05 +10:00
Adrian Gallagher
ac41a7cfad
New features and bug fixes
...
- Modifications made to the request package. Planned improvements will be
sending requests on intervals, rate limiter back off support, dynamic tuning
and requests packaged into a request job group.
- Can modify each exchanges individual HTTP client (e.g timeout and
transport settings).
- Bot now uses an exchange config HTTP timeout value.
- Bot now uses a global HTTP timeout (configurable).
- Batched ticker request support for exchanges.
- Ticker and Orderbook fetching now are spanned accross multiple
go routines and regulated by a sync wait group.
- Fixes hack used to load exchanges, now uses a sync wait group.
- Ticker and Orderbook storage and fetching now uses mutex locks.
- New pair function for finding different pairs between two supplied
pair arrays. This is used for currency pair updates for exchange which
support dynamic updating.
- Shows removal/additions of dynamic updates currencies.
2018-05-04 13:20:19 +10:00
Ryan O'Hara-Reid
7fc9d20fd7
Introduce request package and integrate with exchanges
2018-03-27 14:22:52 +11:00
Adrian Gallagher
52dfddbb18
Feature: Add support to check whether an exchange supports automatic currency pair updates and if they don't, show a warning if the last currency pair update is >= 30 days
...
Also fix race condition in config get/set functions
2018-03-27 12:53:46 +11:00
Ryan O'Hara-Reid
bfdb6ba307
Fixed go vet and linter issues for Huobi exchange.
2018-02-26 13:26:40 +11:00
Adrian Gallagher
1e92cab53a
Update Huobi REST authenticated and unauthenticated requests
2018-01-30 13:11:36 +11:00
Ryan O'Hara-Reid
48d07d48dd
Added basic test and fixed basic linter issues.
2017-11-23 11:19:38 +11:00
Ryan O'Hara-Reid
79a1911c93
In the common package added JSONDecode error check. Added verbosity in SendHTTPGetRequest. Updated Nonce package function. Fixed issues in ItBit package and expanded test coverage.
2017-09-18 14:47:14 +10:00
Adrian Gallagher
913c104d09
Finish off websocket ticker demo, update config files and fix tests
2017-09-14 15:04:38 +10:00
Adrian Gallagher
4dcce85810
Default to HTTPS everywhere in project
2017-08-25 16:57:06 +10:00
Adrian Gallagher
55ea1fe434
Add generalised functions for handling exchange enabled and available currencies
2017-08-25 15:54:45 +10:00
Adrian Gallagher
4eaa9d0ec9
Prevent authenticated calls when authenticated API support is disabled
2017-08-21 13:10:57 +10:00
Adrian Gallagher
c7399ce69b
Fix various issues for goreport
2017-08-10 09:15:46 +10:00
Ryan O'Hara-Reid
de48b62731
Fixed stutter issues from exchange.go
2017-07-31 11:45:12 +10:00
Adrian Gallagher
b84a27a6a5
Add method for obtaining orderbook info
2017-04-08 02:42:18 +10:00
Adrian Gallagher
7aff04e4c6
Standardise filenames
2017-03-30 14:05:32 +11:00