Commit Graph

35 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
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
e5b27492bd Use common EncodeURLValues function where possible 2015-11-02 18:35:02 +11:00
Adrian Gallagher
8761189400 Use -1 and 'f' for formatting floats. 2015-06-20 17:01:55 +10:00
Adrian Gallagher
931bcbfb34 Filled out ItBit Orderbook function. 2015-05-18 16:30:41 +10:00
Adrian Gallagher
5f40de8300 Added fiat support to stats handler. 2015-05-15 15:42:41 +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
e38fbe078a Minor itBit changes. 2015-04-30 01:02:05 +10:00
Adrian Gallagher
0d23b68b15 Improved itBit implementation. 2015-04-29 23:44:36 +10:00
Adrian Gallagher
7806f09d99 Fixed ItBit RESTful HTTP authentication. 2015-04-28 21:37:40 +10:00
Adrian Gallagher
94f9552594 Rename PollingDelay variable to RESTPollingDelay for greater clarity. 2015-04-23 18:25:01 +10:00
Adrian Gallagher
f862eada83 Made use of common JSON/Encoding function. 2015-03-28 18:30:24 +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
98c9fb6c37 Refactored common HMAC function. 2015-03-14 19:52:27 +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
9ae33e95fe Added fetching currency exchange rate and conversion support. 2014-11-24 22:09:59 +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