Skip to content

Commit

Permalink
Update algos.py
Browse files Browse the repository at this point in the history
Removed white space on empty lines.
  • Loading branch information
danilogalisteu authored Aug 23, 2022
1 parent 15ebb13 commit a349bdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bt/algos.py
Original file line number Diff line number Diff line change
Expand Up @@ -1685,11 +1685,11 @@ class CorporateActions(Algo):
This Algo can be used to model dividend flows and share splits. This
allows the backtest to be run using unadjusted price data and to get
historically correct transactions (position sizes and commissions).
Security positions are adjusted on dates where a split value other than
1.0 is given. A value above 1.0 causes the position size to increase
(compared to the previous date) and vice versa.
On a given date, a position on a security causes a cash inflow (when
long) or outflow (when short) given by the size of the position times
the amount in the `dividends` dataframe. Cash adjustments are made on
Expand Down

0 comments on commit a349bdb

Please sign in to comment.