Is it possible to work out the name of the Epic for an upcoming Futures market?
I'll use natural gas as an example. In June 2023 I use the API companion and see the July and August futures (see below). What will the epic be named that expires in SEP-23 ? Indirectly I guess I am also asking is the "Month1" part of the AUG-23 epic (for example) going to change ?
{
"delayTime": 0,
"epic": "EN.D.NG.Month2.IP", "netChange": 23.0,
"lotSize": 10,
"expiry": "JUL-23", "instrumentType": "COMMODITIES",
"instrumentName": "Natural Gas",
"high": 2697.0,
"low": 2628.0,
"percentageChange": 0.86,
"updateTime": "39340000",
"updateTimeUTC": "10:55:40",
"bid": 2680.0,
"offer": 2690.0,
"otcTradeable": true,
"streamingPricesAvailable": true,
"marketStatus": "TRADEABLE",
"scalingFactor": 1
}, {
"delayTime": 0,
"epic": "EN.D.NG.Month1.IP", "netChange": 21.0,
"lotSize": 10,
"expiry": "AUG-23", "instrumentType": "COMMODITIES",
"instrumentName": "Natural Gas",
"high": 2784.0,
"low": 2718.0,
"percentageChange": 0.76,
"updateTime": "39340000",
"updateTimeUTC": "10:55:40",
"bid": 2767.0,
"offer": 2777.0,
"otcTradeable": true,
"streamingPricesAvailable": true,
"marketStatus": "TRADEABLE",
"scalingFactor": 1
}