Adds new function to interface to retrieve all enabled currency data from exchange

Implements on alphapointhttp.go
Adds new page to UI to handle exchange balances
This commit is contained in:
Scott
2016-09-05 21:57:23 +10:00
parent 8d1afb7e4e
commit 244cdcb48c
6 changed files with 111 additions and 5 deletions

View File

@@ -1,5 +1,6 @@
package main
//IBotExchange : Enforces standard functions for all exchanges supported in gocryptotrader
type IBotExchange interface {
Setup(exch Exchanges)
Start()
@@ -8,4 +9,5 @@ type IBotExchange interface {
IsEnabled() bool
GetTickerPrice(currency string) TickerPrice
GetEnabledCurrencies() []string
GetExchangeAccountInfo() ExchangeAccountInfo
}