Content Factory

Import & Initialize

from finter.data import ContentFactory

# For stock data
content_factory = ContentFactory(universe_name="kr_stock", start=20230101, end=20230131)
# Explore available data (ipywidgets needed)
content_factory.show()

# Available Data with list
content_factory.item_list

Get Specific Content Model (CM)

# Get Content Model (data)
df = content_factory.get_df('price_close')

Get CM with full CM name

from finter.data import ContentFactory

# For using with full cm name
content_factory = ContentFactory(universe_name="raw", 20230101, 20230131)

df = content_factory.get_df('content.fnguide.ftp.price_volume.price_close.1d')

Last updated