Skip to content

Commit cfe6d7d

Browse files
committed
Update market-hours-database
1 parent 33ce22e commit cfe6d7d

File tree

4 files changed

+18
-278
lines changed

4 files changed

+18
-278
lines changed

Data/market-hours/market-hours-database.json

Lines changed: 0 additions & 271 deletions
Original file line numberDiff line numberDiff line change
@@ -75363,277 +75363,6 @@
7536375363
},
7536475364
"lateOpens": {}
7536575365
},
75366-
"Future-nfo-[*]": {
75367-
"dataTimeZone": "Asia/Kolkata",
75368-
"exchangeTimeZone": "Asia/Kolkata",
75369-
"sunday": [],
75370-
"monday": [
75371-
{
75372-
"start": "09:15:00",
75373-
"end": "15:30:00",
75374-
"state": "market"
75375-
}
75376-
],
75377-
"tuesday": [
75378-
{
75379-
"start": "09:15:00",
75380-
"end": "15:30:00",
75381-
"state": "market"
75382-
}
75383-
],
75384-
"wednesday": [
75385-
{
75386-
"start": "09:15:00",
75387-
"end": "15:30:00",
75388-
"state": "market"
75389-
}
75390-
],
75391-
"thursday": [
75392-
{
75393-
"start": "09:15:00",
75394-
"end": "15:30:00",
75395-
"state": "market"
75396-
}
75397-
],
75398-
"friday": [
75399-
{
75400-
"start": "09:15:00",
75401-
"end": "15:30:00",
75402-
"state": "market"
75403-
}
75404-
],
75405-
"saturday": [],
75406-
"holidays": [
75407-
"1/26/2004",
75408-
"4/14/2004",
75409-
"1/26/2005",
75410-
"4/14/2005",
75411-
"8/15/2005",
75412-
"1/26/2006",
75413-
"4/14/2006",
75414-
"5/1/2006",
75415-
"8/15/2006",
75416-
"10/2/2006",
75417-
"12/25/2006",
75418-
"1/26/2007",
75419-
"5/1/2007",
75420-
"8/15/2007",
75421-
"10/2/2007",
75422-
"12/25/2007",
75423-
"4/14/2008",
75424-
"5/1/2008",
75425-
"8/15/2008",
75426-
"10/2/2008",
75427-
"12/25/2008",
75428-
"1/26/2009",
75429-
"4/14/2009",
75430-
"5/1/2009",
75431-
"10/2/2009",
75432-
"12/25/2009",
75433-
"1/26/2010",
75434-
"4/14/2010",
75435-
"1/26/2011",
75436-
"3/2/2011",
75437-
"4/12/2011",
75438-
"4/14/2011",
75439-
"4/22/2011",
75440-
"8/15/2011",
75441-
"8/31/2011",
75442-
"9/1/2011",
75443-
"10/6/2011",
75444-
"10/26/2011",
75445-
"10/27/2011",
75446-
"11/7/2011",
75447-
"11/10/2011",
75448-
"12/6/2011",
75449-
"1/26/2012",
75450-
"2/20/2012",
75451-
"3/8/2012",
75452-
"4/5/2012",
75453-
"4/6/2012",
75454-
"5/1/2012",
75455-
"8/15/2012",
75456-
"8/20/2012",
75457-
"9/19/2012",
75458-
"10/2/2012",
75459-
"10/24/2012",
75460-
"11/14/2012",
75461-
"11/28/2012",
75462-
"12/25/2012",
75463-
"3/27/2013",
75464-
"3/29/2013",
75465-
"4/19/2013",
75466-
"4/24/2013",
75467-
"5/1/2013",
75468-
"8/9/2013",
75469-
"8/15/2013",
75470-
"9/9/2013",
75471-
"10/2/2013",
75472-
"10/16/2013",
75473-
"11/4/2013",
75474-
"11/15/2013",
75475-
"12/25/2013",
75476-
"2/27/2014",
75477-
"3/17/2014",
75478-
"4/8/2014",
75479-
"4/14/2014",
75480-
"4/18/2014",
75481-
"4/24/2014",
75482-
"5/1/2014",
75483-
"7/29/2014",
75484-
"8/15/2014",
75485-
"8/29/2014",
75486-
"10/2/2014",
75487-
"10/3/2014",
75488-
"10/6/2014",
75489-
"10/15/2014",
75490-
"10/24/2014",
75491-
"11/4/2014",
75492-
"11/6/2014",
75493-
"12/25/2014",
75494-
"1/26/2015",
75495-
"2/17/2015",
75496-
"3/6/2015",
75497-
"4/2/2015",
75498-
"4/3/2015",
75499-
"4/14/2015",
75500-
"5/1/2015",
75501-
"9/17/2015",
75502-
"9/25/2015",
75503-
"10/2/2015",
75504-
"10/22/2015",
75505-
"11/12/2015",
75506-
"11/25/2015",
75507-
"12/25/2015",
75508-
"1/26/2016",
75509-
"3/7/2016",
75510-
"3/24/2016",
75511-
"3/25/2016",
75512-
"4/14/2016",
75513-
"4/15/2016",
75514-
"4/19/2016",
75515-
"7/6/2016",
75516-
"8/15/2016",
75517-
"9/5/2016",
75518-
"9/13/2016",
75519-
"10/11/2016",
75520-
"10/12/2016",
75521-
"10/31/2016",
75522-
"11/14/2016",
75523-
"1/26/2017",
75524-
"2/24/2017",
75525-
"3/13/2017",
75526-
"4/4/2017",
75527-
"4/14/2017",
75528-
"5/1/2017",
75529-
"6/26/2017",
75530-
"8/15/2017",
75531-
"8/25/2017",
75532-
"10/2/2017",
75533-
"10/20/2017",
75534-
"12/25/2017",
75535-
"1/26/2018",
75536-
"2/13/2018",
75537-
"3/2/2018",
75538-
"3/29/2018",
75539-
"3/30/2018",
75540-
"5/1/2018",
75541-
"8/15/2018",
75542-
"8/22/2018",
75543-
"9/13/2018",
75544-
"9/20/2018",
75545-
"10/2/2018",
75546-
"10/18/2018",
75547-
"11/8/2018",
75548-
"11/23/2018",
75549-
"12/25/2018",
75550-
"3/4/2019",
75551-
"3/21/2019",
75552-
"4/17/2019",
75553-
"4/19/2019",
75554-
"4/29/2019",
75555-
"5/1/2019",
75556-
"6/5/2019",
75557-
"8/12/2019",
75558-
"8/15/2019",
75559-
"9/2/2019",
75560-
"9/10/2019",
75561-
"10/2/2019",
75562-
"10/8/2019",
75563-
"10/21/2019",
75564-
"10/28/2019",
75565-
"11/12/2019",
75566-
"12/25/2019",
75567-
"2/21/2020",
75568-
"3/10/2020",
75569-
"4/2/2020",
75570-
"4/6/2020",
75571-
"4/10/2020",
75572-
"4/14/2020",
75573-
"5/1/2020",
75574-
"5/25/2020",
75575-
"10/2/2020",
75576-
"11/16/2020",
75577-
"11/30/2020",
75578-
"12/25/2020",
75579-
"1/26/2021",
75580-
"3/11/2021",
75581-
"3/29/2021",
75582-
"4/2/2021",
75583-
"4/14/2021",
75584-
"4/21/2021",
75585-
"5/13/2021",
75586-
"7/21/2021",
75587-
"8/19/2021",
75588-
"9/10/2021",
75589-
"10/15/2021",
75590-
"11/5/2021",
75591-
"11/19/2021",
75592-
"1/26/2022",
75593-
"4/14/2022",
75594-
"8/15/2022",
75595-
"1/26/2023",
75596-
"4/14/2023",
75597-
"5/1/2023",
75598-
"8/15/2023",
75599-
"10/2/2023",
75600-
"12/25/2023",
75601-
"1/26/2024",
75602-
"5/1/2024",
75603-
"8/15/2024",
75604-
"10/2/2024",
75605-
"12/25/2024",
75606-
"4/14/2025",
75607-
"5/1/2025",
75608-
"8/15/2025",
75609-
"10/2/2025",
75610-
"12/25/2025",
75611-
"1/26/2026",
75612-
"4/14/2026",
75613-
"5/1/2026",
75614-
"10/2/2026",
75615-
"12/25/2026",
75616-
"1/26/2027",
75617-
"4/14/2027",
75618-
"1/26/2028",
75619-
"4/14/2028",
75620-
"5/1/2028",
75621-
"8/15/2028",
75622-
"10/2/2028",
75623-
"12/25/2028",
75624-
"1/26/2029",
75625-
"5/1/2029",
75626-
"8/15/2029",
75627-
"10/2/2029",
75628-
"12/25/2029",
75629-
"5/1/2030",
75630-
"8/15/2030",
75631-
"10/2/2030",
75632-
"12/25/2030"
75633-
],
75634-
"earlyCloses": {},
75635-
"lateOpens": {}
75636-
},
7563775366
"Future-sgx-NK": {
7563875367
"dataTimeZone": "UTC",
7563975368
"exchangeTimeZone": "Asia/Singapore",

Tests/Common/Securities/MarketHoursDatabaseTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,6 @@ public void CustomEntriesAreNotLostWhenReset(string ticker, SecurityType securit
439439
[Test]
440440
public void VerifyMarketHoursDataIntegrityForAllSymbols()
441441
{
442-
// Register the "nfo" market
443-
Market.Add("nfo", 100);
444-
445442
// Load the market hours database
446443
var marketHoursDatabase = MarketHoursDatabase.FromDataFolder();
447444

Tests/Common/Securities/SecurityExchangeHoursTests.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -786,10 +786,17 @@ private static SecurityExchangeHours CreateCustomFutureExchangeHours(DateTime ea
786786
holidays,
787787
new[]
788788
{
789-
sunday, monday, tuesday, wednesday, thursday, friday, saturday
789+
sunday,
790+
monday,
791+
tuesday,
792+
wednesday,
793+
thursday,
794+
friday,
795+
saturday
790796
}.ToDictionary(x => x.DayOfWeek),
791797
earlyCloses,
792-
lateOpens);
798+
lateOpens
799+
);
793800

794801
return exchangeHours;
795802
}

Tests/Engine/DataFeeds/Enumerators/FillForwardEnumeratorTests.cs

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2435,10 +2435,17 @@ private static SecurityExchangeHours CreateCustomFutureExchangeHours(DateTime ea
24352435
holidays,
24362436
new[]
24372437
{
2438-
sunday, monday, tuesday, wednesday, thursday, friday, saturday
2438+
sunday,
2439+
monday,
2440+
tuesday,
2441+
wednesday,
2442+
thursday,
2443+
friday,
2444+
saturday
24392445
}.ToDictionary(x => x.DayOfWeek),
24402446
earlyCloses,
2441-
lateOpens);
2447+
lateOpens
2448+
);
24422449

24432450
return exchangeHours;
24442451
}

0 commit comments

Comments
 (0)