Send actual preditions instead of signals

This commit is contained in:
2026-03-10 20:19:52 -07:00
parent 9c8d57cfce
commit 2474596156
+1 -10
View File
@@ -64,19 +64,10 @@ def Predict():
# Set the movement indicator # Set the movement indicator
movement_indicator = 0 movement_indicator = 0
averagePrediction = np.mean(flat_predictions) + predictionTrend averagePrediction = np.mean(flat_predictions) + predictionTrend
if (averagePrediction > 0.3): # as in 3% swing up
movement_indicator = 1
elif (averagePrediction < -0.3): # as in 3% swing down
movement_indicator = -1
else:
movement_indicator = 0
# Debug data
print(f"averagePrediction: {averagePrediction}")
# Return to C# via stdout # Return to C# via stdout
print(f"---RESULT_START---") print(f"---RESULT_START---")
print(movement_indicator) print(averagePrediction)
print(f"---RESULT_END---") print(f"---RESULT_END---")
if __name__ == "__main__": if __name__ == "__main__":