8000 docs: Fix a few typos by timgates42 · Pull Request #35 · ematvey/pybacktest · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

docs: Fix a few typos #35

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pybacktest/ami_funcs.py
A12C
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# part of pybacktest package: https://github.com/ematvey/pybacktest

""" Set of pandas.Series processing functions, mimicing AmiBroker's built-ins
""" Set of pandas.Series processing functions, mimicking AmiBroker's built-ins
to help translate strategies from AmiScript.

Note that most AmiScript's built-in funtions have more advanced native analogs
Note that most AmiScript's built-in functions have more advanced native analogs
in pandas. Funcs like that will not be replicated here.

"""
Expand Down Expand Up @@ -35,7 +35,7 @@ def ExRem(array1, array2):


def BarsSince(x):
""" Counts number of periods since last True occured.
""" Counts number of periods since last True occurred.

Reference implementation:
http://www.amibroker.com/guide/afl/afl_view.php?name=barssince
Expand Down
2 changes: 1 addition & 1 deletion pybacktest/backtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, dataobj, name='Unknown',

*price_fields* specifies names of price Series where trades will take
place. If some price is not specified (NaN at signal's timestamp, or
corresponding Series not present in dataobj altogather), defaults to
corresponding Series not present in dataobj altogether), defaults to
Open price of next bar. By default follows AmiBroker's naming
convention.

Expand Down
0