zvtvz/zvt

NameError: name 'get_finance_factor' is not defined

todaygood opened this issue · 1 comments

Hi,

I ran the example :
In [12]: from zvt.domain import *
In [13]: df = get_finance_factor(entity_id='stock_sz_000338',columns=FinanceFactor.important_cols())

In [14]: df.tail()
but throw out "NameError: name 'get_finance_factor' is not defined" , My zvt code is zvt master.

Use these style:
{schema}.record_data
{schema}.query_data
`

from zvt.domain import *
FinanceFactor.record_data(entity_id='stock_sz_000338')
df = FinanceFacto.query_datar(entity_id='stock_sz_000338',columns=FinanceFactor.important_cols())
`