QuantConnect/Lean

Provide Name property for all framework components

開放

#3,839 建立於 2019年11月14日

 (1 則留言) (0 個反應) (0 位負責人)C# (4,772 個分叉)batch import
featureframeworkgood first issue

倉庫指標

星標
 (18,979 顆星)
PR 合併指標
 (平均合併 1天 17小時) (30 天內合併 43 個 PR)

描述

Expected Behavior

Framework models are uniquely identifiable via a name.

Actual Behavior

Only alpha models define a name.

Potential Solution

Use a similar approach as we did we alpha models to add a name for each framework model as well as the optimizers. I'm thinking names would follow the form: <TypeNameMinusInterface>(arg1,arg2,...argn) for example, for the MinimumVariancePortfolioOptimizer with default arguments: MeanVariance(-1,1,0.02)

I'll be updating the alpha model names, so whomever works this can use those as a pattern reference.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue

貢獻者指南