Lean
Lean copied to clipboard
Log Only Once "Warning: To meet brokerage precision requirements"
Expected Behavior
LEAN only logs the warning "To meet brokerage precision requirements". The text is generic: "Warning: To meet brokerage precision requirements, stop and limit prices are rounded down."
Same for "Warning: Due to brokerage limitations, orders will be rounded to the nearest lot size of"
Actual Behavior
We receive a warning for every order, and users are forced to round the prices manually, defeating the purpose of the rounding feature.
Potential Solution
Log once.
Checklist
- [x] I have completely filled out this template
- [x] I have confirmed that this issue exists on the current
masterbranch - [x] I have confirmed that this is not a duplicate issue by searching issues