Skip to content

Commit 320ff28

Browse files
authored
Fix NDAX Ticker (#577)
1 parent 1a5aaf7 commit 320ff28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ExchangeSharp/API/Exchanges/NDAX/ExchangeNDAXAPI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public ExchangeNDAXAPI()
3030
protected override async Task<IEnumerable<KeyValuePair<string, ExchangeTicker>>> OnGetTickersAsync()
3131
{
3232
var result =
33-
await MakeJsonRequestAsync<Dictionary<string, NDAXTicker>>("returnticker", "https://core.ndax.io/api/returnticker", null, "GET");
33+
await MakeJsonRequestAsync<Dictionary<string, NDAXTicker>>("ticker", "https://core.ndax.io/v1", null, "GET");
3434
_marketSymbolToInstrumentIdMapping = result.ToDictionary(pair => pair.Key.Replace("_", ""), pair => pair.Value.Id); // remove the _
3535
return result.Select(pair =>
3636
new KeyValuePair<string, ExchangeTicker>(pair.Key, pair.Value.ToExchangeTicker(pair.Key)));

0 commit comments

Comments
 (0)