Skip to content

Commit 86e013d

Browse files
Update Documentation
Exchange Documentations
1 parent 3e8c887 commit 86e013d

File tree

1 file changed

+37
-41
lines changed

1 file changed

+37
-41
lines changed

src/docs/ExchangesApi.md

Lines changed: 37 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,21 @@ given exchange_id or exchange_code code will return exchange_code data
2020

2121
```python
2222
from __future__ import print_function
23-
import src.IntelligentStockMarketAPI
24-
from src.IntelligentStockMarketAPI.rest import ApiException
23+
import IntelligentStockMarketAPI
24+
from IntelligentStockMarketAPI.rest import ApiException
2525
from pprint import pprint
2626
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
2727
# See configuration.py for a list of all supported configuration parameters.
28-
configuration = src.IntelligentStockMarketAPI.Configuration(
28+
configuration = IntelligentStockMarketAPI.Configuration(
2929
host = "https://gateway.eod-stock-api.site/api",
3030
api_key= "API KEY"
3131
)
3232

3333

3434
# Enter a context with an instance of the API client
35-
with src.IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
35+
with IntelligentStockMarketAPI.ApiClient(configuration) as api_client:
3636
# Create an instance of the API class
37-
api_instance = src.IntelligentStockMarketAPI.ExchangesApi(api_client)
37+
api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
3838
exchange_code = 'TO' # str | Code is for Toronto Stock Exchange - see list of exchanges for complete list of codes
3939

4040
try:
@@ -71,32 +71,28 @@ api_key -> can be obtained from our website at https://eod-stock-api.site
7171

7272
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
7373

74-
# **v1_exchange_exchange_with_tickers_code_exchange_code_get**
75-
> ExchangeWithListedTickers v1_exchange_exchange_with_tickers_code_exchange_code_get(exchange_code)
76-
77-
74+
# **Get Exchange With Its Ticker Symbols**
7875

7976
Exchange Data with a total list of stock_codes and stock_id's
8077

8178
### Example
8279

8380
```python
8481
from __future__ import print_function
85-
import time
86-
import src.IntelligentStockMarketAPI
87-
from src.IntelligentStockMarketAPI.rest import ApiException
82+
import IntelligentStockMarketAPI
83+
from IntelligentStockMarketAPI.rest import ApiException
8884
from pprint import pprint
8985
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
9086
# See configuration.py for a list of all supported configuration parameters.
91-
configuration = src.IntelligentStockMarketAPI.Configuration(
87+
configuration = IntelligentStockMarketAPI.Configuration(
9288
host = "https://gateway.eod-stock-api.site/api"
9389
)
9490

9591

9692
# Enter a context with an instance of the API client
97-
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
93+
with IntelligentStockMarketAPI.ApiClient() as api_client:
9894
# Create an instance of the API class
99-
api_instance = src.IntelligentStockMarketAPI.ExchangesApi(api_client)
95+
api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
10096
exchange_code = 'exchange_code_example' # str |
10197

10298
try:
@@ -144,20 +140,20 @@ given exchange_id or exchange_code code will return exchange_code data
144140
```python
145141
from __future__ import print_function
146142
import time
147-
import src.IntelligentStockMarketAPI
148-
from src.IntelligentStockMarketAPI.rest import ApiException
143+
import IntelligentStockMarketAPI
144+
from IntelligentStockMarketAPI.rest import ApiException
149145
from pprint import pprint
150146
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
151147
# See configuration.py for a list of all supported configuration parameters.
152-
configuration = src.IntelligentStockMarketAPI.Configuration(
148+
configuration = IntelligentStockMarketAPI.Configuration(
153149
host = "https://gateway.eod-stock-api.site/api"
154150
)
155151

156152

157153
# Enter a context with an instance of the API client
158-
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
154+
with IntelligentStockMarketAPI.ApiClient() as api_client:
159155
# Create an instance of the API class
160-
api_instance = src.IntelligentStockMarketAPI.ExchangesApi(api_client)
156+
api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
161157
exchange_id = 'exchange_id_example' # str |
162158

163159
try:
@@ -205,20 +201,20 @@ returns a list of listed companies in exchange_code
205201
```python
206202
from __future__ import print_function
207203
import time
208-
import src.IntelligentStockMarketAPI
209-
from src.IntelligentStockMarketAPI.rest import ApiException
204+
import IntelligentStockMarketAPI
205+
from IntelligentStockMarketAPI.rest import ApiException
210206
from pprint import pprint
211207
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
212208
# See configuration.py for a list of all supported configuration parameters.
213-
configuration = src.IntelligentStockMarketAPI.Configuration(
209+
configuration = IntelligentStockMarketAPI.Configuration(
214210
host = "https://gateway.eod-stock-api.site/api"
215211
)
216212

217213

218214
# Enter a context with an instance of the API client
219-
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
215+
with IntelligentStockMarketAPI.ApiClient() as api_client:
220216
# Create an instance of the API class
221-
api_instance = src.IntelligentStockMarketAPI.ExchangesApi(api_client)
217+
api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
222218
exchange_code = 'exchange_code_example' # str |
223219

224220
try:
@@ -266,20 +262,20 @@ returns a list of listed stocks in exchange_code
266262
```python
267263
from __future__ import print_function
268264
import time
269-
import src.IntelligentStockMarketAPI
270-
from src.IntelligentStockMarketAPI.rest import ApiException
265+
import IntelligentStockMarketAPI
266+
from IntelligentStockMarketAPI.rest import ApiException
271267
from pprint import pprint
272268
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
273269
# See configuration.py for a list of all supported configuration parameters.
274-
configuration = src.IntelligentStockMarketAPI.Configuration(
270+
configuration = IntelligentStockMarketAPI.Configuration(
275271
host = "https://gateway.eod-stock-api.site/api"
276272
)
277273

278274

279275
# Enter a context with an instance of the API client
280-
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
276+
with IntelligentStockMarketAPI.ApiClient() as api_client:
281277
# Create an instance of the API class
282-
api_instance = src.IntelligentStockMarketAPI.ExchangesApi(api_client)
278+
api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
283279
exchange_code = 'exchange_code_example' # str |
284280

285281
try:
@@ -327,21 +323,21 @@ given exchange_code data create new exchange_code
327323
```python
328324
from __future__ import print_function
329325
import time
330-
import src.IntelligentStockMarketAPI
331-
from src.IntelligentStockMarketAPI.rest import ApiException
326+
import IntelligentStockMarketAPI
327+
from IntelligentStockMarketAPI.rest import ApiException
332328
from pprint import pprint
333329
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
334330
# See configuration.py for a list of all supported configuration parameters.
335-
configuration = src.IntelligentStockMarketAPI.Configuration(
331+
configuration = IntelligentStockMarketAPI.Configuration(
336332
host = "https://gateway.eod-stock-api.site/api"
337333
)
338334

339335

340336
# Enter a context with an instance of the API client
341-
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
337+
with IntelligentStockMarketAPI.ApiClient() as api_client:
342338
# Create an instance of the API class
343-
api_instance = src.IntelligentStockMarketAPI.ExchangesApi(api_client)
344-
body = src.IntelligentStockMarketAPI.ExchangeRequest() # ExchangeRequest | (optional)
339+
api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
340+
body = IntelligentStockMarketAPI.ExchangeRequest() # ExchangeRequest | (optional)
345341

346342
try:
347343
api_response = api_instance.v1_exchange_post(body=body)
@@ -388,20 +384,20 @@ returns a list of exchanges
388384
```python
389385
from __future__ import print_function
390386
import time
391-
import src.IntelligentStockMarketAPI
392-
from src.IntelligentStockMarketAPI.rest import ApiException
387+
import IntelligentStockMarketAPI
388+
from IntelligentStockMarketAPI.rest import ApiException
393389
from pprint import pprint
394390
# Defining the host is optional and defaults to https://gateway.eod-stock-api.site/api
395391
# See configuration.py for a list of all supported configuration parameters.
396-
configuration = src.IntelligentStockMarketAPI.Configuration(
392+
configuration = IntelligentStockMarketAPI.Configuration(
397393
host = "https://gateway.eod-stock-api.site/api"
398394
)
399395

400396

401397
# Enter a context with an instance of the API client
402-
with src.IntelligentStockMarketAPI.ApiClient() as api_client:
398+
with IntelligentStockMarketAPI.ApiClient() as api_client:
403399
# Create an instance of the API class
404-
api_instance = src.IntelligentStockMarketAPI.ExchangesApi(api_client)
400+
api_instance = IntelligentStockMarketAPI.ExchangesApi(api_client)
405401

406402
try:
407403
api_response = api_instance.v1_exchanges_get()

0 commit comments

Comments
 (0)