Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Log Only Once "Warning: To meet brokerage precision requirements"

Open AlexCatarino opened this issue 3 months ago • 0 comments

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 master branch
  • [x] I have confirmed that this is not a duplicate issue by searching issues

AlexCatarino avatar Oct 07 '25 21:10 AlexCatarino