Skip to content

Commit

Permalink
Minor update for Binance exchange info downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Molinero committed Sep 15, 2023
1 parent 640c25a commit ca0c386
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public IEnumerable<string> Get()
var stepSize = lotFilter.GetValue("stepSize").ToObject<decimal>().NormalizeToStr();

var minNotional = symbol.Filters
.First(f => f.GetValue("filterType").ToString() == "MIN_NOTIONAL");
.First(f => f.GetValue("filterType").ToString() == "MIN_NOTIONAL" || f.GetValue("filterType").ToString() == "NOTIONAL");
var minOrderSize = minNotional.GetValue("minNotional").ToObject<decimal>().NormalizeToStr();

yield return $"{Market.ToLowerInvariant()},{symbol.Name},crypto,{symbol.Name},{symbol.QuoteAsset},1,{priceFilter},{stepSize},{symbol.Name},{minOrderSize}";
Expand Down

0 comments on commit ca0c386

Please sign in to comment.