Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
910e536
remove xlsx file
alexpvpmindustry Apr 7, 2023
705ef27
upload csv files
alexpvpmindustry Apr 7, 2023
9f5406e
read from csv instead of xlsx
alexpvpmindustry Apr 7, 2023
3d8449f
fix grammar
alexpvpmindustry Apr 7, 2023
d896440
remove unnecessary imports
alexpvpmindustry Apr 7, 2023
9e16291
better function name
alexpvpmindustry Apr 7, 2023
e7525aa
test
alexpvpmindustry Apr 7, 2023
3b80e02
tests
alexpvpmindustry Apr 7, 2023
1fd3d2e
fix pydecimal bugs, and import exceptions
alexpvpmindustry Apr 7, 2023
d3d2776
change requirements for testing
alexpvpmindustry Apr 7, 2023
7c27c8f
update contributing.md
alexpvpmindustry Apr 7, 2023
896869a
fix errors from Codacy
alexpvpmindustry Apr 8, 2023
fda274a
add back History.xlsx
alexpvpmindustry Apr 8, 2023
99ac365
added back History.xlsx
alexpvpmindustry Apr 8, 2023
ed28333
added back History.xlsx
alexpvpmindustry Apr 8, 2023
30e03af
Merge branch 'main' of https://github.com/alexpvpmindustry/Stock.Indi…
alexpvpmindustry Apr 8, 2023
50fbd71
Update contributing.md
alexpvpmindustry Apr 8, 2023
39ad204
code cleanup
DaveSkender Apr 8, 2023
ab5cce9
Merge branch 'main' into main
DaveSkender Apr 9, 2023
f17046c
remove dateutil.parser dependency
alexpvpmindustry Apr 10, 2023
08e2755
use builtin csv
alexpvpmindustry Apr 10, 2023
dc04309
use parse_date instead of parse
alexpvpmindustry Apr 10, 2023
ef63cb5
refactor to use `parse_date`
alexpvpmindustry Apr 10, 2023
5122e32
fix missing line
alexpvpmindustry Apr 10, 2023
9041ec5
fix parse dates
alexpvpmindustry Apr 11, 2023
22aa952
more robust
alexpvpmindustry Apr 11, 2023
7d9ea3d
fixed one space ;-;
alexpvpmindustry Apr 11, 2023
57cd30a
Update conftest.py
alexpvpmindustry Apr 11, 2023
ecb8ac8
Merge branch 'main' into main
DaveSkender Apr 12, 2023
7e0b63d
remove python-dateutil since its not used anymore
alexpvpmindustry Apr 12, 2023
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
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ For new features, submit an issue with the `enhancement` label.
- We use [pytest](https://docs.pytest.org/en/6.2.x/) for testing.
- Review the `tests` folder for examples of unit tests. Just copy one of these.
- New indicators should be tested against manually calculated, proven, accurate results. It is helpful to include your manual calculations spreadsheet in the appropriate indicator folder when [submitting changes](#submitting-changes).
- Historical Stock Quotes are automatically added as pytest fixtures. A `History.xlsx` Excel file is included in the `samples` folder that is an exact copy of what is used in the unit tests. Use this for your manual calculations to ensure that it is correct. Do not commit changes to this Excel file.
- Historical Stock Quotes are automatically added as pytest fixtures. The various `.csv` files in the `samples` folder are used in the unit tests. See `tests/conftest.py` for their usage. A `History.xlsx` Excel file is also included in the `samples` folder that contains the same information but separated by sheets. Use this for your manual calculations to ensure that it is correct. Do not commit changes to this Excel file.
- We expect all unit tests to execute successfully and all Errors and Warning resolved before you submit your code.
- Failed builds or unit testing will block acceptance of your Pull Request when submitting changes.

Expand Down
1 change: 0 additions & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# These packages are needed for testing.
pytest
pytest-cov
openpyxl
503 changes: 503 additions & 0 deletions samples/quotes/Bad.csv

Large diffs are not rendered by default.

1,247 changes: 1,247 additions & 0 deletions samples/quotes/Bitcoin.csv

Large diffs are not rendered by default.

503 changes: 503 additions & 0 deletions samples/quotes/Compare.csv

Large diffs are not rendered by default.

503 changes: 503 additions & 0 deletions samples/quotes/Default.csv

Large diffs are not rendered by default.

1,565 changes: 1,565 additions & 0 deletions samples/quotes/Intraday.csv

Large diffs are not rendered by default.

15,822 changes: 15,822 additions & 0 deletions samples/quotes/Longest.csv

Large diffs are not rendered by default.

5,286 changes: 5,286 additions & 0 deletions samples/quotes/Longish.csv

Large diffs are not rendered by default.

Loading