Hi everyone,
I have a question regarding data retrieval by periods. Over here, is the equivalent of what I am trying to do, just that it is using get_data() instead of get_data_async(). This is an example that I can't make asynchronous:
quarterly_revenue = rd.get_history(
universe=[f"{ticker}"],
fields=["TR.Revenue"],
parameters={'Period': period},
start=str(year),
end=str(year),
);
# Where Period is in the format: FQ-4, FQ-3 , etc
# Data is being retrieved for each quarter of the year this way
And another:
profitability_analysis = rd.get_history(
universe=[f'{ticker}'],
fields=['TR.F.IncAfterTaxMargPct','TR.RevenueActValue','TR.F.TotAssets','TR.F.LTDebtPctofTotEq','TR.F.TotDebtPctofTotEq'],
parameters={'Period': f"FY{yq_counter}"},
);
# Where Period is in the format: FQ-4, FQ-3 , etc
Thanks!