From 40693cabb14a4aa656d0bbefbbefdd5307ae33dc Mon Sep 17 00:00:00 2001 From: snugs Date: Wed, 8 Apr 2015 14:29:14 -0400 Subject: [PATCH] Added Forex.CurrencyPairs --- Common/Securities/Forex/Forex.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Common/Securities/Forex/Forex.cs b/Common/Securities/Forex/Forex.cs index 56a6c7946..486fb6002 100644 --- a/Common/Securities/Forex/Forex.cs +++ b/Common/Securities/Forex/Forex.cs @@ -17,6 +17,8 @@ * USING NAMESPACES **********************************************************/ +using System; +using System.Collections.Generic; using QuantConnect.Securities.Interfaces; namespace QuantConnect.Securities.Forex @@ -96,6 +98,16 @@ namespace QuantConnect.Securities.Forex * CLASS METHODS *********************************************************/ + /// + /// Gets the listing of currently supported currency pairs. + /// + /// + /// This listing should be in sync with the data available at: https://www.quantconnect.com/data/FOREX#2.1.1 + /// + public static readonly IReadOnlyList CurrencyPairs = new [] + { + "AUDJPY", "AUDUSD", "EURCHF", "EURGBP", "EURJPY", "EURUSD", "GBPAUD", "GBPJPY", "GBPUSD", "NZDUSD", "USDCAD", "USDCHF", "USDJPY" + }; } // End Market