sonvister/Binance

PriceRange issue

evo11x opened this issue · 5 comments

In the latest binance api, PriceRange.GetLowerValidValue, PriceRange.GetUpperValidValue and GetValidValue returns zero. (Tested with Theta at price 0.00001334) ...GetLowerValidValue(0.00001334)=0

@evo11x, are you updating the symbols at run-time (the static symbols no longer work with price validation)?

From 0.2.0-beta9 release notes:
"BREAKING: Because of this change, validation will not work until symbols are updated at run-time."

Oh I see, and how can I update symbols at runtime?

Thanks now it works! So now I must call Symbol.UpdateCacheAsync(api); at least at every app startup.
This is good because the static file symbols update was not very convenient.