change candles indexing

This commit is contained in:
Ichinga Samuel
2025-06-07 00:10:35 +01:00
parent 54280ee35c
commit 0778a354ba
5 changed files with 223 additions and 81 deletions
+1 -2
View File
@@ -11,8 +11,7 @@ class TestSymbol:
@pytest.fixture(scope="class", autouse=True)
async def btc(self):
symbol = Symbol(name="BTCUSD")
select = getattr(symbol, "select", False)
if select is False:
if symbol.initialized is False:
await symbol.initialize()
return symbol