Closed josephchenhk closed 2 years ago
You can put "GC" into assets.yml and use GC1 Comdty / GC2 Comdty to get first / second month of futures data. For now, using futures contract (GC) + exact month (Z1) is not supported yet.
You can put "GC" into assets.yml and use GC1 Comdty / GC2 Comdty to get first / second month of futures data. For now, using futures contract (GC) + exact month (Z1) is not supported yet.
Thanks! It works now. BTW, I could also use 'ref' to identify the exchange info.
Just would like to confirm: bbg only allows for retrieving 3 months 1-min bar data, right? Because if I specify the date earlier, I just received nothing.
Appreciate if any workarounds that could download historical 1 min bar data longer than 3 months. Thanks.
Sometimes up to 6-month data, depending on Bloomberg intraday data availability.
Tried to put "GC"/"GC1"/"GCZ" to assets.yml in Comdty, and used the following code to retrieve intraday bar data:
But just returned empty data. Any advice?