Commit Graph

44 Commits

Author SHA1 Message Date
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
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
Kavan McEachern
33398316ef Fix test to use GDAX config from testdata (#117) 2018-04-30 17:14:16 +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
Poodle
2d0cb20c69 fix for type assertion in GetHistoricRates (#104) 2018-03-27 10:31:34 +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
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
10d5abacb3 Initial implementation of interface function for getting exchange history. 2018-02-26 10:01:42 +11:00
Adrian Gallagher
2e1b5afd94 Fix err check 2018-01-29 17:13:26 +11:00
Adrian Gallagher
2446007b03 Various improvements 2018-01-03 18:36:13 +11:00
Mikalai Radchuk
8cb088e9fa GDAX SetDefaults cleanup
`SetDefaults` already sets `g.Verbose` to `false` (see few lines above)
2017-12-31 00:35:14 +03: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
Matthew Campbell
95739a8b14 consistent access to sandbox environments on gemini and gdax 2017-11-01 12:51:01 +07:00
Adrian Gallagher
55c8b02d1d Fix misspells 2017-10-04 18:15:01 +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
Ryan O'Hara-Reid
eef13c4515 Fixed minor linter issues in coinut. Fixed linter issues, increased code cov & expanded functionality in gdax. Added new function in nonce package. 2017-09-18 14:23:59 +10:00
Adrian Gallagher
87633c2142 Link up orderbook websocket code, improve exchange test coverage and various other fixes 2017-09-14 15:07:59 +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
ad7ae88ff4 Add UpdateOrderbook exchange function and update all exchanges to support it 2017-09-11 14:02:39 +10:00
Adrian Gallagher
a5b3a6b489 Add demo routines function to fetch all exchange tickers 2017-09-11 14:02:39 +10:00
Adrian Gallagher
a1040c8d94 Start websocket implementation 2017-09-11 14:02:39 +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
7be8c0272b Add currency pair display method to display a currency pair based on user config preferences (e.g BTC-USD or BTCUSD) 2017-08-23 15:52:15 +10:00
Adrian Gallagher
f3c1f4880d Add nonce package for exchanges 2017-08-21 15:57:41 +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
Ryan O'Hara-Reid
00d2024e5a Changed const naming convention assoc. with common.go 2017-07-31 11:42:56 +10:00
Adrian Gallagher
77ca9cc2b7 Various fixes 2017-04-21 21:35:26 +10:00
Adrian Gallagher
d526e9f2a9 Add currency pair support 2017-04-19 00:16:53 +10:00
Manuel Kreutz
5306c6b3d3 support currency pair notation without - (used by AllActiveExchangesAndCurrencies) 2017-04-09 16:16:54 -04:00
Manuel Kreutz
4b6c1f8b6c we need unixtime for auth but sending 13 long string 2017-04-09 16:02:57 -04:00
Manuel Kreutz
bd78a39bdd SendAuthenticatedHTTPRequest uses GDAX_API_URL and we need path 2017-04-09 15:44:12 -04:00
Manuel Kreutz
76c883c6e0 use current API endpoint 2017-04-09 15:43:12 -04:00
Adrian Gallagher
b84a27a6a5 Add method for obtaining orderbook info 2017-04-08 02:42:18 +10:00
Adrian Gallagher
f6efa9ee37 Expand portfolio to cover exchange balances 2017-04-07 15:50:12 +10:00
Adrian Gallagher
7aff04e4c6 Standardise filenames 2017-03-30 14:05:32 +11:00
Adrian Gallagher
4bd2c92ec3 Refactor Exchange code 2017-03-29 13:47:56 +11:00
Adrian Gallagher
659ac59bbb Package stats 2017-03-29 13:47:56 +11:00
Adrian Gallagher
aeb327c80c Package exchanges 2017-03-29 13:47:56 +11:00