Support Board
Date/Time: Wed, 27 Nov 2024 08:52:07 +0000
Cusotm symbol for CRUDE --- front month vs spreads
View Count: 368
[2023-08-30 00:44:55] |
DayTraderEsad - Posts: 121 |
Hey guys, I'm trying to create a custom symbol for crude -- but I keep getting an error. I did the below under Symbol Settings and created my own, I set under Custom Symbol. I have also attached a picture of an example. Am I doing this right, as it loads only a single bar and keeps telling me no continuities futures contract symbols. I copied the error at the end. {CLV23_FUT_CME}-4*{CLZ23-CLZ24.FUT_SPREAD.CME} {CLV23_FUT_CME}-4*{CLZ23-CLZ24.FUT_SPREAD.CME} [CBV-D][FSC] 10 Min #1 | No contract months found for symbol. Unable to build continuous futures contract chart. | 2023-08-29 17:38:57.176 {CLV23_FUT_CME}-4*{CLZ23-CLZ24.FUT_SPREAD.CME} [CBV-D][FSC] 10 Min #1 | There are no continuous futures contract symbols. Loading data normally. | 2023-08-29 17:38:57.176 |
symbol.jpg / V - Attached On 2023-08-30 00:40:35 UTC - Size: 82.94 KB - 91 views |
[2023-08-30 12:33:42] |
DayTraderEsad - Posts: 121 |
Also here is the basic code in Python which is pulling just the closing price on a daily. I am just trying to recreate this to have a live intraday chart clm24 = nasdaqdatalink.get("BCICE/WIM2024", authtoken="insert api key") clz24 = nasdaqdatalink.get("BCICE/WIZ2024", authtoken="insert api key") clz23 = nasdaqdatalink.get("BCICE/WIM2024", authtoken="insert api key") clz3mz4 = clz23['Close'] - (clm24['Close'] - clz24['Close'])*4 plot.line(clz3mz4.index,clz23['Close'] - (clm24['Close'] - clz24['Close'])*4,line_color="black", legend_label = "CL Z23 vs M4Z4, 1 x 4", line_width=1.0) |
[2023-08-31 20:06:55] |
Sierra_Chart Engineering - Posts: 17191 |
Make sure this setting is set to None for that custom spread chart: Chart Settings: Continuous Contract (Chart >> Chart Settings >> Symbol >> Symbol menu) And for historical data follow the instructions here: Custom Calculated Symbols: Resolving Missing Historical Data Issue Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
To post a message in this thread, you need to log in with your Sierra Chart account: