@@ -75,6 +75,8 @@ Please follow the [installation procedure](#installation--usage) and then run th
7575#### Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
7676#### See configuration.py for a list of all supported configuration parameters.
7777
78+ ### EOD Data By Exchange and Date
79+
7880``` python
7981from __future__ import print_function
8082
@@ -90,9 +92,9 @@ configuration = IntelligentStockMarketAPI.Configuration(
9092 apikey = " SECRET API KEY"
9193)
9294# Enter a context with an instance of the API client
93- with src. IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
95+ with IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
9496 # Create an instance of the API class
95- api_instance = IntelligentStockMarketAPI.EodApi(api_client)
97+ api_instance = IntelligentStockMarketAPI.EodApi(api_client)
9698 date = ' 2022-02-02' # str |
9799 exchange_code = ' TO' # str | "Country"="Canada", "name": "Toronto Exchange", "operating_mic": "XTSE"
98100
@@ -103,6 +105,37 @@ with src.IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
103105 print (" Exception when calling EodApi->v1_eod_date_exchange_code_get: %s \n " % e)
104106```
105107
108+
109+ ### Exchange Details with Complete Ticker List Endpoint
110+ ``` python
111+
112+ from __future__ import print_function
113+ import time
114+ import IntelligentStockMarketAPI
115+ from IntelligentStockMarketAPI.rest import ApiException
116+ from pprint import pprint
117+ # Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
118+ # See configuration.py for a list of all supported configuration parameters.
119+ configuration = IntelligentStockMarketAPI.Configuration(
120+ host = " https://gateway.eod-stock-api.site/api" ,
121+ apikey = " SECRET API KEY"
122+ )
123+
124+
125+ # Enter a context with an instance of the API client
126+ with IntelligentStockMarketAPI.ApiClient() as api_client:
127+ # Create an instance of the API class
128+ api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
129+ exchange_code = ' TO' # str | Toronto Exchange Canada
130+
131+ try :
132+ api_response = api_instance.v1_exchange_exchange_with_tickers_code_exchange_code_get(exchange_code)
133+ pprint(api_response)
134+ except ApiException as e:
135+ print (" Exception when calling ExchangesApi->v1_exchange_exchange_with_tickers_code_exchange_code_get: %s \n " % e)
136+ ```
137+
138+
106139## Documentation for API Endpoints
107140
108141All URIs are relative to * https://gateway.eod-stock-api.site/api *
0 commit comments