diff --git a/exchanges/anx/anx.go b/exchanges/anx/anx.go index 2a68b5c7..da9c6202 100644 --- a/exchanges/anx/anx.go +++ b/exchanges/anx/anx.go @@ -26,7 +26,7 @@ const ( ANX_RECEIVE_ADDRESS = "receive" ANX_CREATE_ADDRESS = "receive/create" ANX_TICKER = "money/ticker" - ANX_DEPTH = "money/depth" + ANX_DEPTH = "money/depth/full" ) type ANX struct { @@ -93,7 +93,7 @@ func (a *ANX) GetTicker(currency string) (ANXTicker, error) { func (a *ANX) GetDepth(currency string) (Depth, error) { var depth Depth - err := common.SendHTTPGetRequest(fmt.Sprintf("%sapi/2/%s/%s", ANX_API_URL, currency, ANX_TICKER), true, a.Verbose, &depth) + err := common.SendHTTPGetRequest(fmt.Sprintf("%sapi/2/%s/%s", ANX_API_URL, currency, ANX_DEPTH), true, a.Verbose, &depth) if err != nil { return depth, err }