Skip to content

Commit

Permalink
Add static DataSourceId to custom data type(s)
Browse files Browse the repository at this point in the history
  • Loading branch information
gsalaz98 committed Jul 9, 2021
1 parent 0cf283a commit fad2de5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions TiingoNews.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ namespace QuantConnect.DataSource
[ProtoContract(SkipConstructor = true)]
public class TiingoNews : IndexedBaseData
{
/// <summary>
/// Data source ID
/// </summary>
public static int DataSourceId { get; } = 2020;

private List<string> _tags;
private List<Symbol> _symbols;

Expand Down

0 comments on commit fad2de5

Please sign in to comment.