WIP: add tests #3

Draft
mrtowers wants to merge 11 commits from add_tests into main
Owner

added test to ensure every calculation works as intended

  • ATR
  • highest
  • lowest
  • slice
  • enter
  • MA
  • exit
  • sell
  • checkPositions

closes #1

added test to ensure every calculation works as intended - [x] ATR - [x] highest - [x] lowest - [x] slice - [x] enter - [x] MA - [ ] exit - [ ] sell - [ ] checkPositions closes #1
Merge branch 'main' into add_tests
Some checks failed
/ test_runner (pull_request) Failing after 23s
39ae0990e3
fix strategy init
All checks were successful
/ test_runner (pull_request) Successful in 25s
20dd3e1b88
enabled lowest test
All checks were successful
/ test_runner (pull_request) Successful in 24s
862048748c
make Runner.ma return null if range less than ticks
All checks were successful
/ test_runner (pull_request) Successful in 26s
427077dc71
added ma test
All checks were successful
/ test_runner (pull_request) Successful in 24s
2a56e87e89
added enter test
All checks were successful
/ test_runner (pull_request) Successful in 28s
afe1ce9a51
All checks were successful
/ test_runner (pull_request) Successful in 28s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin add_tests:add_tests
git switch add_tests

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff add_tests
git switch add_tests
git rebase main
git switch main
git merge --ff-only add_tests
git switch add_tests
git rebase main
git switch main
git merge --no-ff add_tests
git switch main
git merge --squash add_tests
git switch main
git merge --ff-only add_tests
git switch main
git merge add_tests
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mrtowers/backtest!3
No description provided.