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
a5f51328d4
Improve request package and adjust bitfinex rate limiter
...
Fixes: https://github.com/thrasher-/gocryptotrader/issues/147
2018-07-17 16:24:41 +10:00
Adrian Gallagher
e789a28271
Modify bitfinex test rate limiter
2018-05-04 14:03:37 +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
caa3078d23
Fix Bitfinex TestGetSymbols
2018-03-26 12:18:19 +11:00
Ryan O'Hara-Reid
a759f83e26
Added new function on bitfinex for V2 API trade history request.
2018-02-23 16:58:53 +11:00
Adrian Gallagher
4069595f7c
Use batch requesting where possible, add new functions for various exchanges, allow auto updating currencies for certain exchanges, update tests and configs
2018-02-12 15:08:30 +11:00
Adrian Gallagher
e8f8e32609
Add/improve common string functions, currency pair handling, fix LBTC orderbook amount
2018-02-08 12:00:55 +11:00
Adrian Gallagher
ce908ee939
Use config.json by default if config file isn't encrypted
...
Fixes issue: https://github.com/thrasher-/gocryptotrader/issues/48
Allows for auto syntax highlighing in text editors/IDEs
2017-11-14 14:15:01 +11:00
Adrian Gallagher
341302e91e
Fix various tests after test branch merge
2017-08-28 13:06:00 +10:00
Ryan O'Hara-Reid
c2f12b777c
Fixed linter issues, increased test coverage and increased functionality for bitstamp
2017-08-23 16:44:50 +10:00
Ryan O'Hara-Reid
dc4144c1c2
Fixed linter issues, increased codecov, fixed general bugs for Bitfinex package
2017-08-19 13:47:19 +10:00
Ryan O'Hara-Reid
3e4fb1660d
Fixed test race conditions
2017-07-31 11:44:12 +10:00
Ryan O'Hara-Reid
745505a33e
General formatting for currency
2017-07-31 11:44:01 +10:00
Ryan O'Hara-Reid
2a6bb52ee8
added test for SendAuthHTTPRequest
2017-04-17 14:52:06 +10:00
Ryan O'Hara-Reid
ae5864a715
Added more test functionality for bitfinex.
2017-04-12 15:35:25 +10:00
Ryan O'Hara-Reid
03aca79584
Updated Non-live & live test support
2017-04-11 22:00:20 +10:00
Ryan O'Hara-Reid
3636d474d6
conform to BitfinexOrder struct types
2017-04-11 22:00:19 +10:00
Ryan O'Hara-Reid
6e2464fb58
refactor - import common.go
2017-04-11 22:00:19 +10:00
Ryan O'Hara-Reid
e7b469638e
Added test support for bitfinex
2017-04-11 22:00:19 +10:00