namespace QuantConnect.Algorithm.CSharp
{
public class ParticleVerticalFlange : QCAlgorithm
{
public override void Initialize()
{
SetStartDate(2014, 9, 15); //Set Start Date
SetEndDate(2014, 9, 20); //Set Start Date
SetCash(100000); //Set Strategy Cash
AddForex("USDZAR", Resolution.Daily, Market.Oanda);
}
/// OnData event is the primary entry point for your algorithm. Each new data point will be pumped in here.
/// Slice object keyed by symbol containing the stock data
public override void OnData(Slice data)
{
SetHoldings("USDZAR", 1);
}
}
}