Business entities and utils¶
Business entities¶
-
class
EodDataExchange
(code, name, last_trade_time, country_code, currency, advances, declines, timezone, suffix='', is_intraday=False, intraday_start_date=None, has_intraday=False)[source]¶ EodData Exchange.
-
code
¶ str – Exchange code
-
name
¶ str – Datetime of the last trade
-
last_trade_time
¶ datetime – Datetime of the last trade
-
country_code
¶ str – Code of the country where this exchange is situated
-
currency
¶ str – Exchange currency
-
advances
¶ int – Advances count
-
declines
¶ int – Declines count
-
suffix
¶ str – Exchange suffix
-
timezone
¶ str – Exchange timezone
-
is_intraday
¶ bool – Availability of intraday data.
-
intraday_start_date
¶ datetime or None – Intraday data availability start date.
-
has_intraday
¶ bool – Indicates if EodData has intraday data for this exchange.
-
-
class
EodDataQuoteCompact
(symbol, quote_datetime, open, high, low, close, volume, open_interest, before, after)[source]¶ EodData quote.
-
symbol
¶ str – Symbol.
-
quote_datetime
¶ datetime – Quote datetime.
-
open
¶ float – Open price.
-
high
¶ float – High price.
-
low
¶ float – Low price.
-
close
¶ float – Close price.
-
volume
¶ int – Traded volume.
-
open_interest
¶ int – Open interest.
-
before
¶ float
-
after
¶ float
-
classmethod
from_xml
(xml_quote)[source]¶ Get instance from xml.
Returns: EodDataQuoteCompact instance or None.
-
symbol
= None¶ Security symbol
-
-
class
EodDataQuoteExtended
(symbol, quote_datetime, open, high, low, close, volume, open_interest, previous, change, bid, ask, modified, previous_close=0, next_open=0, name='', description='')[source]¶ EodData extended quote.
-
symbol
¶ str – Symbol.
-
quote_datetime
¶ datetime – Quote datetime.
-
open
¶ float – Open price.
-
high
¶ float – High price.
-
low
¶ float – Low price.
-
close
¶ float – Close price.
-
volume
¶ int – Traded volume.
-
open_interest
¶ int – Open interest.
-
previous
¶ float – Previous close price.
-
change
¶ float – Change from previous close.
-
bid
¶ float – Bid price.
-
ask
¶ float – Ask price.
-
modified
¶ datetime – Time of the last update for this security.
-
name
¶ str – Full name of a traded asset.
-
description
¶ str – Description.
-
df_columns
¶ tuple of str – Data frame columns (static attribute).
-