generated from QuantConnect/Lean.Brokerages.Template
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
We fetch the symbol properties from LEAN (symbol_properties_database.json) which can be out of date for some reason, resulting in errors such as
New Order Event: Time: 05/22/2025 00:00:00 OrderID: 3 EventID: 1 Symbol: BNBUSDT Status: Invalid Quantity: 1.05801 Message: Bybit Order Event: ByBitApiClient request failed: [200] OK, Content: {"retCode":170148,"retMsg":"Market order amount decimal too long","result":{},"retExtInfo":{},"time":1747872000379}, ErrorCode: 170148
The SPDB has a minimum price variation of 0.00001, allowing 1.05801, but the actual variation is 0.0001, so the quantity should be 1.0580.
We should pull this information daily and update the SPDB to avoid these errors.
Metadata
Metadata
Assignees
Labels
No labels