mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 22:18:31 +08:00
Merge pull request #1494 from quantopian/remove-unused-update-dividends
MAINT: Remove unused method.
This commit is contained in:
@@ -1632,13 +1632,6 @@ class TradingAlgorithm(object):
|
||||
dt = dt.astimezone(tz)
|
||||
return dt
|
||||
|
||||
def update_dividends(self, dividend_frame):
|
||||
"""
|
||||
Set DataFrame used to process dividends. DataFrame columns should
|
||||
contain at least the entries in zp.DIVIDEND_FIELDS.
|
||||
"""
|
||||
self.perf_tracker.update_dividends(dividend_frame)
|
||||
|
||||
@api_method
|
||||
def set_slippage(self, slippage):
|
||||
"""Set the slippage model for the simulation.
|
||||
|
||||
Reference in New Issue
Block a user