LSEG Workspace#
LSEG Workspace (London Stock Exchange Group) is a professional financial data platform providing access to real-time and historical market data, financial statements, analytics, and news across global asset classes, offering integration exclusively to active subscribers who possess a valid subscription and a registered App Key.
This library integrates LSEG through the
LSEG Data Library for Python
(lseg-data package), which connects to the platform either through the LSEG Workspace
desktop application or directly through the LSEG Data Platform.
Workspace must be running
The LSEG Workspace desktop application must be open and running on the same machine as your Python code when using the Data Curator with this provider. If Workspace is closed, all data requests will fail.
LSEG Features#
Market Data#
Historical end-of-day time series for a wide range of global instruments, including equities (stocks, ETFs), indexes, fixed income, foreign exchange, commodities, and funds.
Price fields available per instrument: Open, High, Low, Close, Volume, and VWAP. Prices are provided in two variants: unadjusted and split-adjusted. See the Market Data below for the exact TR tags corresponding to each variant.
Corporate Actions#
Dividends: ex-date, pay date, record date, declaration date, gross and adjusted amounts.
Splits: ex-date, numerator and denominator of the split ratio.
Fundamentals#
Standardized quarterly financial statements for public companies:
Income Statements
Balance Sheets
Cash Flow Statements
All fundamental TR fields use Period=FQ0.
See the Fundamentals below for the exact TR tags.
Setup#
Requirements: An active LSEG Workspace subscription.
Step 1 - Generate your App Key
The App Key is generated from inside LSEG Workspace:
Open the LSEG Workspace application.
In the search bar, type App Key Generator and open it.
In the App Key Generator, enter a display name for your application and click Register New App.
Select (at minimum) the first three API checkboxes to enable data access.
Copy the generated App Key.
Note
The App Key Generator was previously called App Creator in earlier versions of LSEG Workspace / Eikon. The functionality is equivalent.
Step 2 - Add the App Key to your .env file
In your project’s Config/.env file, add:
KNDC_APP_KEY_LSEG=your_app_key_here
Step 3 - Keep Workspace open
When running Data Curator with the LSEG provider, ensure the LSEG Workspace desktop application is open and you are signed in before executing any data requests.
Market Data#
Data Curator Tag |
LSEG Field |
|---|---|
m_close |
|
m_close_split_adjusted |
|
m_date |
|
m_high |
|
m_high_split_adjusted |
|
m_low |
|
m_low_split_adjusted |
|
m_open |
|
m_open_split_adjusted |
|
m_volume |
|
m_vwap |
|
Dividends#
Data Curator Tag |
LSEG Field |
|---|---|
d_declaration_date |
|
d_dividend |
|
d_dividend_split_adjusted |
|
d_ex_dividend_date |
|
d_payment_date |
|
d_record_date |
|
Splits#
Data Curator Tag |
LSEG Field |
|---|---|
s_denominator |
|
s_numerator |
|
s_split_date |
|
Fundamentals#
Data Curator Tag |
LSEG Field |
|---|---|
f_filing_date |
|
f_period_end_date |
|
Income#
Data Curator Tag |
LSEG Field |
|---|---|
fis_basic_earnings_per_share |
|
fis_basic_net_income_available_to_common_stockholders |
|
fis_continuing_operations_income_after_tax |
|
fis_cost_of_revenue |
|
fis_costs_and_expenses |
|
fis_depreciation_and_amortization |
|
fis_diluted_earnings_per_share |
|
fis_discontinued_operations_income_after_tax |
|
fis_earnings_before_interest_and_tax |
|
fis_earnings_before_interest_tax_depreciation_and_amortization |
|
fis_general_and_administrative_expense |
|
fis_gross_profit |
|
fis_income_before_tax |
|
fis_income_tax_expense |
|
fis_interest_expense |
|
fis_interest_income |
|
fis_net_income |
|
fis_net_income_deductions |
|
fis_net_interest_income |
|
fis_net_total_other_income |
|
fis_operating_expenses |
|
fis_operating_income |
|
fis_other_expenses |
|
fis_other_net_income_adjustments |
|
fis_research_and_development_expense |
|
fis_revenues |
|
fis_selling_and_marketing_expense |
|
fis_selling_general_and_administrative_expense |
|
fis_weighted_average_basic_shares_outstanding |
|
fis_weighted_average_diluted_shares_outstanding |
|
Balance Sheet#
Data Curator Tag |
LSEG Field |
|---|---|
fbs_accumulated_other_comprehensive_income_after_tax |
|
fbs_additional_paid_in_capital |
|
fbs_assets |
|
fbs_capital_lease_obligations |
|
fbs_cash_and_cash_equivalents |
|
fbs_cash_and_shortterm_investments |
|
fbs_common_stock_value |
|
fbs_current_accounts_payable |
|
fbs_current_accounts_receivable_after_doubtful_accounts |
|
fbs_current_accrued_expenses |
|
fbs_current_assets |
|
fbs_current_capital_lease_obligations |
|
fbs_current_liabilities |
|
fbs_current_net_receivables |
|
fbs_current_tax_payables |
|
fbs_deferred_revenue |
|
fbs_goodwill |
|
fbs_investments |
|
fbs_liabilities |
|
fbs_longterm_debt |
|
fbs_longterm_investments |
|
fbs_net_debt |
|
fbs_net_intangible_assets_excluding_goodwill |
|
fbs_net_intangible_assets_including_goodwill |
|
fbs_net_inventory |
|
fbs_net_property_plant_and_equipment |
|
fbs_noncontrolling_interest |
|
fbs_noncurrent_assets |
|
fbs_noncurrent_capital_lease_obligations |
|
fbs_noncurrent_deferred_revenue |
|
fbs_noncurrent_deferred_tax_assets |
|
fbs_noncurrent_deferred_tax_liabilities |
|
fbs_noncurrent_liabilities |
|
fbs_other_assets |
|
fbs_other_current_assets |
|
fbs_other_current_liabilities |
|
fbs_other_liabilities |
|
fbs_other_noncurrent_assets |
|
fbs_other_noncurrent_liabilities |
|
fbs_other_payables |
|
fbs_other_receivables |
|
fbs_other_stockholder_equity |
|
fbs_preferred_stock_value |
|
fbs_prepaid_expenses |
|
fbs_retained_earnings |
|
fbs_shortterm_debt |
|
fbs_shortterm_investments |
|
fbs_stockholder_equity |
|
fbs_total_debt_including_capital_lease_obligations |
|
fbs_total_equity_including_noncontrolling_interest |
|
fbs_total_liabilities_and_equity |
|
fbs_total_payables_current_and_noncurrent |
|
fbs_treasury_stock_value |
|
Cash Flow#
Data Curator Tag |
LSEG Field |
|---|---|
fcf_accounts_payable_change |
|
fcf_accounts_receivable_change |
|
fcf_capital_expenditure |
|
fcf_cash_and_cash_equivalents_change |
|
fcf_cash_exchange_rate_effect |
|
fcf_common_stock_dividend_payments |
|
fcf_common_stock_issuance_proceeds |
|
fcf_common_stock_repurchase |
|
fcf_deferred_income_tax |
|
fcf_depreciation_and_amortization |
|
fcf_dividend_payments |
|
fcf_free_cash_flow |
|
fcf_interest_payments |
|
fcf_inventory_change |
|
fcf_investment_sales_maturities_and_collections_proceeds |
|
fcf_investments_purchase |
|
fcf_net_business_acquisition_payments |
|
fcf_net_cash_from_financing_activities |
|
fcf_net_cash_from_investing_activities |
|
fcf_net_cash_from_operating_activities |
|
fcf_net_common_stock_issuance_proceeds |
|
fcf_net_debt_issuance_proceeds |
|
fcf_net_income |
|
fcf_net_income_tax_payments |
|
fcf_net_longterm_debt_issuance_proceeds |
|
fcf_net_shortterm_debt_issuance_proceeds |
|
fcf_net_stock_issuance_proceeds |
|
fcf_other_financing_activities |
|
fcf_other_investing_activities |
|
fcf_other_noncash_items |
|
fcf_other_working_capital |
|
fcf_period_end_cash |
|
fcf_period_start_cash |
|
fcf_preferred_stock_dividend_payments |
|
fcf_preferred_stock_issuance_proceeds |
|
fcf_property_plant_and_equipment_purchase |
|
fcf_stock_based_compensation |
|
fcf_working_capital_change |
|