Esempio n. 1
0
#!/usr/bin/env python
# -*- coding:utf-8
"""
Author:  Hao Li
Email: [email protected]
Github: https://github.com/SAmmer0
Created: 2018-07-17 13:34
"""
from sys import path as sys_path
from os.path import dirname

from tdtools import trans_date
from pitdata.const import CALCULATION_FOLDER_PATH, DataType
from pitdata import DataDescription
if CALCULATION_FOLDER_PATH not in sys_path:
    sys_path.append(dirname(CALCULATION_FOLDER_PATH))
from fundamental_template import xps_shift_factory

dd = DataDescription(xps_shift_factory('ISY', 'NPParentCompanyOwners', 2, 4),
                     trans_date('2018-07-17'),
                     DataType.PANEL_NUMERIC,
                     dep=['UNIVERSE', 'LIST_STATE'],
                     desc='上一个财年的EPS=上一个财年归属母公司的净利润/总股本')
Esempio n. 2
0
#!/usr/bin/env python
# -*- coding:utf-8
"""
Author:  Hao Li
Email: [email protected]
Github: https://github.com/SAmmer0
Created: 2018-07-16 17:04
"""
from sys import path as sys_path
from os.path import dirname

from tdtools import trans_date
from pitdata.const import CALCULATION_FOLDER_PATH, DataType
from pitdata import DataDescription
if CALCULATION_FOLDER_PATH not in sys_path:
    sys_path.append(dirname(CALCULATION_FOLDER_PATH))
from fundamental_template import xps_shift_factory 

dd = DataDescription(xps_shift_factory('ISY', 'NPParentCompanyOwners', 1, 4), trans_date('2018-07-16'),
                     DataType.PANEL_NUMERIC, dep=['UNIVERSE', 'LIST_STATE'], 
                     desc='最近一个年度的EPS=归属母公司的净利润/总股本')

Esempio n. 3
0
#!/usr/bin/env python
# -*- coding:utf-8
"""
Author:  Hao Li
Email: [email protected]
Github: https://github.com/SAmmer0
Created: 2018-07-17 13:41
"""
from sys import path as sys_path
from os.path import dirname

from tdtools import trans_date
from pitdata.const import CALCULATION_FOLDER_PATH, DataType
from pitdata import DataDescription
if CALCULATION_FOLDER_PATH not in sys_path:
    sys_path.append(dirname(CALCULATION_FOLDER_PATH))
from fundamental_template import xps_shift_factory

dd = DataDescription(xps_shift_factory('ISY', 'TotalOperatingRevenue', 4, 4),
                     trans_date('2018-07-17'),
                     DataType.PANEL_NUMERIC,
                     dep=['UNIVERSE', 'LIST_STATE'],
                     desc='往前推4个年度的SPS=往前推4个财年的总营业收入/总股本')
Esempio n. 4
0
#!/usr/bin/env python
# -*- coding:utf-8
"""
Author:  Hao Li
Email: [email protected]
Github: https://github.com/SAmmer0
Created: 2018-07-17 13:41
"""
from sys import path as sys_path
from os.path import dirname

from tdtools import trans_date
from pitdata.const import CALCULATION_FOLDER_PATH, DataType
from pitdata import DataDescription
if CALCULATION_FOLDER_PATH not in sys_path:
    sys_path.append(dirname(CALCULATION_FOLDER_PATH))
from fundamental_template import xps_shift_factory 

dd = DataDescription(xps_shift_factory('ISY', 'TotalOperatingRevenue', 2, 4), trans_date('2018-07-17'),
                     DataType.PANEL_NUMERIC, dep=['UNIVERSE', 'LIST_STATE'], 
                     desc='上一个年度的SPS=上一个财年的总营业收入/总股本')