Skip to content

Latest commit

 

History

History
120 lines (94 loc) · 4.42 KB

quantity.rst

File metadata and controls

120 lines (94 loc) · 4.42 KB

Quantity and price Indicators

Init Function:

from indicator.technology.quantity import * import tushare as ts pro = ts.pro_api('59e1f90437c021fb31c99c20d08493070f17305afe606fdf0ef89f37') df = pro.daily(ts_code='000001.SZ', start_date='20180701', end_date='20190718') df['volume'] = df['vol'] df.tail() dp = pro.daily(ts_code='000001.SZ', start_date='20180701', end_date='20190718') dp['volume'] = dp['vol'] dp.tail()