Skip to content

Commit

Permalink
Merge pull request #285 from samy80/samy80-patch-1
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
timkpaine authored Mar 2, 2021
2 parents 5d98b2c + 1d56802 commit 2e5b569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/examples-nb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Before we do that, let's think about how we will code it. We could pass the SMA

For example, what if we wanted to select securities that were below their sma? Or what if we only wanted securities that were 5% above their sma?

What we could do instead is pre-calculate the selection logic DataFrame (a fast, vectorized operation) and write a generic Algo that takes in this boolean DataFrame and returns the securities where the value is True on a given date. This will be must faster and much more reusable. Let's see how the implementation looks like.
What we could do instead is pre-calculate the selection logic DataFrame (a fast, vectorized operation) and write a generic Algo that takes in this boolean DataFrame and returns the securities where the value is True on a given date. This will be much faster and much more reusable. Let's see how the implementation looks like.

.. code:: python
Expand Down

0 comments on commit 2e5b569

Please sign in to comment.