Commit Graph

33 Commits

Author SHA1 Message Date
Adrian Gallagher
e965e54e09 Split up common.go, file path fixes and much more 2019-06-04 17:04:32 +10:00
Adrian Gallagher
f5914e8c10 Engine changes 2019-05-22 17:06:38 +10:00
leilaes
cdab89a58a Replace a zero-length, non-nil slice with a nil slice (#299)
* Replace a zero-length, non-nil slice with a nil slice

* Update codelingo.yaml
2019-05-16 10:19:08 +10:00
Ryan O'Hara-Reid
2f1405ead4 Add OS X CI Matrix support to Travis (#284)
Add OS X CI Matrix support to Travis
2019-04-30 15:27:16 +10:00
Adrian Gallagher
9bdcc22ae1 Relax case sensitive string comparisons in various parts of GCT 2019-04-23 14:22:00 +10:00
Adam
400c1cc84d Improved test coverage and functions in common.go (#266)
Improved directory creation, including permissions and expanded test coverage
2019-04-17 17:33:40 +10:00
Adrian Gallagher
7dcb1ab553 Migrate from gometalinter.v2 to golangci-lint (#249)
* Migrate from gometalinter.v2 to golangci-lint
2019-03-01 16:10:29 +11:00
Adrian Gallagher
bfbd496c3a Change common_test TestSendHTTPRequest URLs away from Yahoo API
Service shutdown https://twitter.com/ydn/status/1079785891558653952
2019-01-05 17:56:34 +11:00
CodeLingo Bot
05f9f40723 Fix comments according to best practices by effective go (#219) 2018-12-11 12:50:07 +11:00
cranktakular
7c21cb6f84 Common.go testing (#190)
* Common.go testing:
Improved GetHMAC test
Cut ByteArrayToString from common, already have a function that does the same thing
more coverage for SendHTTPRequest test
Improved SendHTTPGetRequest test
added JSONDecode test
added UnixMillis test
added RecvWindow test
added FloatFromString test
added IntFromString test
added Int64FromString test
added TestTimeFromUnixTimestampFloat test
2018-10-09 14:49:21 +11:00
Adrian Gallagher
42d458d5ea Rename GDAX -> CoinbasePro 2018-07-11 10:42:37 +10:00
Adrian Gallagher
4903c788b1 Use key derivitive function for encryption/decryption of config data
Fixes https://github.com/thrasher-/gocryptotrader/issues/115
2018-06-04 18:43:13 +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
fa041104b2 Added new function in common. 2018-02-16 11:48:02 +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
baa994fe9b Trivial improvements 2018-01-24 09:23:35 +11:00
Adrian Gallagher
d571773680 Update Ethereum balance updating via Ethplorer 2018-01-17 14:33:17 +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
87633c2142 Link up orderbook websocket code, improve exchange test coverage and various other fixes 2017-09-14 15:07:59 +10:00
Adrian Gallagher
4dcce85810 Default to HTTPS everywhere in project 2017-08-25 16:57:06 +10:00
Adrian Gallagher
f684b4d19f Add RemoveFile common function
Also cleans up left over test files
2017-08-23 11:45:06 +10:00
Adrian Gallagher
0fea98857c Add common StringReplace function 2017-08-21 14:50:22 +10:00
snipesjr
fc27cd6e67 Fixed misspellings of separator 2017-08-08 17:39:28 -04:00
Ryan O'Hara-Reid
6afaefa5bf Updated Travis.yml and test procedures in common 2017-07-31 11:45:36 +10:00
Ryan O'Hara-Reid
06786ed9de Fixed Linter issues & code formatting 2017-07-31 11:43:22 +10:00
Ryan O'Hara-Reid
5059564d4a Added more tests for common.go 2017-07-31 11:43:12 +10:00
Ryan O'Hara-Reid
c4e09fad08 Added basic validity check for crypto address string
Added tests
Changed const to pascal case
2017-07-31 11:42:35 +10:00
Ryan O'Hara-Reid
58741e73ef Added test for DataContains function in common.go 2017-04-11 22:00:20 +10:00
Manuel Kreutz
4159abbbe5 run test in parallel with (and only with) other parallel tests. 2017-04-09 21:42:09 -04:00
Manuel Kreutz
19f6ac9de7 extend test coverage of helper function 2017-04-09 16:54:39 -04:00
Manuel Kreutz
6e440a1a0c use proper test name 2017-04-09 16:39:40 -04:00
Manuel Kreutz
7b001f710b simple common helper to parse & return path (for hmac etc) given url 2017-04-09 16:02:51 -04:00
Adrian Gallagher
b6c9d64f75 Package common.go 2017-03-29 13:45:02 +11:00