@@ -253,9 +253,42 @@ can be used to determine the purpose of the message.
253
253
254
254
#### Limitations
255
255
256
- The Pro tier has the ability to request a trade stream for every option contract in
257
- existence and is able to have up to 15K quote streams. The Standard tier is only allowed
258
- 5K quote streams and 10K trade streams. Other tiers do not have access to streaming at this time.
256
+ The Pro tier has the ability to request a trade stream for every option contract in existence and is able to
257
+ request up to 20K quote streams. The Standard tier can request 10K quote streams and 20K trade streams.
258
+ Other tiers do not have access to streaming at this time.
259
+
260
+ ### Option Quotes
261
+
262
+ Below requests to receive continuous updates for quote for an AAPL option contract. Notice
263
+ that these options are probably expired, so you may need to change the expiration date.
264
+
265
+ === "trade_streaming.py"
266
+
267
+ ```python
268
+ --8<-- "docs/options/quote_streaming.py"
269
+ ```
270
+
271
+ === "Output"
272
+
273
+ ```bash
274
+ > python trade_streaming.py
275
+ ---------------------------------------------------------------------------
276
+ con: root: AAPL isOption: True exp: 2023-07-21 strike: 170.0 isCall: True
277
+ quote: ms_of_day: 57061764 bid_size: 202 bid_exchange: EDGX bid_price: 6.35 bid_condition: NATIONAL_BBO ask_size: 742 ask_exchange: C2OX ask_price: 6.45 ask_condition: NATIONAL_BBO date: 2023-04-21
278
+ ---------------------------------------------------------------------------
279
+ con: root: AAPL isOption: True exp: 2023-07-21 strike: 170.0 isCall: True
280
+ quote: ms_of_day: 57061816 bid_size: 202 bid_exchange: EDGX bid_price: 6.35 bid_condition: NATIONAL_BBO ask_size: 742 ask_exchange: C2OX ask_price: 6.45 ask_condition: NATIONAL_BBO date: 2023-04-21
281
+ ---------------------------------------------------------------------------
282
+ con: root: AAPL isOption: True exp: 2023-07-21 strike: 170.0 isCall: True
283
+ quote: ms_of_day: 57061974 bid_size: 202 bid_exchange: EDGX bid_price: 6.35 bid_condition: NATIONAL_BBO ask_size: 742 ask_exchange: C2OX ask_price: 6.45 ask_condition: NATIONAL_BBO date: 2023-04-21
284
+ ---------------------------------------------------------------------------
285
+ con: root: AAPL isOption: True exp: 2023-07-21 strike: 170.0 isCall: True
286
+ quote: ms_of_day: 57061974 bid_size: 254 bid_exchange: C2OX bid_price: 6.35 bid_condition: NATIONAL_BBO ask_size: 742 ask_exchange: C2OX ask_price: 6.45 ask_condition: NATIONAL_BBO date: 2023-04-21
287
+ ---------------------------------------------------------------------------
288
+ con: root: AAPL isOption: True exp: 2023-07-21 strike: 170.0 isCall: True
289
+ quote: ms_of_day: 57062025 bid_size: 322 bid_exchange: C2OX bid_price: 6.35 bid_condition: NATIONAL_BBO ask_size: 742 ask_exchange: C2OX ask_price: 6.45 ask_condition: NATIONAL_BBO date: 2023-04-21
290
+ ---------------------------------------------------------------------------
291
+ ```
259
292
260
293
### Option Trades
261
294
@@ -328,7 +361,8 @@ available to PRO subscribers.
328
361
### Every Open Interest
329
362
330
363
Below requests to receive continuous updates for every option open interest. This method is only
331
- available to PRO subscribers.
364
+ available to PRO subscribers. Open Interest is generally reported at 06:30 ET. It is generally not updated during
365
+ the trading day.
332
366
333
367
=== "open_interest_streaming.py"
334
368
0 commit comments