fix emojies
This commit is contained in:
@@ -159,7 +159,7 @@ async def test_basic_operations(pool):
|
||||
VALUES (NOW(), 'ETH/USDT', '1s', 2000.0, 2001.0, 1999.0, 2000.5, 100.0)
|
||||
ON CONFLICT (timestamp, symbol, timeframe) DO NOTHING
|
||||
""")
|
||||
logger.info("✓ OHLCV insert successful")
|
||||
logger.info("OHLCV insert successful")
|
||||
|
||||
# Test query
|
||||
logger.info("Testing OHLCV query...")
|
||||
@@ -170,7 +170,7 @@ async def test_basic_operations(pool):
|
||||
LIMIT 1
|
||||
""")
|
||||
if result:
|
||||
logger.info(f"✓ OHLCV query successful: {dict(result)}")
|
||||
logger.info(f"OHLCV query successful: {dict(result)}")
|
||||
|
||||
# Test order book insert
|
||||
logger.info("Testing order book insert...")
|
||||
@@ -180,7 +180,7 @@ async def test_basic_operations(pool):
|
||||
VALUES (NOW(), 'ETH/USDT', 'binance', '[]'::jsonb, '[]'::jsonb, 2000.0, 0.1)
|
||||
ON CONFLICT (timestamp, symbol, exchange) DO NOTHING
|
||||
""")
|
||||
logger.info("✓ Order book insert successful")
|
||||
logger.info("Order book insert successful")
|
||||
|
||||
# Test imbalances insert
|
||||
logger.info("Testing imbalances insert...")
|
||||
@@ -190,9 +190,9 @@ async def test_basic_operations(pool):
|
||||
VALUES (NOW(), 'ETH/USDT', 0.5, 0.4, 0.3, 0.2)
|
||||
ON CONFLICT (timestamp, symbol) DO NOTHING
|
||||
""")
|
||||
logger.info("✓ Imbalances insert successful")
|
||||
logger.info("Imbalances insert successful")
|
||||
|
||||
logger.info("\n✓ All basic operations successful")
|
||||
logger.info("\nAll basic operations successful")
|
||||
return True
|
||||
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user