Create a simulation to test 1 month of data in 30 mins

This commit is contained in:
2026-03-11 21:33:19 -07:00
parent 9b5ebb4140
commit d5df9d1014
6 changed files with 156 additions and 9 deletions
+2 -2
View File
@@ -27,8 +27,8 @@ namespace Controllers.PythonInterop {
}
// Return ( Error, Signal )
public (string, float) PredictAI(string StockSymbol) {
(bool, string) Success = PyProcess.RunPythonProcess(_PyPath, _ExecPath + "/aipredictor.py", returns: true, PyArgs: StockSymbol);
public (string, float) PredictAI(string StockSymbol, int DataEndDaysAgo = 0) {
(bool, string) Success = PyProcess.RunPythonProcess(_PyPath, _ExecPath + "/aipredictor.py", returns: true, PyArgs: $"{StockSymbol} {DataEndDaysAgo}");
if (!Success.Item1) {
return (Success.Item2, 0);
} else {