QuantConnect/Lean

Provide Name property for all framework components

オープン

#3,839 opened on 2019/11/14

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (4,772 件のフォーク)batch import
featureframeworkgood first issue

Repository metrics

Stars
 (18,979 個のスター)
PR merge metrics
 (平均マージ 1d 17h) (30d で 43 merged PRs)

説明

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

コントリビューターガイド