2025-07-28 04:29:31 +00:00
|
|
|
select * from crypto_market_data
|
2025-07-30 09:28:01 +00:00
|
|
|
WHERE symbol='DOGE-USDT-SWAP' and bar='1D' #and date_time > '2025-07-01'
|
|
|
|
|
order by timestamp;
|
|
|
|
|
|
|
|
|
|
delete FROM crypto_market_data where symbol != 'XCH-USDT';
|
2025-07-30 08:11:34 +00:00
|
|
|
|
|
|
|
|
select * from crypto_trade_data
|
2025-07-30 09:28:01 +00:00
|
|
|
where symbol='BTC-USDT'
|
|
|
|
|
order by ts desc;
|
|
|
|
|
|
|
|
|
|
select count(1) from crypto_trade_data;
|
2025-07-30 08:11:34 +00:00
|
|
|
|
|
|
|
|
select * from crypto_huge_volume
|
2025-07-28 08:14:40 +00:00
|
|
|
WHERE symbol='XCH-USDT' and bar='5m' and date_time > '2025-07-26'
|
2025-07-28 04:29:31 +00:00
|
|
|
order by timestamp desc;
|
2025-07-28 08:14:40 +00:00
|
|
|
|
2025-07-30 08:11:34 +00:00
|
|
|
select * from crypto_huge_volume
|
|
|
|
|
WHERE symbol='XCH-USDT-SWAP' and bar='5m' and date_time > '2025-07-26'
|
|
|
|
|
order by timestamp desc;
|
|
|
|
|
|
|
|
|
|
select * from crypto_huge_volume
|
|
|
|
|
WHERE symbol='BTC-USDT' and bar='5m'
|
|
|
|
|
order by timestamp desc
|
2025-07-30 09:28:01 +00:00
|
|
|
limit 10;
|
|
|
|
|
|
|
|
|
|
SHOW VARIABLES LIKE 'max_connections';
|