Lean icon indicating copy to clipboard operation
Lean copied to clipboard

Optional Default Parameter for GetParameter

Open jaredbroad opened this issue 3 years ago • 1 comments

Expected Behavior

GetParameter takes a default arg.

Actual Behavior

GetParameter only allows specifying name

Potential Solution

Adding an optional arg to GetParameter image

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

jaredbroad avatar Jun 29 '22 14:06 jaredbroad

It would be nice to have number overloads to avoid the type conversions in the algorithm.

See https://github.com/QuantConnect/Lean/pull/6452#discussion_r910433048

Martin-Molinero avatar Jun 29 '22 21:06 Martin-Molinero