From 405a514b9b90f2bac44347366714224cfd7fd60f Mon Sep 17 00:00:00 2001 From: Jhonathan Abreu Date: Tue, 14 Jan 2025 18:11:37 -0400 Subject: [PATCH 1/2] Add FTSE Russell Exchange support --- Common/Market.cs | 8 +++++++- Common/Securities/Index/IndexSymbol.cs | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Common/Market.cs b/Common/Market.cs index b2a1692cbd68..1e5886209207 100644 --- a/Common/Market.cs +++ b/Common/Market.cs @@ -70,7 +70,8 @@ public static class Market Tuple.Create(Coinbase, 38), Tuple.Create(InteractiveBrokers, 39), Tuple.Create(EUREX, 40), - Tuple.Create(OSE, 41) + Tuple.Create(OSE, 41), + Tuple.Create(RUSSELL, 42) }; static Market() @@ -175,6 +176,11 @@ static Market() /// public const string OSE = "ose"; + /// + /// FTSE Russell Exchange + /// + public const string RUSSELL = "russell"; + /// /// London International Financial Futures and Options Exchange /// diff --git a/Common/Securities/Index/IndexSymbol.cs b/Common/Securities/Index/IndexSymbol.cs index a55e77e536a2..38ac8b67a719 100644 --- a/Common/Securities/Index/IndexSymbol.cs +++ b/Common/Securities/Index/IndexSymbol.cs @@ -30,7 +30,8 @@ public static class IndexSymbol { "VIX", Market.CBOE }, { "SPXW", Market.CBOE }, { "NQX", "NASDAQ" }, - { "VIXW", Market.CBOE } + { "VIXW", Market.CBOE }, + { "RUT", Market.RUSSELL } }; private static readonly Dictionary _indexMarket = new(StringComparer.InvariantCultureIgnoreCase) From a5be6bac15e30b36d98fa46a839f8471a7f5134a Mon Sep 17 00:00:00 2001 From: Jhonathan Abreu Date: Tue, 14 Jan 2025 18:22:22 -0400 Subject: [PATCH 2/2] Cleanup --- Common/Market.cs | 8 +------- Common/Securities/Index/IndexSymbol.cs | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Common/Market.cs b/Common/Market.cs index 1e5886209207..b2a1692cbd68 100644 --- a/Common/Market.cs +++ b/Common/Market.cs @@ -70,8 +70,7 @@ public static class Market Tuple.Create(Coinbase, 38), Tuple.Create(InteractiveBrokers, 39), Tuple.Create(EUREX, 40), - Tuple.Create(OSE, 41), - Tuple.Create(RUSSELL, 42) + Tuple.Create(OSE, 41) }; static Market() @@ -176,11 +175,6 @@ static Market() /// public const string OSE = "ose"; - /// - /// FTSE Russell Exchange - /// - public const string RUSSELL = "russell"; - /// /// London International Financial Futures and Options Exchange /// diff --git a/Common/Securities/Index/IndexSymbol.cs b/Common/Securities/Index/IndexSymbol.cs index 38ac8b67a719..4019cdbb682f 100644 --- a/Common/Securities/Index/IndexSymbol.cs +++ b/Common/Securities/Index/IndexSymbol.cs @@ -31,7 +31,7 @@ public static class IndexSymbol { "SPXW", Market.CBOE }, { "NQX", "NASDAQ" }, { "VIXW", Market.CBOE }, - { "RUT", Market.RUSSELL } + { "RUT", "RUSSELL" } }; private static readonly Dictionary _indexMarket = new(StringComparer.InvariantCultureIgnoreCase)