jinx package¶
Submodules¶
jinx.base module¶
jinx.exceptions module¶
-
exception
jinx.exceptions.JinxAuthenticationError(msg)[source]¶ Bases:
ExceptionThis error is thrown when there is an authentication issue with an IEX cloud request.
jinx.stock module¶
-
class
jinx.stock.Stock(symbol=None, **kwargs)[source]¶ Bases:
jinx.base._JinxBaseBase class for obtaining data abouot a stock from IEX.
-
get_balance_sheet(period='quarter', last=1)[source]¶ Pulls balance sheet data. Available quarterly or annually.
Reference: https://iexcloud.io/docs/api/#balance-sheet
Data Weighting:
3000per symbol per periodParameters: - period (str, default
quarter, optional) – Allows you to specify annual or quarterly cash flows. Defaults to quarterly. Values should beannualorquarter. - last (int, default
1, optional) – Specify the number of quarters or years to return. One quarter is returned by default. You can specify up to 12 quarters withquarter, or up to 4 years withannual.
Returns: Stocks Balance Sheet endpoint data
Return type: - period (str, default
-
get_cash_flow(period='quarter', last=1)[source]¶ Pulls cash flow data. Available quarterly or annually.
Reference: https://iexcloud.io/docs/api/#cash-flow
Data Weighting:
1000per symbol per periodParameters: - period (str, default
quarter, optional) – Allows you to specify annual or quarterly cash flows. Defaults to quarterly. Values should beannualorquarter. - last (int, default
1, optional) – Specify the number of quarters or years to return. One quarter is returned by default. You can specify up to 12 quarters withquarter, or up to 4 years withannual.
Returns: Stocks Cash Flow endpoint data
Return type: - period (str, default
-
get_company()[source]¶ Gets company data about the stock.
Reference: https://iexcloud.io/docs/api/#company
Data Weighting:
1per symbolReturns: Company data Return type: dict
-
get_income_statement(period='quarter', last=1)[source]¶ Pulls income statement data. Available quarterly or annually.
Reference: https://iexcloud.io/docs/api/#income-statement
Data Weighting:
1000per symbol per periodParameters: - period (str, default
quarter, optional) – Allows you to specify annual or quarterly cash flows. Defaults to quarterly. Values should be annual or quarter. - last (int, default
1, optional) – Specify the number of quarters or years to return. One quarter is returned by default. You can specify up to 12 quarters withquarter, or up to 4 years withannual.
Returns: Stocks Income Statement endpoint data
Return type: - period (str, default
-
get_latest_financial_report_date()[source]¶ Gets report date of latest financial report using data points.
Reference: https://iexcloud.io/docs/api/#data-points
Data Weighting:
1Returns: Dictionary with one key: latestFinancialReportDateReturn type: dict
-