Problem 45776. Algorithmic Trading - 1 (optimize simple trading strategy)
Solution Stats
Problem Comments
-
2 Comments
please fix testsuite
my solution works well with test cases presented here when I run it on my computer, but it fails when I submit same solution
Solution Comments
-
3 Comments
It seems that test 3 and 4 need some rework. Variables from test 2 are not available.
@T. Dunker: Those test cases have been combined with test case 2 to overcome that scope problem. I re-scored your solution and it passed.
Test suite fixed
Problem Recent Solvers1
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
14181 Solvers
-
13241 Solvers
-
1302 Solvers
-
1471 Solvers
-
"Cody" * 5 == "CodyCodyCodyCodyCody"
191 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!