I’m looking at:
For a free user, what data am I getting / where am I getting the data from for ohlcv option bars (not quotes or trades)? And is the data delayed by 15 minutes? Thanks.
I’m looking at:
For a free user, what data am I getting / where am I getting the data from for ohlcv option bars (not quotes or trades)? And is the data delayed by 15 minutes? Thanks.
@Mysterious_Shadow There is really only one data source for option data which is OPRA (Options Price Reporting Authority). They are a securities information processor registered with the SEC who collects and disseminates trade and quote data for all US exchange listed option contracts. They do not provide data for free. Due to licensing only data older than 15 minutes can be displayed without restrictions. Real time OPRA data requires an Algo Trader Plus subscription.
The free Basic market data subscription provides access to OPRA data older than 15 minutes (ie delayed 15 minutes). All bars for example are calculated with OPRA data. The free subscription simply limits queries from the most recent 15 minutes (if you do not include an end parameter in your query the system 1) looks up your data subscription then 2) defaults the end to the latest available for your subscription).
To help with debugging, when you are simply getting code to work and may not want to pay for data, Alpaca provides ‘Indicative’ data. This is actual OPRA data but randomized a bit. It’s not real data, but it’s close. This avoids licensing issues while still providing good test data. Indicative data should not be used for live trading.
So, to answer your specific question “where am I getting the data from for ohlcv option bars (not quotes or trades)? And is the data delayed by 15 minutes?” Bars are always OPRA data. One simply is blocked from fetching the most recent 15 minutes with the free Basic subscription.