Exchange
Access exchange information from FIO.
Exchange
Bases: AbstractExchange
, AbstractEndpoint
get
Gets a single exchange ticker from FIO
Parameters:
Name | Type | Description | Default |
---|---|---|---|
exchange_ticker |
str
|
Exchange Ticker (e.g., "DW.AI1") |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
ExchangeTickerNotFound
|
Exchange ticker was not found |
Returns:
Name | Type | Description |
---|---|---|
ExchangeTicker |
ExchangeTickerFull
|
Exchange ticker |
Source code in fio_wrapper/endpoints/endpoints_v1/exchange.py
all
Gets all simple exchange ticker from FIO
Parameters:
Name | Type | Description | Default |
---|---|---|---|
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Returns:
Name | Type | Description |
---|---|---|
ExchangeTickerList |
ExchangeTickerList
|
Exchange ticker |
Source code in fio_wrapper/endpoints/endpoints_v1/exchange.py
full
Gets a complete list of all exchange information from FIO
Parameters:
Name | Type | Description | Default |
---|---|---|---|
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Returns:
Name | Type | Description |
---|---|---|
ExchangeTickerFullList |
ExchangeTickerFullList
|
Exchange ticker full |
Source code in fio_wrapper/endpoints/endpoints_v1/exchange.py
get_orders
Gets a companies order data from FIO
Parameters:
Name | Type | Description | Default |
---|---|---|---|
company_code |
str
|
Company code (1-4 characters) |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Returns:
Name | Type | Description |
---|---|---|
OrderList |
OrderList
|
Orders |
Source code in fio_wrapper/endpoints/endpoints_v1/exchange.py
get_orders_exchange
Gets a companies order data for a specific exchange from FIO
Parameters:
Name | Type | Description | Default |
---|---|---|---|
company_code |
str
|
Company code (1-4 characters) |
required |
exchange_code |
str
|
Exchange code (e.g., "AI1") |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Returns:
Name | Type | Description |
---|---|---|
OrderList |
OrderList
|
Orders |