-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: update docs for options trading
- Loading branch information
Showing
12 changed files
with
647 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
================== | ||
Option Market Data | ||
================== | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
option/historical | ||
option/live | ||
option/requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
=============== | ||
Historical Data | ||
=============== | ||
|
||
OptionHistoricalDataClient | ||
-------------------------- | ||
|
||
.. autoclass:: alpaca.data.historical.option.OptionHistoricalDataClient | ||
:members: __init__ | ||
|
||
|
||
Get Option Latest Quote | ||
----------------------- | ||
|
||
.. automethod:: alpaca.data.historical.option.OptionHistoricalDataClient.get_option_latest_quote | ||
|
||
|
||
Get Option Latest Trade | ||
----------------------- | ||
|
||
.. automethod:: alpaca.data.historical.option.OptionHistoricalDataClient.get_option_latest_trade | ||
|
||
|
||
Get Option Snapshot | ||
------------------- | ||
|
||
.. automethod:: alpaca.data.historical.option.OptionHistoricalDataClient.get_option_snapshot | ||
|
||
|
||
Get Option Chain | ||
---------------- | ||
|
||
.. automethod:: alpaca.data.historical.option.OptionHistoricalDataClient.get_option_chain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
============== | ||
Real-Time Data | ||
============== | ||
|
||
|
||
OptionDataStream | ||
---------------- | ||
|
||
.. autoclass:: alpaca.data.live.option.OptionDataStream | ||
:members: | ||
:inherited-members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
======== | ||
Requests | ||
======== | ||
|
||
|
||
OptionLatestQuoteRequest | ||
------------------------ | ||
|
||
.. autoclass:: alpaca.data.requests.OptionLatestQuoteRequest | ||
|
||
|
||
OptionLatestTradeRequest | ||
------------------------ | ||
|
||
.. autoclass:: alpaca.data.requests.OptionLatestTradeRequest | ||
|
||
|
||
OptionSnapshotRequest | ||
--------------------- | ||
|
||
.. autoclass:: alpaca.data.requests.OptionSnapshotRequest | ||
|
||
|
||
OptionChainRequest | ||
------------------ | ||
|
||
.. autoclass:: alpaca.data.requests.OptionChainRequest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ Market Data Reference | |
|
||
data/stock | ||
data/crypto | ||
data/option | ||
data/timeframe | ||
data/models | ||
data/enums | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
========= | ||
Contracts | ||
========= | ||
|
||
The option contracts endpoints allow you to view the list of option contracts available on Alpaca for market data and trading. | ||
|
||
Get Option Contracts | ||
-------------------- | ||
|
||
.. automethod:: alpaca.trading.client.TradingClient.get_option_contracts | ||
|
||
|
||
Get Option Contract | ||
------------------- | ||
|
||
.. automethod:: alpaca.trading.client.TradingClient.get_option_contract | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.