Commit Graph

40 Commits

Author SHA1 Message Date
GloriousCode
7223875230 Now adds a universal way to retrieve all enabled currencies
New endpoint to retrieve values for all enabled currency data for all enabled exchanges and return it as JSON object for front end
2016-07-13 21:43:48 +10:00
Scott
95cfb356ba Adds GetTickerPrice(currency string) TickerPrice func to interface. Implements on all exchanges (where possible)
Attempts to make routing generic with /exchanges/{exchangeName}/latest/{currency} path and response
2016-06-05 19:10:32 +10:00
Adrian Gallagher
94fdffd690 Added OKCoin const API endpoint values. 2016-03-26 21:31:57 +11:00
Adrian Gallagher
0104c490d4 Added OKCoin return interfaces for authenticated SPOT HTTP API requests. 2016-03-26 21:01:08 +11:00
Adrian Gallagher
2d46a86268 Added OKCoin return interfaces for unauthenticated HTTP API requests. 2016-03-24 22:50:59 +11:00
Adrian Gallagher
d9a5de8075 Made Exchange SetDefaults 'Enabled' variable disabled by default. 2016-03-19 17:17:53 +11:00
Adrian Gallagher
fc6809621b Made slight amendments to interface code, ran gofmt. 2016-03-19 16:38:38 +11:00
Scott
dc313a24f5 Each bot inherits from an interface and can be called as such to minimise
duplicate code
2016-03-19 16:38:37 +11:00
Adrian Gallagher
8761189400 Use -1 and 'f' for formatting floats. 2015-06-20 17:01:55 +10:00
Adrian Gallagher
5f40de8300 Added fiat support to stats handler. 2015-05-15 15:42:41 +10:00
Adrian Gallagher
58606e300f Fixed OKCoin Websocket implementation when support for both International and Chinese exchanges are enabled. 2015-05-13 18:54:45 +10:00
Adrian Gallagher
dd3ae3f23b Added Authenticated API variable to toggle on/off private authentication support. 2015-05-11 18:20:57 +10:00
Adrian Gallagher
b3413f9317 Added currency toggling config support for remaining Exchanges. 2015-05-09 22:11:30 +10:00
Adrian Gallagher
815b22dbeb Added the ability to enable/disable Cryptocurrencies on Exchanges via config file. A few more exchanges need to be completed. 2015-05-09 03:41:21 +10:00
Adrian Gallagher
f6bcdf8a76 Made use of Pairs and BaseCurrencies variables, formatting changes. 2015-05-06 20:20:42 +10:00
Adrian Gallagher
94f9552594 Rename PollingDelay variable to RESTPollingDelay for greater clarity. 2015-04-23 18:25:01 +10:00
Adrian Gallagher
a626db2ac8 Display Websocket URL in verbose mode for applicable exchanges. 2015-04-10 21:16:27 +10:00
Adrian Gallagher
dd240338eb Added remaining OKCoin REST functions. 2015-04-07 21:03:52 +10:00
Adrian Gallagher
5458f24800 Added OKCOIN REST lending functionality. 2015-04-06 23:09:57 +10:00
Adrian Gallagher
4e61864468 Added OKCoin error code strings. 2015-04-01 23:17:25 +11:00
Adrian Gallagher
6d487e1bee Added OKCoin response structs for ticker,trade and orderbook data. 2015-03-30 21:44:32 +11:00
Adrian Gallagher
f0cdad23ef Added Websocket support for OKCoin exchanges (International and Chinese) 2015-03-25 18:32:44 +11:00
Adrian Gallagher
225725a30f Added Websocket config variable. 2015-03-22 15:57:09 +11:00
Adrian Gallagher
b4e90fb2ee Linked stats with Exchange ticker data. 2015-03-18 18:33:02 +11:00
Adrian Gallagher
e65fbf6a77 Added REST polling delay config variable. 2015-03-18 17:29:33 +11:00
Adrian Gallagher
b23070d7be Moved ticker fetching from main into the relative exchange. 2015-03-18 16:36:01 +11:00
Adrian Gallagher
ba4cda2491 Tidied up HTTP request code. 2015-03-14 18:34:19 +11:00
Adrian Gallagher
6e6542001a Close HTTP client request body to prevent memory leaks. 2015-03-14 16:03:05 +11:00
Adrian Gallagher
6fc6c9f116 Implemented Exchange version variable. 2015-03-10 15:20:21 +11:00
Adrian Gallagher
05abe9b466 Refactored common crypto/encoding functions. 2015-03-06 14:03:52 +11:00
Adrian Gallagher
90d77d39c2 Use log instead of fmt for printing console output. 2015-03-02 23:36:15 +11:00
Adrian Gallagher
749dd07453 Added verbosity variable in config to toggle Exchange output. 2015-02-26 15:26:41 +11:00
Adrian Gallagher
92abe3bd95 Added static/dynamic fee values/methods for all exchanges. 2015-02-24 17:53:56 +11:00
Adrian Gallagher
660dbb3337 Set API keys from config file. 2015-02-23 17:51:45 +11:00
Adrian Gallagher
1e627496a9 Implement config system. 2015-02-18 19:01:47 +11:00
Adrian Gallagher
9b5ced4f34 Added OKCoin futures support. 2015-02-11 13:40:25 +11:00
Adrian Gallagher
9ae33e95fe Added fetching currency exchange rate and conversion support. 2014-11-24 22:09:59 +11:00
Adrian Gallagher
091db41e85 Retrieve and display ticker pricing for various exchanges. 2014-11-15 22:11:19 +11:00
Adrian Gallagher
9327a31ba5 Added structs for Ticker information for various exchanges. 2014-11-10 20:03:37 +11:00
Adrian Gallagher
0e37811cd0 Add base files for various cryptocurrency exchanges. 2014-10-29 23:27:55 +11:00