You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
change ExchangeMarket properties to nullable (#730)
- Not all exchanges provide every property. Instead of returning a value like decimal.MaxValue or 0, null should be returned instead. That way, the user cna decide how to handle it.
thrownewNotImplementedException($"Exchange must return {nameof(market.MinPrice)} and {nameof(market.MaxPrice)} in order for {nameof(ClampOrderPrice)}() to work");
thrownewNotImplementedException($"Exchange must return {nameof(market.MinPrice)} and {nameof(market.MaxPrice)} in order for {nameof(ClampOrderQuantity)}() to work");
0 commit comments