This commit is contained in:
Jhonathan Abreu
2025-11-06 09:51:58 -04:00
parent 9172d74e82
commit 7c09024ad6
10 changed files with 1 additions and 718 deletions
@@ -55,6 +55,7 @@ class CustomData(PythonData):
def reader(self, config, line, date, is_live_mode):
trade_bar = TradeBar.parse_equity(config, line, date)
data = CustomData()
data.Symbol = config.symbol
data.time = trade_bar.time
data.value = trade_bar.value
data.close = trade_bar.close