Minor python syntax fixes (#8709)

This commit is contained in:
Martin-Molinero
2025-04-21 17:23:36 -03:00
committed by GitHub
parent 4584feb7da
commit d60b3323c3
12 changed files with 35 additions and 36 deletions
@@ -102,7 +102,7 @@ class TensorFlowNeuralNetworkAlgorithm(QCAlgorithm):
Enter or exit positions based on relationship of the open price of the current bar and the prices defined by the machine learning model.
Liquidate if the open price is below the sell price and buy if the open price is above the buy price
'''
for holding in self.portfolio.Values:
for holding in self.portfolio.values():
if holding.symbol not in self.current_slice.bars:
return