mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-17 11:16:40 +08:00
DOC: update docs. MAINT: use correct names. BUG: explicitly pass all kwargs. DOC: update docs. STY: fix whitespace. TST: rename vars and update docstring. TST: fix indentation. MAINT: fix comments.
25 lines
698 B
Python
25 lines
698 B
Python
"""
|
|
Datasets representing dates of recently announced buyback authorizations.
|
|
"""
|
|
from zipline.utils.numpy_utils import datetime64ns_dtype, float64_dtype
|
|
|
|
from .dataset import Column, DataSet
|
|
|
|
|
|
class CashBuybackAuthorizations(DataSet):
|
|
"""
|
|
Dataset representing dates of recently announced cash buyback
|
|
authorizations.
|
|
"""
|
|
previous_value = Column(float64_dtype)
|
|
previous_announcement_date = Column(datetime64ns_dtype)
|
|
|
|
|
|
class ShareBuybackAuthorizations(DataSet):
|
|
"""
|
|
Dataset representing dates of recently announced share buyback
|
|
authorizations.
|
|
"""
|
|
previous_share_count = Column(float64_dtype)
|
|
previous_announcement_date = Column(datetime64ns_dtype)
|