should show options, but I don't have access
This commit is contained in:
parent
452c988a01
commit
e90d54b237
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
from __future__ import print_function
|
||||
import time
|
||||
import intrinio_sdk as intrinio
|
||||
from intrinio_sdk.rest import ApiException
|
||||
|
||||
intrinio.ApiClient().set_api_key('OjZjZGIzZmYyNDg4NDZjYjQ4NzAzMzAyZjg0OTU5MDcz')
|
||||
intrinio.ApiClient().allow_retries(True)
|
||||
|
||||
symbol = 'MSFT'
|
||||
expiration = '2023-01-20'
|
||||
source = ''
|
||||
type = ''
|
||||
moneyness = ''
|
||||
|
||||
response = intrinio.OptionsApi().get_options_chain_realtime(symbol, expiration, source=source, type=type, moneyness=moneyness)
|
||||
print(response)
|
Loading…
Reference in New Issue