xquantipy.economics package

Submodules

xquantipy.economics.analysis module

class xquantipy.economics.analysis.Analysis(macros)[source]

Bases: object

A class to perform the analysis on macros … Attributes: macros : list

list of macros objects

Methods: get_merged_GDP(self, period=constants.PERIOD)

get the merged GDP data for the object macros

visualize(self, filter=None, period=constants.PERIOD)

get visualization for gdp of the object macros

get_merged_macro(filter=None, period='10Y')[source]

Summary: A method to get the merged gdp dataframe for the object macros

Parameters: filter : str

a string for filter

periodstr

a string for period: “10Y”

Return: merged_df : DataFrame

returns the DataFrame with the merged GDP

visualize(filter=None, period='10Y')[source]

Summary: A method to get visualization for gdp of the object macros

Parameters: filter : str

a string for filter

periodstr

a string for period: “10Y”

Return: plt : module

returns the object displays the matplotlib plot of the graph

xquantipy.economics.macro module

Module contents