Skip to content

Commit

Permalink
v2.1.0rc1
Browse files Browse the repository at this point in the history
  • Loading branch information
韓政均 committed Oct 8, 2024
1 parent 454c5ad commit 5068474
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/zipline/data/bundles/fundamentals.py
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,15 @@ def tej_bundle(
sa.Column("Exchange_Industry_Code", sa.String), # You can adjust the length according to your data
sa.Column("Unified_Identification_Number", sa.String), # You can adjust the length according to your data
sa.Column("Security_Full_Name", sa.String), # You can adjust the length according to your data
sa.Column("Delisting_Date", sa.DateTime)
sa.Column("Delisting_Date", sa.DateTime),

# 董監持股
sa.Column("Director_and_Supervisor_Holdings_Percentage", sa.Float),
sa.Column("Manager_Holdings_Percentage", sa.Float),
sa.Column("Major_Shareholder_Holdings_Percentage_TSE", sa.Float),
sa.Column("Total_Director_and_Supervisor_Holdings_Percentage", sa.Float),
sa.Column("Managers_Total_Holdings_Percentage", sa.Float),
sa.Column("Major_Shareholder_Total_Holdings_Percentage_TSE", sa.Float)

)

Expand Down
8 changes: 8 additions & 0 deletions src/zipline/pipeline/data/TQFundamentals.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,14 @@ class TQAltData(DataSetFamily):
QoQ_Accu_Sales_3M = Column(float)
Sales_Monthly_LastYear = Column(float)

# 董監持股
Director_and_Supervisor_Holdings_Percentage = Column(float)
Manager_Holdings_Percentage = Column(float)
Major_Shareholder_Holdings_Percentage_TSE = Column(float)
Total_Director_and_Supervisor_Holdings_Percentage = Column(float)
Managers_Total_Holdings_Percentage = Column(float)
Major_Shareholder_Total_Holdings_Percentage_TSE = Column(float)

mon_sales_date = Column('datetime64[ns]')
share_date = Column('datetime64[ns]')

Expand Down

0 comments on commit 5068474

Please sign in to comment.