Commit Graph

191 Commits

Author SHA1 Message Date
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
Adrian Gallagher
e5b3ce8de8 Use WebsocketEvent in ws client and add timestamp to Tickers
Fixes https://github.com/thrasher-/gocryptotrader/issues/137
2018-07-13 11:20:29 +10:00
Adrian Gallagher
69acf88a7b Fix race condition in request 2018-07-13 11:19:11 +10:00
Adrian Gallagher
b062fd2907 Bithumb replace deprecated API to new one 2018-07-12 12:50:46 +10:00
Adrian Gallagher
4f8e74f6dc Improve Bithumb API error handling 2018-07-12 12:25:43 +10:00
Ryan O'Hara-Reid
ed675bde30 Add bank details support 2018-07-12 12:25:07 +10:00
Adrian Gallagher
7a9f05c8fe Skip BTCC tests as REST API is not available after infrastructure update 2018-07-11 10:45:22 +10:00
Adrian Gallagher
42d458d5ea Rename GDAX -> CoinbasePro 2018-07-11 10:42:37 +10:00
Marco Franssen
f920298d1a Fixed some typos in binance types and updated binance trading symbols in config example (#148)
* Added marcofranssen to contributors

* Added missing doc for binance type Response

* Fixed some typos in binance_types and aligned the doc blocks

* Updated binance trading pairs in config_example.json

* Enable all USDT trading pairs in example config for binance exchange
2018-07-10 11:48:31 +10:00
Ryan O'Hara-Reid
0a8d8454b5 Fixed issues with liqui GetTicker function. Added tests. Increased Unauth request limit. (#144) 2018-06-27 14:30:22 +10:00
Adrian Gallagher
9b2ac9a6dc Bump last checked available currencies timestamp and expand automatic updating of available currencies for various exchanges 2018-06-15 15:56:01 +10:00
Ermal Guni
e68b7d7e0e bitstamp support for all enabled pairs in the config (#136) 2018-06-12 08:25:23 +10:00
Ermal Guni
f100872340 bitfinex websocket trade fix (#133)
* bitfinex trades websocket fix
2018-06-11 16:30:10 +10:00
Ryan O'Hara-Reid
bf885cddc0 Fixed bug in Binance GetOrderbook. 2018-06-11 11:49:40 +10:00
Ryan O'Hara-Reid
58051b89c7 New package provider for foreign exchange rates.
Fixes issue: https://github.com/thrasher-/gocryptotrader/issues/131
Supersedes: https://github.com/thrasher-/gocryptotrader/pull/123
2018-06-06 21:05:17 +10:00
Frank
0478c55b45 fix huobib/binance api bug (#129) 2018-06-04 19:20:05 +10:00
Ryan O'Hara-Reid
02dbab03ce Added new initial functions for bot/exchange interface. (#120) 2018-05-30 13:49:58 +10:00
Ryan O'Hara-Reid
dc11f87b8b Updated README template files and regenerated documentation. (#125) 2018-05-14 10:03:17 +10:00
Adrian Gallagher
1a473fb59c GDAX: Remove unused variable and adjust gdax unauth rate limiter value 2018-05-04 14:27:05 +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
2f3b10edcc Fix number conversion for BTCMarkets (#121) 2018-05-01 15:10:36 +10:00
Adrian Gallagher
2309e8ce60 Fix OKEX match_price logic
Fixes https://github.com/thrasher-/gocryptotrader/issues/116
2018-04-30 17:24:28 +10:00
Kavan McEachern
33398316ef Fix test to use GDAX config from testdata (#117) 2018-04-30 17:14:16 +10:00
Ryan O'Hara-Reid
ea1ef4d0d0 Update to test handling of async fetching through request handler package. (#114)
* Migrated localbitcoins package to request handler.

* Added interim update to routines.go for async fetching of ticker and orderbook.
2018-04-03 09:04:14 +10:00
Adrian Gallagher
c7774708cd Request: Add additional method support for auth/unauth requests 2018-03-29 15:46:47 +11:00
Ryan O'Hara-Reid
5f25fd8be7 Quick bug fix (#112)
* Added verbosity to returned error in currency.go

* Fixed bug with request handler init in okcoin.
2018-03-27 17:31:46 +11: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
Poodle
2d0cb20c69 fix for type assertion in GetHistoricRates (#104) 2018-03-27 10:31:34 +11:00
Adrian Gallagher
cc4c8a0203 Fix invalid period in type declaration
Fixes https://github.com/thrasher-/gocryptotrader/issues/110
2018-03-26 12:44:34 +11:00
Adrian Gallagher
caa3078d23 Fix Bitfinex TestGetSymbols 2018-03-26 12:18:19 +11:00
Adrian Gallagher
c0ccc901dc Fix GoReport issues 2018-03-26 12:18:19 +11:00
Adrian Gallagher
966cfc7512 Move orders into its own package 2018-03-26 12:18:19 +11:00
Adrian Gallagher
046b4dc348 Add Bitstamp dynamic currency updater 2018-03-26 12:18:19 +11:00
Adrian Gallagher
3eb81a3185 Improve pairs/translation packages and various fixes 2018-03-26 12:17:39 +11:00
Ryan O'Hara-Reid
9514754960 New documents generated by documentation tool. 2018-02-28 09:55:11 +11:00
Ryan O'Hara-Reid
0488ebc2dc Modified tests for Binance and GDAX exchange. 2018-02-26 16:52:36 +11:00
Ryan O'Hara-Reid
bd24b00281 Fixed linter issues for Yobit exchange. 2018-02-26 16:34:43 +11:00
Ryan O'Hara-Reid
85393b59b8 Fixed linter issues for Poloniex exchange. 2018-02-26 16:31:41 +11:00
Ryan O'Hara-Reid
dfaea0125d Fixed linter issues on Okcoin exchange. 2018-02-26 15:36:27 +11:00
Ryan O'Hara-Reid
5dc8ddf404 Fixed linter issues, fixed test deployment for auth request, added data types for error returns for Liqui Exchange. 2018-02-26 13:59:12 +11:00
Ryan O'Hara-Reid
bfdb6ba307 Fixed go vet and linter issues for Huobi exchange. 2018-02-26 13:26:40 +11:00
Ryan O'Hara-Reid
9a04d06890 Fixed linter issues for HitBTC exchange. 2018-02-26 11:59:57 +11:00
Ryan O'Hara-Reid
aef0b5a474 Fixed linter issues and 429 request error due to test procedures on GDAX exchange 2018-02-26 11:13:15 +11:00
Ryan O'Hara-Reid
6962f84748 Fixed linter issues for Coinut exchange. 2018-02-26 10:57:35 +11:00
Ryan O'Hara-Reid
111c6784a4 Fix linter issues for BTCC 2018-02-26 10:26:21 +11:00
Ryan O'Hara-Reid
17df327c0f Fixed linter issues for ANX 2018-02-26 10:03:15 +11:00
Ryan O'Hara-Reid
10d5abacb3 Initial implementation of interface function for getting exchange history. 2018-02-26 10:01:42 +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