Lean
$LEAN_TAG$
EnergyETFUniverse.cs
1
/*
2
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
3
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
8
*
9
* Unless required by applicable law or agreed to in writing, software
10
* distributed under the License is distributed on an "AS IS" BASIS,
11
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
* See the License for the specific language governing permissions and
13
* limitations under the License.
14
*/
15
16
using
System;
17
using
System.Collections.Generic;
18
19
namespace
QuantConnect.Algorithm.Framework.Selection
20
{
21
/// <summary>
22
/// Universe Selection Model that adds the following Energy ETFs at their inception date
23
/// 1998-12-22 XLE Energy Select Sector SPDR Fund
24
/// 2000-06-16 IYE iShares U.S. Energy ETF
25
/// 2004-09-29 VDE Vanguard Energy ETF
26
/// 2006-04-10 USO United States Oil Fund
27
/// 2006-06-22 XES SPDR S&P Oil & Gas Equipment & Services ETF
28
/// 2006-06-22 XOP SPDR S&P Oil & Gas Exploration & Production ETF
29
/// 2007-04-18 UNG United States Natural Gas Fund
30
/// 2008-06-25 ICLN iShares Global Clean Energy ETF
31
/// 2008-11-06 ERX Direxion Daily Energy Bull 3X Shares
32
/// 2008-11-06 ERY Direxion Daily Energy Bear 3x Shares
33
/// 2008-11-25 SCO ProShares UltraShort Bloomberg Crude Oil
34
/// 2008-11-25 UCO ProShares Ultra Bloomberg Crude Oil
35
/// 2009-06-02 AMJ JPMorgan Alerian MLP Index ETN
36
/// 2010-06-02 BNO United States Brent Oil Fund
37
/// 2010-08-25 AMLP Alerian MLP ETF
38
/// 2011-12-21 OIH VanEck Vectors Oil Services ETF
39
/// 2012-02-08 DGAZ VelocityShares 3x Inverse Natural Gas
40
/// 2012-02-08 UGAZ VelocityShares 3x Long Natural Gas
41
/// 2012-02-15 TAN Invesco Solar ETF
42
/// </summary>
43
public
class
EnergyETFUniverse
:
InceptionDateUniverseSelectionModel
44
{
45
/// <summary>
46
/// Initializes a new instance of the EnergyETFUniverse class
47
/// </summary>
48
public
EnergyETFUniverse
() :
49
base(
50
"qc-energy-etf-basket"
,
51
new Dictionary<string, DateTime>()
52
{
53
{
"XLE"
,
new
DateTime(1998, 12, 22)},
54
{
"IYE"
,
new
DateTime(2000, 6, 16)},
55
{
"VDE"
,
new
DateTime(2004, 9, 29)},
56
{
"USO"
,
new
DateTime(2006, 4, 10)},
57
{
"XES"
,
new
DateTime(2006, 6, 22)},
58
{
"XOP"
,
new
DateTime(2006, 6, 22)},
59
{
"UNG"
,
new
DateTime(2007, 4, 18)},
60
{
"ICLN"
,
new
DateTime(2008, 6, 25)},
61
{
"ERX"
,
new
DateTime(2008, 11, 6)},
62
{
"ERY"
,
new
DateTime(2008, 11, 6)},
63
{
"SCO"
,
new
DateTime(2008, 11, 25)},
64
{
"UCO"
,
new
DateTime(2008, 11, 25)},
65
{
"AMJ"
,
new
DateTime(2009, 6, 2)},
66
{
"BNO"
,
new
DateTime(2010, 6, 2)},
67
{
"AMLP"
,
new
DateTime(2010, 8, 25)},
68
{
"OIH"
,
new
DateTime(2011, 12, 21)},
69
{
"DGAZ"
,
new
DateTime(2012, 2, 8)},
70
{
"UGAZ"
,
new
DateTime(2012, 2, 8)},
71
{
"TAN"
,
new
DateTime(2012, 2, 15)}
72
}
73
)
74
{
75
76
}
77
}
78
}
Algorithm.Framework
Selection
EnergyETFUniverse.cs
Generated by
1.8.17