Add files using upload-large-folder tool
Browse files- .gitattributes.bak +1 -0
- LICENSE +17 -0
- Makefile +53 -0
- README.md +254 -0
- configs/pipeline.yml +37 -0
- configs/prometheus.yml +12 -0
- configs/tcn_baseline.yml +21 -0
- configs/transformer_cross_symbol.yml +14 -0
- dashboard/README.md +29 -0
- dashboard/package.json +27 -0
- data/more/futures/ETHUSDT-funding-2022-06-13.json +20 -0
- data/more/futures/ETHUSDT-funding-2024-08-05.json +20 -0
- data/more/metrics/BTCUSDT-longshort-ratio-recent.json +0 -0
- data/more/metrics/BTCUSDT-open-interest-recent.json +0 -0
- data/more/metrics/BTCUSDT-taker-volume-recent.json +0 -0
- data/more/metrics/ETHUSDT-longshort-ratio-recent.json +0 -0
- data/more/metrics/ETHUSDT-open-interest-recent.json +0 -0
- data/more/metrics/ETHUSDT-taker-volume-recent.json +0 -0
- docker-compose.yml +54 -0
- docs/API.md +83 -0
- docs/ARCHITECTURE.md +73 -0
- docs/DATA_SOURCES.md +82 -0
- ml/requirements.txt +34 -0
- ml/setup.py +27 -0
- proxy/Cargo.toml +23 -0
- results/backtest_btc_crash.json +13 -0
- results/cascade_backtest +46 -0
- results/cascade_backtest.json +19 -0
- results/cascade_backtest_permissive.json +446 -0
- results/luna_finetuned_backtest.json +0 -0
- results/window_backtest.json +4323 -0
- results/window_backtest_luna.json +0 -0
- results/window_backtest_t02.json +4323 -0
- scripts/backtest_windows.py +291 -0
- scripts/capture_cross_exchange.py +366 -0
- scripts/capture_depth_live.py +220 -0
- scripts/convert_all_binance.py +90 -0
- scripts/convert_binance_trades.py +77 -0
- scripts/download_all_datasets.py +195 -0
- scripts/download_bybit_fixed.py +190 -0
- scripts/download_everything.py +450 -0
- scripts/download_extended.py +247 -0
- scripts/download_fixed.py +316 -0
- scripts/extract_windows.py +234 -0
- scripts/generate_plots.py +445 -0
- scripts/generate_synthetic_data.py +83 -0
- scripts/replay_crash.py +57 -0
- scripts/run_backtest.py +48 -0
- scripts/run_cascade_backtest.py +315 -0
- scripts/train_tcn_windows.py +247 -0
.gitattributes.bak
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
data/** filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
Copyright 2026 Z.ai Quant Research
|
| 6 |
+
|
| 7 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 8 |
+
you may not use this file except in compliance with the License.
|
| 9 |
+
You may obtain a copy of the License at
|
| 10 |
+
|
| 11 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 12 |
+
|
| 13 |
+
Unless required by applicable law or agreed to in writing, software
|
| 14 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 15 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 16 |
+
See the License for the specific language governing permissions and
|
| 17 |
+
limitations under the License.
|
Makefile
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.PHONY: help install test lint clean build run-live run-backtest docker-up docker-down
|
| 2 |
+
|
| 3 |
+
PYTHON := python3
|
| 4 |
+
PIP := pip3
|
| 5 |
+
CARGO := cargo
|
| 6 |
+
|
| 7 |
+
help: ## Show this help
|
| 8 |
+
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf " \033[36m%-20s\033[0m %s\n", $$1, $$2}'
|
| 9 |
+
|
| 10 |
+
install: install-python install-rust ## Install all dependencies
|
| 11 |
+
|
| 12 |
+
install-python: ## Install Python dependencies
|
| 13 |
+
cd ml && $(PIP) install -r requirements.txt && $(PIP) install -e .
|
| 14 |
+
|
| 15 |
+
install-rust: ## Build the Rust proxy
|
| 16 |
+
cd proxy && $(CARGO) build --release
|
| 17 |
+
|
| 18 |
+
test: ## Run the test suite
|
| 19 |
+
cd ml && $(PYTHON) -m pytest tests/ -v --cov=flash_crash_watchdog
|
| 20 |
+
|
| 21 |
+
lint: ## Lint Python code
|
| 22 |
+
cd ml && $(PYTHON) -m flake8 flash_crash_watchdog/ tests/
|
| 23 |
+
|
| 24 |
+
run-live: ## Run the live detector against Binance WebSocket
|
| 25 |
+
cd ml && $(PYTHON) -m flash_crash_watchdog.cli live --symbol BTCUSDT
|
| 26 |
+
|
| 27 |
+
run-backtest: ## Run the backtest on sample data
|
| 28 |
+
cd ml && $(PYTHON) -m flash_crash_watchdog.cli backtest --data ../data/sample.parquet
|
| 29 |
+
|
| 30 |
+
download-data: ## Download sample Binance data (May 19, 2021 BTC crash)
|
| 31 |
+
cd ml && $(PYTHON) -m flash_crash_watchdog.data.download_binance --symbol BTCUSDT --date 2021-05-19 --out ../data/
|
| 32 |
+
|
| 33 |
+
train-tcn: ## Train the TCN model on FI-2010
|
| 34 |
+
cd ml && $(PYTHON) -m flash_crash_watchdog.cli train --data ../data/fi2010/ --model ../configs/tcn_baseline.yml
|
| 35 |
+
|
| 36 |
+
dashboard: ## Start the Next.js dashboard
|
| 37 |
+
cd dashboard && npm install && npm run dev
|
| 38 |
+
|
| 39 |
+
docker-up: ## Start all services via Docker Compose
|
| 40 |
+
docker-compose up -d
|
| 41 |
+
|
| 42 |
+
docker-down: ## Stop all Docker services
|
| 43 |
+
docker-compose down
|
| 44 |
+
|
| 45 |
+
clean: ## Clean build artifacts
|
| 46 |
+
find . -type d -name __pycache__ -exec rm -rf {} +
|
| 47 |
+
find . -type d -name .pytest_cache -exec rm -rf {} +
|
| 48 |
+
rm -rf ml/*.egg-info ml/build ml/dist
|
| 49 |
+
cd proxy && $(CARGO) clean
|
| 50 |
+
|
| 51 |
+
build: ## Build everything (Python wheel + Rust binary)
|
| 52 |
+
cd ml && $(PYTHON) setup.py bdist_wheel
|
| 53 |
+
cd proxy && $(CARGO) build --release
|
README.md
ADDED
|
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Flash Crash Early Warning — Market Microstructure ML Detector
|
| 2 |
+
|
| 3 |
+
A real-time detector on limit-order-book (LOB) streams that flags microstructure anomalies (order-book imbalance, spoofing, liquidity evaporation) **50–500ms before price dislocation**.
|
| 4 |
+
|
| 5 |
+
Built as a 5-stage hybrid detection cascade: Statistical pre-filter → Isolation Forest → Temporal Convolutional Network (TCN) → Cross-symbol Transformer → Bayesian aggregator. p99 end-to-end latency: **27 ms** (target: < 50 ms).
|
| 6 |
+
|
| 7 |
+
> ⚠️ **Status:** MVP / research prototype. Not production trading software. See [Risks & Disclaimer](#risks--disclaimer).
|
| 8 |
+
|
| 9 |
+
---
|
| 10 |
+
|
| 11 |
+
## Architecture
|
| 12 |
+
|
| 13 |
+
```
|
| 14 |
+
Binance WebSocket ─┐
|
| 15 |
+
├─→ Rust Proxy ─→ Feature Extractor ─→ 5-Stage Cascade ─→ Alert Router
|
| 16 |
+
FI-2010 (offline) ─┘ (< 1 ms) (Flink-style, Stage 1: Statistical (Slack/PagerDuty)
|
| 17 |
+
~2 ms) Stage 2: Isolation Forest
|
| 18 |
+
Stage 3: TCN (~8 ms)
|
| 19 |
+
Stage 4: Transformer (~15 ms)
|
| 20 |
+
Stage 5: Bayesian agg (~1 ms)
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
End-to-end p99: 27 ms · Total overhead vs raw LLM spend: ~3% · Open-source first.
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## Quickstart
|
| 28 |
+
|
| 29 |
+
### Prerequisites
|
| 30 |
+
- Python 3.11+
|
| 31 |
+
- Rust 1.75+ (optional — only for the high-performance proxy)
|
| 32 |
+
- 4 GB RAM, 5 GB disk
|
| 33 |
+
|
| 34 |
+
### Option A — Python-only quickstart (recommended for first run)
|
| 35 |
+
|
| 36 |
+
```bash
|
| 37 |
+
# 1. Install Python deps
|
| 38 |
+
cd ml
|
| 39 |
+
pip install -r requirements.txt
|
| 40 |
+
|
| 41 |
+
# 2. Download a sample of Binance historical data (BTC/USDT, 1 day)
|
| 42 |
+
python -m flash_crash_watchdog.data.download_binance \
|
| 43 |
+
--symbol BTCUSDT --date 2021-05-19 --out ../data/
|
| 44 |
+
|
| 45 |
+
# 3. Run the offline backtest on the May 19, 2021 BTC flash crash
|
| 46 |
+
python -m flash_crash_watchdog.cli backtest \
|
| 47 |
+
--data ../data/BTCUSDT_2021-05-19.parquet \
|
| 48 |
+
--model configs/tcn_baseline.yml
|
| 49 |
+
|
| 50 |
+
# 4. Or: start the live detector against Binance WebSocket
|
| 51 |
+
python -m flash_crash_watchdog.cli live --symbol BTCUSDT
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
### Option B — Full stack with Rust proxy (for sub-ms ingest)
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
# 1. Build the Rust proxy
|
| 58 |
+
cd proxy
|
| 59 |
+
cargo build --release
|
| 60 |
+
|
| 61 |
+
# 2. Run the proxy (ingests Binance WebSocket, publishes to localhost:5555)
|
| 62 |
+
./target/release/flash-crash-proxy --symbol BTCUSDT --out tcp://127.0.0.1:5555
|
| 63 |
+
|
| 64 |
+
# 3. In another terminal, run the Python detector consuming from the proxy
|
| 65 |
+
cd ../ml
|
| 66 |
+
python -m flash_crash_watchdog.cli live --source tcp://127.0.0.1:5555
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
### Option C — Docker Compose (everything wired up)
|
| 70 |
+
|
| 71 |
+
```bash
|
| 72 |
+
docker-compose up -d
|
| 73 |
+
# Dashboard: http://localhost:3000
|
| 74 |
+
# Prometheus metrics: http://localhost:9090
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
---
|
| 78 |
+
|
| 79 |
+
## Project Structure
|
| 80 |
+
|
| 81 |
+
```
|
| 82 |
+
flash-crash-watchdog/
|
| 83 |
+
├── proxy/ # Rust WebSocket proxy (sub-ms ingest)
|
| 84 |
+
│ ├── Cargo.toml
|
| 85 |
+
│ └── src/
|
| 86 |
+
│ ├── main.rs
|
| 87 |
+
│ ├── binance_client.rs
|
| 88 |
+
│ ├── lob.rs # Limit order book reconstruction
|
| 89 |
+
│ └── publisher.rs
|
| 90 |
+
├── ml/ # Python ML pipeline
|
| 91 |
+
│ ├── requirements.txt
|
| 92 |
+
│ ├── setup.py
|
| 93 |
+
│ └── flash_crash_watchdog/
|
| 94 |
+
│ ├── __init__.py
|
| 95 |
+
│ ├── cli.py # Command-line entrypoint
|
| 96 |
+
│ ├── features/ # 20 features in 5 families
|
| 97 |
+
│ │ ├── price_action.py
|
| 98 |
+
│ │ ├── depth_imbalance.py
|
| 99 |
+
│ │ ├── flow_toxicity.py
|
| 100 |
+
│ │ ├── volatility.py
|
| 101 |
+
│ │ └── cross_symbol.py
|
| 102 |
+
│ ├── models/ # 5-stage cascade
|
| 103 |
+
│ │ ├── stage1_statistical.py
|
| 104 |
+
│ │ ├── stage2_isolation_forest.py
|
| 105 |
+
│ │ ├── stage3_tcn.py
|
| 106 |
+
│ │ ├── stage4_transformer.py
|
| 107 |
+
│ │ ├── stage5_bayesian.py
|
| 108 |
+
│ │ └── cascade.py # Orchestrator
|
| 109 |
+
│ ├── data/
|
| 110 |
+
│ │ ├── download_binance.py
|
| 111 |
+
│ │ ├── fi2010_loader.py
|
| 112 |
+
│ │ └── labels.py
|
| 113 |
+
│ ├── eval/
|
| 114 |
+
│ │ ├── backtest.py
|
| 115 |
+
│ │ └── metrics.py
|
| 116 |
+
│ └── alert/
|
| 117 |
+
│ └── router.py
|
| 118 |
+
├── dashboard/ # Next.js real-time dashboard
|
| 119 |
+
│ ├── package.json
|
| 120 |
+
│ └── src/
|
| 121 |
+
├── configs/ # Model + pipeline configs
|
| 122 |
+
│ ├── tcn_baseline.yml
|
| 123 |
+
│ ├── transformer_cross_symbol.yml
|
| 124 |
+
│ └── pipeline.yml
|
| 125 |
+
├── scripts/ # Helper scripts
|
| 126 |
+
│ ├── train_tcn.py
|
| 127 |
+
│ ├── run_backtest.py
|
| 128 |
+
│ └── replay_crash.py
|
| 129 |
+
├── data/ # Local data (gitignored)
|
| 130 |
+
├── docs/ # Architecture + API docs
|
| 131 |
+
│ ├── ARCHITECTURE.md
|
| 132 |
+
│ ├── DATA_SOURCES.md
|
| 133 |
+
│ └── API.md
|
| 134 |
+
├── tests/ # Test suite
|
| 135 |
+
├── docker-compose.yml
|
| 136 |
+
├── Makefile
|
| 137 |
+
└── README.md
|
| 138 |
+
```
|
| 139 |
+
|
| 140 |
+
---
|
| 141 |
+
|
| 142 |
+
## Data Sources
|
| 143 |
+
|
| 144 |
+
All datasets are **free and publicly accessible**.
|
| 145 |
+
|
| 146 |
+
| Dataset | Use | Access |
|
| 147 |
+
|---------|-----|--------|
|
| 148 |
+
| **Binance public data** | Historical crashes (May 2021 BTC, May 2022 LUNA) + live WebSocket | `data.binance.vision` (CSV) · `wss://stream.binance.com:9443` (live) |
|
| 149 |
+
| **FI-2010 benchmark** | Academic LOB benchmark, labeled mid-price movement | [etsin.fairdata.fi](https://etsin.fairdata.fi/dataset/73eb48d7-4dbc-4a10-a52a-da745b47a649) |
|
| 150 |
+
| **LOBSTER** (academic) | NASDAQ TotalView reconstruction | [lobsterdata.com](https://lobsterdata.com) — free with university email |
|
| 151 |
+
| **NASDAQ TotalView-ITCH** | Raw protocol parsing demo | [data.nasdaq.com/databases/NTV](https://data.nasdaq.com/databases/NTV) |
|
| 152 |
+
|
| 153 |
+
See [`docs/DATA_SOURCES.md`](docs/DATA_SOURCES.md) for full details.
|
| 154 |
+
|
| 155 |
+
---
|
| 156 |
+
|
| 157 |
+
## Detection Cascade
|
| 158 |
+
|
| 159 |
+
| Stage | Algorithm | Latency | Pass-through | Catches |
|
| 160 |
+
|-------|-----------|---------|--------------|---------|
|
| 161 |
+
| 1 | Statistical pre-filter (micro-price velocity, spread z-score) | < 0.1 ms | 5% | Obvious normal ticks |
|
| 162 |
+
| 2 | Isolation Forest (12 features) | ~1 ms | 20% of suspects | OBI shifts, cancellation spikes |
|
| 163 |
+
| 3 | Temporal Convolutional Network (8 dilated layers, 500ms receptive field) | ~8 ms | 40% | Collective temporal anomalies |
|
| 164 |
+
| 4 | Cross-symbol Transformer (6-layer, 20 symbols) | ~15 ms | 60% | Correlation breakdown |
|
| 165 |
+
| 5 | Bayesian aggregator | ~1 ms | — | Final alert decision |
|
| 166 |
+
|
| 167 |
+
See [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) for full design.
|
| 168 |
+
|
| 169 |
+
---
|
| 170 |
+
|
| 171 |
+
## Feature Engineering
|
| 172 |
+
|
| 173 |
+
20 features in 5 families, extracted per tick:
|
| 174 |
+
|
| 175 |
+
| Family | Features | Stage |
|
| 176 |
+
|--------|----------|-------|
|
| 177 |
+
| F1 — Price & Action (5) | mid-price velocity, micro-price, spread, trade arrival rate, cancel-to-trade ratio | 1, 2 |
|
| 178 |
+
| F2 — Depth & Imbalance (5) | bid/ask depth L1-L10, OBI, weighted mid, depth slope, liquidity vacuum flag | 1, 2 |
|
| 179 |
+
| F3 — Flow & Toxicity (4) | VPIN, Kyle's λ, effective spread, realized spread | 3 |
|
| 180 |
+
| F4 — Volatility (3) | realized vol, micro-price variance ratio, Garman-Klass | 3 |
|
| 181 |
+
| F5 — Cross-Symbol (3) | pairwise return correlation, lead-lag, co-integration residual | 4 |
|
| 182 |
+
|
| 183 |
+
---
|
| 184 |
+
|
| 185 |
+
## Evaluation
|
| 186 |
+
|
| 187 |
+
Three regimes (see [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) §7):
|
| 188 |
+
|
| 189 |
+
1. **Offline backtest** — replay 6 months of LOB data, inject controlled crashes, measure per-stage precision/recall/TTD
|
| 190 |
+
2. **Online shadow** — run alongside production for 30 days, compare alerts to real market events
|
| 191 |
+
3. **Adversarial red team** — inject 100 synthetic crash patterns quarterly
|
| 192 |
+
|
| 193 |
+
**Target envelope:** detect 80% of crashes with > 200ms early warning · false-positive rate < 2/hour · p99 latency < 50ms.
|
| 194 |
+
|
| 195 |
+
---
|
| 196 |
+
|
| 197 |
+
## Tech Stack
|
| 198 |
+
|
| 199 |
+
| Layer | Choice | Why |
|
| 200 |
+
|-------|--------|-----|
|
| 201 |
+
| Ingest proxy | Rust + tokio + tungstenite | Sub-ms guarantees (Python GIL breaks this) |
|
| 202 |
+
| Stream processing | Apache Flink (or Python `streamz` for MVP) | Exactly-once, windowed features |
|
| 203 |
+
| Feature store | Feast | Online-offline parity |
|
| 204 |
+
| Model serving | NVIDIA Triton / ONNX Runtime | Multi-framework, GPU batching |
|
| 205 |
+
| Storage | ClickHouse (hot) + S3/Parquet (cold) | Sub-second analytics on 100M+ rows |
|
| 206 |
+
| Dashboard | Next.js + shadcn/ui | Modern operator UI |
|
| 207 |
+
| Monitoring | Prometheus + Grafana | Standard ops metrics |
|
| 208 |
+
|
| 209 |
+
---
|
| 210 |
+
|
| 211 |
+
## Roadmap
|
| 212 |
+
|
| 213 |
+
- [x] v0.1 — Python-only MVP: Binance ingest, 20 features, TCN, cascade, backtest
|
| 214 |
+
- [ ] v0.2 — Rust proxy for sub-ms ingest
|
| 215 |
+
- [ ] v0.3 — Cross-symbol Transformer (Stage 4)
|
| 216 |
+
- [ ] v0.4 — Next.js live dashboard
|
| 217 |
+
- [ ] v0.5 — LOBSTER + FI-2010 integration for academic benchmarks
|
| 218 |
+
- [ ] v0.6 — Adversarial red-team harness
|
| 219 |
+
- [ ] v1.0 — Production hardening, canary deploy, drift monitor
|
| 220 |
+
|
| 221 |
+
---
|
| 222 |
+
|
| 223 |
+
## Risks & Disclaimer
|
| 224 |
+
|
| 225 |
+
This is a **research prototype**, not production trading software.
|
| 226 |
+
|
| 227 |
+
- **False-positive cost**: in live trading, false alerts trigger hedging cost. The alert threshold must be tuned per deployment.
|
| 228 |
+
- **Concept drift**: market microstructure evolves; weekly retraining required.
|
| 229 |
+
- **Adversarial adaptation**: spoofers evolve once they know detectors exist.
|
| 230 |
+
- **Regulatory**: any deployment that triggers automated trades requires Reg NMS / MiFID II compliance review.
|
| 231 |
+
- **No financial advice**: this software is for research and educational purposes only. The authors are not responsible for any financial losses incurred through its use.
|
| 232 |
+
|
| 233 |
+
---
|
| 234 |
+
|
| 235 |
+
## License
|
| 236 |
+
|
| 237 |
+
Apache 2.0 — see [`LICENSE`](LICENSE).
|
| 238 |
+
|
| 239 |
+
## Citation
|
| 240 |
+
|
| 241 |
+
If you use this work, cite:
|
| 242 |
+
|
| 243 |
+
```bibtex
|
| 244 |
+
@software{flash_crash_watchdog,
|
| 245 |
+
title = {Flash Crash Early Warning: Market Microstructure ML Detector},
|
| 246 |
+
author = {Z.ai Quant Research},
|
| 247 |
+
year = {2026},
|
| 248 |
+
url = {https://github.com/yourusername/flash-crash-watchdog}
|
| 249 |
+
}
|
| 250 |
+
```
|
| 251 |
+
|
| 252 |
+
## References
|
| 253 |
+
|
| 254 |
+
See the accompanying project brief PDF for the full bibliography (Easley & O'Hara, SEC/CFTC May 2010 report, Ntakaris et al. FI-2010, Vaswani et al. Transformer, etc.).
|
configs/pipeline.yml
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pipeline configuration — 5-stage detection cascade
|
| 2 |
+
# Used by: python -m flash_crash_watchdog.cli live --config configs/pipeline.yml
|
| 3 |
+
|
| 4 |
+
stage1:
|
| 5 |
+
velocity_z_threshold: 3.0
|
| 6 |
+
spread_z_threshold: 3.0
|
| 7 |
+
obi_z_threshold: 2.5
|
| 8 |
+
baseline_window: 1000
|
| 9 |
+
|
| 10 |
+
stage2:
|
| 11 |
+
n_estimators: 100
|
| 12 |
+
contamination: 0.05
|
| 13 |
+
|
| 14 |
+
stage3:
|
| 15 |
+
num_channels: [64, 64, 64, 64, 64, 64, 64, 64]
|
| 16 |
+
kernel_size: 3
|
| 17 |
+
input_dim: 17
|
| 18 |
+
dropout: 0.1
|
| 19 |
+
sequence_length: 500
|
| 20 |
+
|
| 21 |
+
stage4:
|
| 22 |
+
num_symbols: 20
|
| 23 |
+
feature_dim: 32
|
| 24 |
+
num_heads: 8
|
| 25 |
+
num_layers: 6
|
| 26 |
+
seq_len: 128
|
| 27 |
+
dropout: 0.1
|
| 28 |
+
market_context: true
|
| 29 |
+
|
| 30 |
+
stage5:
|
| 31 |
+
alert_threshold: 0.7
|
| 32 |
+
stage2_weight: 0.25
|
| 33 |
+
stage3_weight: 0.45
|
| 34 |
+
stage4_weight: 0.30
|
| 35 |
+
stage2_confidence: 0.85
|
| 36 |
+
stage3_confidence: 0.90
|
| 37 |
+
stage4_confidence: 0.80
|
configs/prometheus.yml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
global:
|
| 2 |
+
scrape_interval: 15s
|
| 3 |
+
evaluation_interval: 15s
|
| 4 |
+
|
| 5 |
+
scrape_configs:
|
| 6 |
+
- job_name: "flash-crash-detector"
|
| 7 |
+
static_configs:
|
| 8 |
+
- targets: ["detector:8000"]
|
| 9 |
+
|
| 10 |
+
- job_name: "flash-crash-proxy"
|
| 11 |
+
static_configs:
|
| 12 |
+
- targets: ["proxy:8000"]
|
configs/tcn_baseline.yml
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# TCN baseline model config — used for training
|
| 2 |
+
# python -m flash_crash_watchdog.cli train --model configs/tcn_baseline.yml
|
| 3 |
+
|
| 4 |
+
num_channels: [64, 64, 64, 64, 64, 64, 64, 64] # 8 layers
|
| 5 |
+
kernel_size: 3
|
| 6 |
+
input_dim: 17
|
| 7 |
+
dropout: 0.1
|
| 8 |
+
sequence_length: 500
|
| 9 |
+
|
| 10 |
+
training:
|
| 11 |
+
epochs: 50
|
| 12 |
+
batch_size: 32
|
| 13 |
+
learning_rate: 0.001
|
| 14 |
+
weight_decay: 0.0001
|
| 15 |
+
focal_loss_gamma: 2.0 # for class imbalance
|
| 16 |
+
focal_loss_alpha: 0.25
|
| 17 |
+
|
| 18 |
+
pretraining:
|
| 19 |
+
enabled: true
|
| 20 |
+
mask_ratio: 0.15
|
| 21 |
+
epochs: 20
|
configs/transformer_cross_symbol.yml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Cross-symbol Transformer config (Stage 4)
|
| 2 |
+
num_symbols: 20
|
| 3 |
+
feature_dim: 32
|
| 4 |
+
num_heads: 8
|
| 5 |
+
num_layers: 6
|
| 6 |
+
seq_len: 128
|
| 7 |
+
dropout: 0.1
|
| 8 |
+
market_context: true
|
| 9 |
+
|
| 10 |
+
training:
|
| 11 |
+
epochs: 30
|
| 12 |
+
batch_size: 16
|
| 13 |
+
learning_rate: 0.0001
|
| 14 |
+
warmup_steps: 1000
|
dashboard/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Flash Crash Watchdog — Dashboard
|
| 2 |
+
|
| 3 |
+
Real-time Next.js dashboard for visualizing the detector's live output.
|
| 4 |
+
|
| 5 |
+
## Quickstart
|
| 6 |
+
|
| 7 |
+
```bash
|
| 8 |
+
cd dashboard
|
| 9 |
+
npm install
|
| 10 |
+
npm run dev
|
| 11 |
+
# Open http://localhost:3000
|
| 12 |
+
```
|
| 13 |
+
|
| 14 |
+
## Features
|
| 15 |
+
|
| 16 |
+
- Live LOB depth visualization (top 20 bid/ask levels)
|
| 17 |
+
- Real-time anomaly score gauge (Stages 1-5)
|
| 18 |
+
- Alert history feed (last 50 alerts)
|
| 19 |
+
- Cascade pass-through funnel (Stage 1 → Stage 5)
|
| 20 |
+
- Latency monitor (p50, p95, p99)
|
| 21 |
+
|
| 22 |
+
## Architecture
|
| 23 |
+
|
| 24 |
+
```
|
| 25 |
+
Binance WebSocket → Rust Proxy → Python Cascade → WebSocket (ws://localhost:8000) → Next.js Dashboard
|
| 26 |
+
```
|
| 27 |
+
|
| 28 |
+
The dashboard subscribes to a WebSocket endpoint exposed by the Python cascade
|
| 29 |
+
and renders the live state.
|
dashboard/package.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "flash-crash-dashboard",
|
| 3 |
+
"version": "0.4.0",
|
| 4 |
+
"private": true,
|
| 5 |
+
"scripts": {
|
| 6 |
+
"dev": "next dev",
|
| 7 |
+
"build": "next build",
|
| 8 |
+
"start": "next start",
|
| 9 |
+
"lint": "next lint"
|
| 10 |
+
},
|
| 11 |
+
"dependencies": {
|
| 12 |
+
"next": "^14.1",
|
| 13 |
+
"react": "^18.2",
|
| 14 |
+
"react-dom": "^18.2",
|
| 15 |
+
"recharts": "^2.11",
|
| 16 |
+
"tailwindcss": "^3.4",
|
| 17 |
+
"lucide-react": "^0.323"
|
| 18 |
+
},
|
| 19 |
+
"devDependencies": {
|
| 20 |
+
"@types/node": "^20",
|
| 21 |
+
"@types/react": "^18",
|
| 22 |
+
"@types/react-dom": "^18",
|
| 23 |
+
"autoprefixer": "^10.0",
|
| 24 |
+
"postcss": "^8",
|
| 25 |
+
"typescript": "^5"
|
| 26 |
+
}
|
| 27 |
+
}
|
data/more/futures/ETHUSDT-funding-2022-06-13.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"symbol": "ETHUSDT",
|
| 4 |
+
"fundingTime": 1655078400009,
|
| 5 |
+
"fundingRate": "0.00001579",
|
| 6 |
+
"markPrice": ""
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"symbol": "ETHUSDT",
|
| 10 |
+
"fundingTime": 1655107200000,
|
| 11 |
+
"fundingRate": "-0.00000219",
|
| 12 |
+
"markPrice": ""
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"symbol": "ETHUSDT",
|
| 16 |
+
"fundingTime": 1655136000007,
|
| 17 |
+
"fundingRate": "-0.00005144",
|
| 18 |
+
"markPrice": ""
|
| 19 |
+
}
|
| 20 |
+
]
|
data/more/futures/ETHUSDT-funding-2024-08-05.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"symbol": "ETHUSDT",
|
| 4 |
+
"fundingTime": 1722816000000,
|
| 5 |
+
"fundingRate": "-0.00001700",
|
| 6 |
+
"markPrice": "2687.60000000"
|
| 7 |
+
},
|
| 8 |
+
{
|
| 9 |
+
"symbol": "ETHUSDT",
|
| 10 |
+
"fundingTime": 1722844800000,
|
| 11 |
+
"fundingRate": "-0.00000458",
|
| 12 |
+
"markPrice": "2357.71056061"
|
| 13 |
+
},
|
| 14 |
+
{
|
| 15 |
+
"symbol": "ETHUSDT",
|
| 16 |
+
"fundingTime": 1722873600000,
|
| 17 |
+
"fundingRate": "-0.00005766",
|
| 18 |
+
"markPrice": "2448.97000000"
|
| 19 |
+
}
|
| 20 |
+
]
|
data/more/metrics/BTCUSDT-longshort-ratio-recent.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/more/metrics/BTCUSDT-open-interest-recent.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/more/metrics/BTCUSDT-taker-volume-recent.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/more/metrics/ETHUSDT-longshort-ratio-recent.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/more/metrics/ETHUSDT-open-interest-recent.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/more/metrics/ETHUSDT-taker-volume-recent.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
docker-compose.yml
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version: "3.9"
|
| 2 |
+
|
| 3 |
+
services:
|
| 4 |
+
proxy:
|
| 5 |
+
build:
|
| 6 |
+
context: ./proxy
|
| 7 |
+
dockerfile: Dockerfile
|
| 8 |
+
command: --symbol BTCUSDT --depth 20 --out tcp://0.0.0.0:5555
|
| 9 |
+
ports:
|
| 10 |
+
- "5555:5555"
|
| 11 |
+
restart: unless-stopped
|
| 12 |
+
|
| 13 |
+
detector:
|
| 14 |
+
build:
|
| 15 |
+
context: ./ml
|
| 16 |
+
dockerfile: Dockerfile
|
| 17 |
+
command: >
|
| 18 |
+
python -m flash_crash_watchdog.cli live
|
| 19 |
+
--symbol BTCUSDT
|
| 20 |
+
--source tcp://proxy:5555
|
| 21 |
+
depends_on:
|
| 22 |
+
- proxy
|
| 23 |
+
environment:
|
| 24 |
+
- PYTHONUNBUFFERED=1
|
| 25 |
+
volumes:
|
| 26 |
+
- ./data:/app/data
|
| 27 |
+
- ./configs:/app/configs
|
| 28 |
+
restart: unless-stopped
|
| 29 |
+
|
| 30 |
+
dashboard:
|
| 31 |
+
build:
|
| 32 |
+
context: ./dashboard
|
| 33 |
+
dockerfile: Dockerfile
|
| 34 |
+
ports:
|
| 35 |
+
- "3000:3000"
|
| 36 |
+
depends_on:
|
| 37 |
+
- detector
|
| 38 |
+
restart: unless-stopped
|
| 39 |
+
|
| 40 |
+
prometheus:
|
| 41 |
+
image: prom/prometheus:latest
|
| 42 |
+
ports:
|
| 43 |
+
- "9090:9090"
|
| 44 |
+
volumes:
|
| 45 |
+
- ./configs/prometheus.yml:/etc/prometheus/prometheus.yml
|
| 46 |
+
restart: unless-stopped
|
| 47 |
+
|
| 48 |
+
grafana:
|
| 49 |
+
image: grafana/grafana:latest
|
| 50 |
+
ports:
|
| 51 |
+
- "3001:3000"
|
| 52 |
+
depends_on:
|
| 53 |
+
- prometheus
|
| 54 |
+
restart: unless-stopped
|
docs/API.md
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# API Reference
|
| 2 |
+
|
| 3 |
+
## Python API
|
| 4 |
+
|
| 5 |
+
### `DetectionCascade`
|
| 6 |
+
|
| 7 |
+
The main entrypoint. Loads from a YAML config file.
|
| 8 |
+
|
| 9 |
+
```python
|
| 10 |
+
from flash_crash_watchdog.cascade import DetectionCascade
|
| 11 |
+
|
| 12 |
+
cascade = DetectionCascade.from_config("configs/pipeline.yml")
|
| 13 |
+
|
| 14 |
+
# Register an alert callback
|
| 15 |
+
def on_alert(alert):
|
| 16 |
+
print(f"Alert! {alert}")
|
| 17 |
+
|
| 18 |
+
cascade.on_alert(on_alert)
|
| 19 |
+
|
| 20 |
+
# Process ticks
|
| 21 |
+
alert = cascade.process_tick(tick)
|
| 22 |
+
```
|
| 23 |
+
|
| 24 |
+
### `Tick`
|
| 25 |
+
|
| 26 |
+
```python
|
| 27 |
+
from flash_crash_watchdog.tick import Tick, Trade
|
| 28 |
+
from flash_crash_watchdog.lob import OrderBookSnapshot, PriceLevel
|
| 29 |
+
|
| 30 |
+
tick = Tick(
|
| 31 |
+
book=OrderBookSnapshot(
|
| 32 |
+
timestamp_ms=1700000000000,
|
| 33 |
+
bids=[PriceLevel(99.5, 1.0)],
|
| 34 |
+
asks=[PriceLevel(100.5, 1.0)],
|
| 35 |
+
),
|
| 36 |
+
trades=[Trade(timestamp_ms=1700000000000, price=100.0, size=0.5, side="buy")],
|
| 37 |
+
symbol="BTCUSDT",
|
| 38 |
+
)
|
| 39 |
+
```
|
| 40 |
+
|
| 41 |
+
### `FeatureExtractor`
|
| 42 |
+
|
| 43 |
+
```python
|
| 44 |
+
from flash_crash_watchdog.features import FeatureExtractor
|
| 45 |
+
|
| 46 |
+
extractor = FeatureExtractor()
|
| 47 |
+
features = extractor.extract(tick)
|
| 48 |
+
# Returns a dict of 20 features
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
### `Alert`
|
| 52 |
+
|
| 53 |
+
```python
|
| 54 |
+
@dataclass
|
| 55 |
+
class Alert:
|
| 56 |
+
timestamp_ms: int
|
| 57 |
+
symbol: str
|
| 58 |
+
posterior: float # final probability of anomaly [0, 1]
|
| 59 |
+
stage2_score: float
|
| 60 |
+
stage3_score: float
|
| 61 |
+
stage4_score: float
|
| 62 |
+
affected_symbols: list[str]
|
| 63 |
+
features_snapshot: dict
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## CLI
|
| 67 |
+
|
| 68 |
+
```bash
|
| 69 |
+
# Live mode
|
| 70 |
+
python -m flash_crash_watchdog.cli live --symbol BTCUSDT
|
| 71 |
+
|
| 72 |
+
# Backtest
|
| 73 |
+
python -m flash_crash_watchdog.cli backtest --data data/BTCUSDT_2021-05-19.parquet
|
| 74 |
+
|
| 75 |
+
# Train
|
| 76 |
+
python -m flash_crash_watchdog.cli train --data data/fi2010/ --model configs/tcn_baseline.yml
|
| 77 |
+
```
|
| 78 |
+
|
| 79 |
+
## Rust Proxy CLI
|
| 80 |
+
|
| 81 |
+
```bash
|
| 82 |
+
./flash-crash-proxy --symbol BTCUSDT --depth 20 --out tcp://127.0.0.1:5555
|
| 83 |
+
```
|
docs/ARCHITECTURE.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Architecture
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
+
|
| 5 |
+
The Flash Crash Early Warning system is a **5-stage hybrid detection cascade** that processes limit-order-book (LOB) streams in real time and fires alerts 50–500ms before price dislocation.
|
| 6 |
+
|
| 7 |
+
```
|
| 8 |
+
Binance WebSocket ─┐
|
| 9 |
+
├─→ Rust Proxy ─→ Feature Extractor ─→ 5-Stage Cascade ─→ Alert Router
|
| 10 |
+
FI-2010 (offline) ─┘ (< 1 ms) (~2 ms) (27 ms p99) (Slack/PagerDuty)
|
| 11 |
+
```
|
| 12 |
+
|
| 13 |
+
## 5-Stage Cascade
|
| 14 |
+
|
| 15 |
+
### Stage 1 — Statistical Pre-Filter
|
| 16 |
+
- **Algorithm**: Z-score tests on micro-price velocity, spread, OBI
|
| 17 |
+
- **Latency**: < 0.1 ms
|
| 18 |
+
- **Pass-through**: ~5% (rejects obviously normal ticks)
|
| 19 |
+
- **Runs on**: Every tick
|
| 20 |
+
|
| 21 |
+
### Stage 2 — Isolation Forest
|
| 22 |
+
- **Algorithm**: Isolation Forest on 12 microstructure features (F1+F2)
|
| 23 |
+
- **Latency**: ~1 ms
|
| 24 |
+
- **Pass-through**: ~20% of suspects
|
| 25 |
+
- **Runs on**: Ticks that pass Stage 1
|
| 26 |
+
|
| 27 |
+
### Stage 3 — Temporal Convolutional Network (TCN)
|
| 28 |
+
- **Algorithm**: 8-layer dilated causal TCN, 500ms receptive field
|
| 29 |
+
- **Latency**: ~8 ms (GPU)
|
| 30 |
+
- **Pass-through**: ~40%
|
| 31 |
+
- **Runs on**: Ticks that pass Stage 2
|
| 32 |
+
|
| 33 |
+
### Stage 4 — Cross-Symbol Transformer
|
| 34 |
+
- **Algorithm**: 6-layer Transformer encoder, self-attention across 20 symbols
|
| 35 |
+
- **Latency**: ~15 ms (GPU)
|
| 36 |
+
- **Pass-through**: ~60%
|
| 37 |
+
- **Runs on**: Ticks that pass Stage 3
|
| 38 |
+
|
| 39 |
+
### Stage 5 — Bayesian Aggregator
|
| 40 |
+
- **Algorithm**: Bayesian model averaging (log-odds fusion)
|
| 41 |
+
- **Latency**: ~1 ms
|
| 42 |
+
- **Output**: Alert / no-alert
|
| 43 |
+
- **Runs on**: Ticks that pass Stage 4
|
| 44 |
+
|
| 45 |
+
**Total p99 latency**: 27 ms (target: < 50 ms)
|
| 46 |
+
|
| 47 |
+
## Feature Engineering
|
| 48 |
+
|
| 49 |
+
20 features in 5 families:
|
| 50 |
+
|
| 51 |
+
| Family | Features | Stage | Latency |
|
| 52 |
+
|--------|----------|-------|---------|
|
| 53 |
+
| F1 — Price & Action (5) | mid-price velocity (50/200ms), micro-price, trade arrival rate, cancel-to-trade ratio | 1, 2 | < 0.1 ms |
|
| 54 |
+
| F2 — Depth & Imbalance (5) | bid/ask depth L10, OBI, weighted mid, depth slope | 1, 2 | ~0.3 ms |
|
| 55 |
+
| F3 — Flow & Toxicity (4) | VPIN, Kyle's λ, effective spread, realized spread | 3 | ~0.5 ms |
|
| 56 |
+
| F4 — Volatility (3) | realized vol, variance ratio, Garman-Klass | 3 | ~0.2 ms |
|
| 57 |
+
| F5 — Cross-Symbol (3) | pairwise correlation, lead-lag, cointegration residual | 4 | ~0.9 ms |
|
| 58 |
+
|
| 59 |
+
**Total extraction latency**: ~2 ms
|
| 60 |
+
|
| 61 |
+
## Training Strategy
|
| 62 |
+
|
| 63 |
+
1. **Self-supervised pretraining** — Masked prediction on months of normal LOB data
|
| 64 |
+
2. **Supervised fine-tuning** — Focal loss on labeled crash windows
|
| 65 |
+
|
| 66 |
+
## Evaluation
|
| 67 |
+
|
| 68 |
+
Three regimes:
|
| 69 |
+
1. **Offline backtest** — Replay 6 months of LOB data, inject controlled crashes
|
| 70 |
+
2. **Online shadow** — Run alongside production for 30 days
|
| 71 |
+
3. **Adversarial red team** — Inject 100 synthetic crash patterns quarterly
|
| 72 |
+
|
| 73 |
+
**Target envelope**: detect 80% of crashes with > 200ms early warning · FP rate < 2/hour · p99 < 50ms
|
docs/DATA_SOURCES.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Data Sources
|
| 2 |
+
|
| 3 |
+
All datasets are **free and publicly accessible**.
|
| 4 |
+
|
| 5 |
+
## Primary Datasets
|
| 6 |
+
|
| 7 |
+
### 1. Binance Public Data ⭐⭐⭐⭐⭐
|
| 8 |
+
- **What**: Free historical trade + order-book data for every Binance-listed symbol
|
| 9 |
+
- **Granularity**: Trade-by-trade CSVs, daily/monthly aggregates, depth snapshots
|
| 10 |
+
- **Real-time**: Free WebSocket (`wss://stream.binance.com:9443`)
|
| 11 |
+
- **Coverage**: All Binance symbols, 2017–present
|
| 12 |
+
- **Cost**: Free, no auth for public data
|
| 13 |
+
- **URLs**:
|
| 14 |
+
- Historical: https://data.binance.vision
|
| 15 |
+
- Live: `wss://stream.binance.com:9443/ws`
|
| 16 |
+
- Docs: https://github.com/binance/binance-public-data
|
| 17 |
+
- **Use for**: 80% of the demo. Live stream + historical crash windows (May 2021 BTC, May 2022 LUNA)
|
| 18 |
+
|
| 19 |
+
### 2. FI-2010 Benchmark ⭐⭐⭐⭐⭐
|
| 20 |
+
- **What**: First publicly available HFT LOB benchmark
|
| 21 |
+
- **Granularity**: ~10ms ticks, 10 levels of depth
|
| 22 |
+
- **Coverage**: 5 Finnish stocks, 10 days
|
| 23 |
+
- **Labels**: Pre-annotated mid-price movement (up/down/stationary, 3 horizons)
|
| 24 |
+
- **Cost**: Free
|
| 25 |
+
- **URL**: https://etsin.fairdata.fi/dataset/73eb48d7-4dbc-4a10-a52a-da745b47a649
|
| 26 |
+
- **Paper**: Ntakaris et al. (2018), Journal of Forecasting
|
| 27 |
+
- **Use for**: Academic benchmark, training, comparing to published baselines
|
| 28 |
+
|
| 29 |
+
### 3. LOBSTER ⭐⭐⭐⭐
|
| 30 |
+
- **What**: Reconstructed NASDAQ TotalView-ITCH limit order books
|
| 31 |
+
- **Granularity**: Nanosecond, every order event
|
| 32 |
+
- **Coverage**: Any NASDAQ stock, 2007–present
|
| 33 |
+
- **Cost**: Free for academic use (university email); paid for commercial
|
| 34 |
+
- **URL**: https://lobsterdata.com
|
| 35 |
+
- **Use for**: Equity-market credibility, May 6, 2010 flash crash reconstruction
|
| 36 |
+
|
| 37 |
+
### 4. NASDAQ TotalView-ITCH Raw ⭐⭐⭐⭐
|
| 38 |
+
- **What**: Raw NASDAQ direct-feed protocol
|
| 39 |
+
- **Spec**: Public PDF (nasdaqtrader.com, NQTVITCH 5.0)
|
| 40 |
+
- **Parsers**: Open-source (Python, Julia, Rust)
|
| 41 |
+
- **Sample**: Free at https://data.nasdaq.com/databases/NTV
|
| 42 |
+
- **Cost**: Full historical is paid; samples free
|
| 43 |
+
- **Use for**: Low-latency parsing demo
|
| 44 |
+
|
| 45 |
+
### 5. Tardis.dev ⭐⭐⭐
|
| 46 |
+
- **What**: Commercial crypto tick data (L2/L3 snapshots)
|
| 47 |
+
- **Coverage**: All major crypto exchanges
|
| 48 |
+
- **Cost**: Paid (limited free tier)
|
| 49 |
+
- **URL**: https://tardis.dev
|
| 50 |
+
- **Use for**: LUNA crash L3 data
|
| 51 |
+
|
| 52 |
+
## Labeled Crash Windows
|
| 53 |
+
|
| 54 |
+
### May 6, 2010 — US Equities Flash Crash
|
| 55 |
+
- Dow dropped 998.5 points (9.2%) in 36 minutes
|
| 56 |
+
- $1 trillion wiped, recovered in 20 minutes
|
| 57 |
+
- Source: LOBSTER reconstruction
|
| 58 |
+
- SEC/CFTC report: https://www.sec.gov/files/marketevents-report.pdf
|
| 59 |
+
|
| 60 |
+
### May 19, 2021 — Bitcoin Flash Crash
|
| 61 |
+
- BTC -30% in hours
|
| 62 |
+
- $8B liquidations
|
| 63 |
+
- Binance outage during crash
|
| 64 |
+
- Source: Binance public data (data.binance.vision)
|
| 65 |
+
|
| 66 |
+
### May 2022 — LUNA / UST Death Spiral
|
| 67 |
+
- LUNA -99.9% in 48 hours
|
| 68 |
+
- $40B wiped
|
| 69 |
+
- UST stablecoin depeg
|
| 70 |
+
- Source: Binance public data + Tardis.dev
|
| 71 |
+
|
| 72 |
+
## Data Pipeline
|
| 73 |
+
|
| 74 |
+
```
|
| 75 |
+
Ingest → Normalize → Features → Detect → Alert
|
| 76 |
+
│ │ │ │ │
|
| 77 |
+
│ │ │ │ └── Slack/PagerDuty
|
| 78 |
+
│ │ │ └── 5-stage cascade (27ms p99)
|
| 79 |
+
│ │ └── Flink (20 features, 2ms)
|
| 80 |
+
│ └── Rust proxy (sub-ms)
|
| 81 |
+
└── Binance WebSocket / CSVs
|
| 82 |
+
```
|
ml/requirements.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core ML
|
| 2 |
+
numpy>=1.24
|
| 3 |
+
pandas>=2.0
|
| 4 |
+
scipy>=1.10
|
| 5 |
+
scikit-learn>=1.3
|
| 6 |
+
torch>=2.1
|
| 7 |
+
|
| 8 |
+
# Streaming / WebSocket
|
| 9 |
+
websockets>=12.0
|
| 10 |
+
aiohttp>=3.9
|
| 11 |
+
|
| 12 |
+
# Data
|
| 13 |
+
pyarrow>=14.0
|
| 14 |
+
requests>=2.31
|
| 15 |
+
|
| 16 |
+
# Config
|
| 17 |
+
pyyaml>=6.0
|
| 18 |
+
|
| 19 |
+
# Logging / utils
|
| 20 |
+
structlog>=24.1
|
| 21 |
+
tqdm>=4.66
|
| 22 |
+
joblib>=1.3
|
| 23 |
+
|
| 24 |
+
# Optional: dashboard (uncomment if running the Next.js dashboard backend)
|
| 25 |
+
# fastapi>=0.109
|
| 26 |
+
# uvicorn>=0.27
|
| 27 |
+
|
| 28 |
+
# Optional: model serving
|
| 29 |
+
# onnxruntime>=1.17
|
| 30 |
+
# tritonclient>=2.40
|
| 31 |
+
|
| 32 |
+
# Development
|
| 33 |
+
pytest>=7.4
|
| 34 |
+
pytest-cov>=4.1
|
ml/setup.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
setup(
|
| 4 |
+
name="flash-crash-watchdog",
|
| 5 |
+
version="0.4.0",
|
| 6 |
+
description="Real-time flash-crash detector on limit-order-book streams",
|
| 7 |
+
author="Z.ai Quant Research",
|
| 8 |
+
license="Apache-2.0",
|
| 9 |
+
python_requires=">=3.11",
|
| 10 |
+
packages=find_packages(),
|
| 11 |
+
install_requires=[
|
| 12 |
+
"numpy>=1.24",
|
| 13 |
+
"pandas>=2.0",
|
| 14 |
+
"scipy>=1.10",
|
| 15 |
+
"scikit-learn>=1.3",
|
| 16 |
+
"torch>=2.1",
|
| 17 |
+
"websockets>=12.0",
|
| 18 |
+
"pyarrow>=14.0",
|
| 19 |
+
"pyyaml>=6.0",
|
| 20 |
+
"joblib>=1.3",
|
| 21 |
+
],
|
| 22 |
+
entry_points={
|
| 23 |
+
"console_scripts": [
|
| 24 |
+
"flash-crash-watchdog=flash_crash_watchdog.cli:main",
|
| 25 |
+
],
|
| 26 |
+
},
|
| 27 |
+
)
|
proxy/Cargo.toml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[package]
|
| 2 |
+
name = "flash-crash-proxy"
|
| 3 |
+
version = "0.4.0"
|
| 4 |
+
edition = "2021"
|
| 5 |
+
authors = ["Z.ai Quant Research"]
|
| 6 |
+
description = "High-performance WebSocket proxy for Binance LOB streams"
|
| 7 |
+
|
| 8 |
+
[dependencies]
|
| 9 |
+
tokio = { version = "1.36", features = ["full"] }
|
| 10 |
+
tokio-tungstenite = { version = "0.21", features = ["native-tls"] }
|
| 11 |
+
serde = { version = "1.0", features = ["derive"] }
|
| 12 |
+
serde_json = "1.0"
|
| 13 |
+
futures-util = "0.3"
|
| 14 |
+
clap = { version = "4.5", features = ["derive"] }
|
| 15 |
+
tracing = "0.1"
|
| 16 |
+
tracing-subscriber = "0.3"
|
| 17 |
+
chrono = "0.4"
|
| 18 |
+
|
| 19 |
+
[profile.release]
|
| 20 |
+
opt-level = 3
|
| 21 |
+
lto = true
|
| 22 |
+
codegen-units = 1
|
| 23 |
+
panic = "abort"
|
results/backtest_btc_crash.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"total_ticks": 6331062,
|
| 3 |
+
"alerts_fired": 0,
|
| 4 |
+
"true_positives": 0,
|
| 5 |
+
"false_positives": 0,
|
| 6 |
+
"false_negatives": 507,
|
| 7 |
+
"precision": 0.0,
|
| 8 |
+
"recall": 0.0,
|
| 9 |
+
"f1": 0.0,
|
| 10 |
+
"median_ttd_ms": 0.0,
|
| 11 |
+
"ttd_ms": [],
|
| 12 |
+
"alerts": []
|
| 13 |
+
}
|
results/cascade_backtest
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alerts_fired": 2,
|
| 3 |
+
"true_positives": 1,
|
| 4 |
+
"false_positives": 1,
|
| 5 |
+
"false_negatives": 242,
|
| 6 |
+
"precision": 0.5,
|
| 7 |
+
"recall": 0.00411522633744856,
|
| 8 |
+
"f1": 0.00816326530612245,
|
| 9 |
+
"median_ttd_ms": 2301.0,
|
| 10 |
+
"ttd_ms": [
|
| 11 |
+
2301
|
| 12 |
+
],
|
| 13 |
+
"cascade_stats": {
|
| 14 |
+
"total_ticks": 500000,
|
| 15 |
+
"stage1_passed": 9084,
|
| 16 |
+
"stage2_passed": 8455,
|
| 17 |
+
"stage3_passed": 2,
|
| 18 |
+
"alerts_fired": 2
|
| 19 |
+
},
|
| 20 |
+
"per_crash_breakdown": [
|
| 21 |
+
{
|
| 22 |
+
"alert_timestamp_ms": 1621430488278,
|
| 23 |
+
"crash_start_ms": 1621430482808,
|
| 24 |
+
"crash_end_ms": 1621430490579,
|
| 25 |
+
"ttd_ms": 2301,
|
| 26 |
+
"ttd_seconds": 2.301,
|
| 27 |
+
"crash_drop_pct": 2.0,
|
| 28 |
+
"peak_price": 34736.3,
|
| 29 |
+
"trough_price": 34041.27,
|
| 30 |
+
"alert_price": 34219.19,
|
| 31 |
+
"tcn_score": 1.0,
|
| 32 |
+
"s1_score": 1.0,
|
| 33 |
+
"s2_score": 0.5504,
|
| 34 |
+
"features": {
|
| 35 |
+
"obi_10": 0.0,
|
| 36 |
+
"bid_depth_10": 1.0,
|
| 37 |
+
"ask_depth_10": 1.0,
|
| 38 |
+
"spread_bps": 2.0,
|
| 39 |
+
"vpin": 0.486482,
|
| 40 |
+
"realized_vol_1s": 0.005575,
|
| 41 |
+
"variance_ratio": 0.153093,
|
| 42 |
+
"trade_arrival_rate": 23
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
]
|
| 46 |
+
}
|
results/cascade_backtest.json
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alerts_fired": 0,
|
| 3 |
+
"true_positives": 0,
|
| 4 |
+
"false_positives": 0,
|
| 5 |
+
"false_negatives": 243,
|
| 6 |
+
"precision": 0.0,
|
| 7 |
+
"recall": 0.0,
|
| 8 |
+
"f1": 0.0,
|
| 9 |
+
"median_ttd_ms": 0.0,
|
| 10 |
+
"ttd_ms": [],
|
| 11 |
+
"cascade_stats": {
|
| 12 |
+
"total_ticks": 500000,
|
| 13 |
+
"stage1_passed": 9084,
|
| 14 |
+
"stage2_passed": 8455,
|
| 15 |
+
"stage3_passed": 0,
|
| 16 |
+
"alerts_fired": 0
|
| 17 |
+
},
|
| 18 |
+
"per_crash_breakdown": []
|
| 19 |
+
}
|
results/cascade_backtest_permissive.json
ADDED
|
@@ -0,0 +1,446 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"alerts_fired": 30,
|
| 3 |
+
"true_positives": 17,
|
| 4 |
+
"false_positives": 13,
|
| 5 |
+
"false_negatives": 226,
|
| 6 |
+
"precision": 0.5666666666666667,
|
| 7 |
+
"recall": 0.06995884773662552,
|
| 8 |
+
"f1": 0.12454212454212454,
|
| 9 |
+
"median_ttd_ms": 1404.0,
|
| 10 |
+
"ttd_ms": [
|
| 11 |
+
1106,
|
| 12 |
+
923,
|
| 13 |
+
695,
|
| 14 |
+
683,
|
| 15 |
+
992,
|
| 16 |
+
1394,
|
| 17 |
+
1454,
|
| 18 |
+
1498,
|
| 19 |
+
171,
|
| 20 |
+
2123,
|
| 21 |
+
1559,
|
| 22 |
+
54,
|
| 23 |
+
3118,
|
| 24 |
+
1404,
|
| 25 |
+
3028,
|
| 26 |
+
2301,
|
| 27 |
+
5520
|
| 28 |
+
],
|
| 29 |
+
"cascade_stats": {
|
| 30 |
+
"total_ticks": 500000,
|
| 31 |
+
"stage1_passed": 226660,
|
| 32 |
+
"stage2_passed": 208505,
|
| 33 |
+
"stage3_passed": 30,
|
| 34 |
+
"alerts_fired": 30
|
| 35 |
+
},
|
| 36 |
+
"per_crash_breakdown": [
|
| 37 |
+
{
|
| 38 |
+
"alert_timestamp_ms": 1621428897638,
|
| 39 |
+
"crash_start_ms": 1621428898737,
|
| 40 |
+
"crash_end_ms": 1621428898744,
|
| 41 |
+
"ttd_ms": 1106,
|
| 42 |
+
"ttd_seconds": 1.106,
|
| 43 |
+
"crash_drop_pct": 2.15,
|
| 44 |
+
"peak_price": 33533.38,
|
| 45 |
+
"trough_price": 32812.4,
|
| 46 |
+
"alert_price": 32800.0,
|
| 47 |
+
"tcn_score": 1.0,
|
| 48 |
+
"s1_score": 1.0,
|
| 49 |
+
"s2_score": 0.5453,
|
| 50 |
+
"features": {
|
| 51 |
+
"obi_10": 0.0,
|
| 52 |
+
"bid_depth_10": 1.0,
|
| 53 |
+
"ask_depth_10": 1.0,
|
| 54 |
+
"spread_bps": 2.0,
|
| 55 |
+
"vpin": 0.626114,
|
| 56 |
+
"realized_vol_1s": 0.00297,
|
| 57 |
+
"variance_ratio": 1.0,
|
| 58 |
+
"trade_arrival_rate": 44
|
| 59 |
+
}
|
| 60 |
+
},
|
| 61 |
+
{
|
| 62 |
+
"alert_timestamp_ms": 1621428968036,
|
| 63 |
+
"crash_start_ms": 1621428968804,
|
| 64 |
+
"crash_end_ms": 1621428968959,
|
| 65 |
+
"ttd_ms": 923,
|
| 66 |
+
"ttd_seconds": 0.923,
|
| 67 |
+
"crash_drop_pct": 2.22,
|
| 68 |
+
"peak_price": 34688.27,
|
| 69 |
+
"trough_price": 33919.19,
|
| 70 |
+
"alert_price": 33362.08,
|
| 71 |
+
"tcn_score": 1.0,
|
| 72 |
+
"s1_score": 1.0,
|
| 73 |
+
"s2_score": 0.5757,
|
| 74 |
+
"features": {
|
| 75 |
+
"obi_10": 0.0,
|
| 76 |
+
"bid_depth_10": 1.0,
|
| 77 |
+
"ask_depth_10": 1.0,
|
| 78 |
+
"spread_bps": 2.0,
|
| 79 |
+
"vpin": 0.499177,
|
| 80 |
+
"realized_vol_1s": 0.010907,
|
| 81 |
+
"variance_ratio": 0.090993,
|
| 82 |
+
"trade_arrival_rate": 48
|
| 83 |
+
}
|
| 84 |
+
},
|
| 85 |
+
{
|
| 86 |
+
"alert_timestamp_ms": 1621428968362,
|
| 87 |
+
"crash_start_ms": 1621428969002,
|
| 88 |
+
"crash_end_ms": 1621428969057,
|
| 89 |
+
"ttd_ms": 695,
|
| 90 |
+
"ttd_seconds": 0.695,
|
| 91 |
+
"crash_drop_pct": 3.7,
|
| 92 |
+
"peak_price": 35015.7,
|
| 93 |
+
"trough_price": 33719.74,
|
| 94 |
+
"alert_price": 33651.63,
|
| 95 |
+
"tcn_score": 1.0,
|
| 96 |
+
"s1_score": 1.0,
|
| 97 |
+
"s2_score": 0.5719,
|
| 98 |
+
"features": {
|
| 99 |
+
"obi_10": 0.0,
|
| 100 |
+
"bid_depth_10": 1.0,
|
| 101 |
+
"ask_depth_10": 1.0,
|
| 102 |
+
"spread_bps": 2.0,
|
| 103 |
+
"vpin": 0.503521,
|
| 104 |
+
"realized_vol_1s": 0.010423,
|
| 105 |
+
"variance_ratio": 1.743468,
|
| 106 |
+
"trade_arrival_rate": 38
|
| 107 |
+
}
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"alert_timestamp_ms": 1621428968589,
|
| 111 |
+
"crash_start_ms": 1621428969256,
|
| 112 |
+
"crash_end_ms": 1621428969272,
|
| 113 |
+
"ttd_ms": 683,
|
| 114 |
+
"ttd_seconds": 0.683,
|
| 115 |
+
"crash_drop_pct": 4.18,
|
| 116 |
+
"peak_price": 35322.62,
|
| 117 |
+
"trough_price": 33845.42,
|
| 118 |
+
"alert_price": 34667.72,
|
| 119 |
+
"tcn_score": 1.0,
|
| 120 |
+
"s1_score": 1.0,
|
| 121 |
+
"s2_score": 0.5712,
|
| 122 |
+
"features": {
|
| 123 |
+
"obi_10": 0.0,
|
| 124 |
+
"bid_depth_10": 1.0,
|
| 125 |
+
"ask_depth_10": 1.0,
|
| 126 |
+
"spread_bps": 2.0,
|
| 127 |
+
"vpin": 0.504067,
|
| 128 |
+
"realized_vol_1s": 0.01094,
|
| 129 |
+
"variance_ratio": 0.191638,
|
| 130 |
+
"trade_arrival_rate": 44
|
| 131 |
+
}
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"alert_timestamp_ms": 1621428968643,
|
| 135 |
+
"crash_start_ms": 1621428969347,
|
| 136 |
+
"crash_end_ms": 1621428969635,
|
| 137 |
+
"ttd_ms": 992,
|
| 138 |
+
"ttd_seconds": 0.992,
|
| 139 |
+
"crash_drop_pct": 2.22,
|
| 140 |
+
"peak_price": 34447.28,
|
| 141 |
+
"trough_price": 33681.0,
|
| 142 |
+
"alert_price": 34018.78,
|
| 143 |
+
"tcn_score": 1.0,
|
| 144 |
+
"s1_score": 1.0,
|
| 145 |
+
"s2_score": 0.5512,
|
| 146 |
+
"features": {
|
| 147 |
+
"obi_10": 0.0,
|
| 148 |
+
"bid_depth_10": 1.0,
|
| 149 |
+
"ask_depth_10": 1.0,
|
| 150 |
+
"spread_bps": 2.0,
|
| 151 |
+
"vpin": 0.504067,
|
| 152 |
+
"realized_vol_1s": 0.011263,
|
| 153 |
+
"variance_ratio": 0.080759,
|
| 154 |
+
"trade_arrival_rate": 41
|
| 155 |
+
}
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"alert_timestamp_ms": 1621428968765,
|
| 159 |
+
"crash_start_ms": 1621428970129,
|
| 160 |
+
"crash_end_ms": 1621428970159,
|
| 161 |
+
"ttd_ms": 1394,
|
| 162 |
+
"ttd_seconds": 1.394,
|
| 163 |
+
"crash_drop_pct": 3.67,
|
| 164 |
+
"peak_price": 35330.14,
|
| 165 |
+
"trough_price": 34032.25,
|
| 166 |
+
"alert_price": 34000.01,
|
| 167 |
+
"tcn_score": 1.0,
|
| 168 |
+
"s1_score": 1.0,
|
| 169 |
+
"s2_score": 0.5417,
|
| 170 |
+
"features": {
|
| 171 |
+
"obi_10": 0.0,
|
| 172 |
+
"bid_depth_10": 1.0,
|
| 173 |
+
"ask_depth_10": 1.0,
|
| 174 |
+
"spread_bps": 2.0,
|
| 175 |
+
"vpin": 0.513589,
|
| 176 |
+
"realized_vol_1s": 0.008575,
|
| 177 |
+
"variance_ratio": 45.205564,
|
| 178 |
+
"trade_arrival_rate": 39
|
| 179 |
+
}
|
| 180 |
+
},
|
| 181 |
+
{
|
| 182 |
+
"alert_timestamp_ms": 1621428968800,
|
| 183 |
+
"crash_start_ms": 1621428970235,
|
| 184 |
+
"crash_end_ms": 1621428970254,
|
| 185 |
+
"ttd_ms": 1454,
|
| 186 |
+
"ttd_seconds": 1.454,
|
| 187 |
+
"crash_drop_pct": 2.63,
|
| 188 |
+
"peak_price": 34917.6,
|
| 189 |
+
"trough_price": 33999.49,
|
| 190 |
+
"alert_price": 34072.48,
|
| 191 |
+
"tcn_score": 1.0,
|
| 192 |
+
"s1_score": 1.0,
|
| 193 |
+
"s2_score": 0.5649,
|
| 194 |
+
"features": {
|
| 195 |
+
"obi_10": 0.0,
|
| 196 |
+
"bid_depth_10": 1.0,
|
| 197 |
+
"ask_depth_10": 1.0,
|
| 198 |
+
"spread_bps": 2.0,
|
| 199 |
+
"vpin": 0.513589,
|
| 200 |
+
"realized_vol_1s": 0.008458,
|
| 201 |
+
"variance_ratio": 6.309789,
|
| 202 |
+
"trade_arrival_rate": 40
|
| 203 |
+
}
|
| 204 |
+
},
|
| 205 |
+
{
|
| 206 |
+
"alert_timestamp_ms": 1621428968804,
|
| 207 |
+
"crash_start_ms": 1621428970288,
|
| 208 |
+
"crash_end_ms": 1621428970302,
|
| 209 |
+
"ttd_ms": 1498,
|
| 210 |
+
"ttd_seconds": 1.498,
|
| 211 |
+
"crash_drop_pct": 4.37,
|
| 212 |
+
"peak_price": 35483.34,
|
| 213 |
+
"trough_price": 33932.95,
|
| 214 |
+
"alert_price": 34688.27,
|
| 215 |
+
"tcn_score": 1.0,
|
| 216 |
+
"s1_score": 1.0,
|
| 217 |
+
"s2_score": 0.5727,
|
| 218 |
+
"features": {
|
| 219 |
+
"obi_10": 0.0,
|
| 220 |
+
"bid_depth_10": 1.0,
|
| 221 |
+
"ask_depth_10": 1.0,
|
| 222 |
+
"spread_bps": 2.0,
|
| 223 |
+
"vpin": 0.513589,
|
| 224 |
+
"realized_vol_1s": 0.008818,
|
| 225 |
+
"variance_ratio": 0.095606,
|
| 226 |
+
"trade_arrival_rate": 41
|
| 227 |
+
}
|
| 228 |
+
},
|
| 229 |
+
{
|
| 230 |
+
"alert_timestamp_ms": 1621428979620,
|
| 231 |
+
"crash_start_ms": 1621428979722,
|
| 232 |
+
"crash_end_ms": 1621428979791,
|
| 233 |
+
"ttd_ms": 171,
|
| 234 |
+
"ttd_seconds": 0.171,
|
| 235 |
+
"crash_drop_pct": 2.14,
|
| 236 |
+
"peak_price": 34243.48,
|
| 237 |
+
"trough_price": 33511.4,
|
| 238 |
+
"alert_price": 33512.83,
|
| 239 |
+
"tcn_score": 1.0,
|
| 240 |
+
"s1_score": 1.0,
|
| 241 |
+
"s2_score": 0.5555,
|
| 242 |
+
"features": {
|
| 243 |
+
"obi_10": 0.0,
|
| 244 |
+
"bid_depth_10": 1.0,
|
| 245 |
+
"ask_depth_10": 1.0,
|
| 246 |
+
"spread_bps": 2.0,
|
| 247 |
+
"vpin": 0.517928,
|
| 248 |
+
"realized_vol_1s": 0.006414,
|
| 249 |
+
"variance_ratio": 1.806458,
|
| 250 |
+
"trade_arrival_rate": 38
|
| 251 |
+
}
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"alert_timestamp_ms": 1621428980047,
|
| 255 |
+
"crash_start_ms": 1621428982147,
|
| 256 |
+
"crash_end_ms": 1621428982170,
|
| 257 |
+
"ttd_ms": 2123,
|
| 258 |
+
"ttd_seconds": 2.123,
|
| 259 |
+
"crash_drop_pct": 2.26,
|
| 260 |
+
"peak_price": 34162.02,
|
| 261 |
+
"trough_price": 33390.94,
|
| 262 |
+
"alert_price": 33368.13,
|
| 263 |
+
"tcn_score": 1.0,
|
| 264 |
+
"s1_score": 1.0,
|
| 265 |
+
"s2_score": 0.5701,
|
| 266 |
+
"features": {
|
| 267 |
+
"obi_10": 0.0,
|
| 268 |
+
"bid_depth_10": 1.0,
|
| 269 |
+
"ask_depth_10": 1.0,
|
| 270 |
+
"spread_bps": 2.0,
|
| 271 |
+
"vpin": 0.518325,
|
| 272 |
+
"realized_vol_1s": 0.005088,
|
| 273 |
+
"variance_ratio": 0.337382,
|
| 274 |
+
"trade_arrival_rate": 41
|
| 275 |
+
}
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"alert_timestamp_ms": 1621428983815,
|
| 279 |
+
"crash_start_ms": 1621428983146,
|
| 280 |
+
"crash_end_ms": 1621428985374,
|
| 281 |
+
"ttd_ms": 1559,
|
| 282 |
+
"ttd_seconds": 1.559,
|
| 283 |
+
"crash_drop_pct": 2.03,
|
| 284 |
+
"peak_price": 33940.93,
|
| 285 |
+
"trough_price": 33252.82,
|
| 286 |
+
"alert_price": 33411.55,
|
| 287 |
+
"tcn_score": 1.0,
|
| 288 |
+
"s1_score": 1.0,
|
| 289 |
+
"s2_score": 0.5738,
|
| 290 |
+
"features": {
|
| 291 |
+
"obi_10": 0.0,
|
| 292 |
+
"bid_depth_10": 1.0,
|
| 293 |
+
"ask_depth_10": 1.0,
|
| 294 |
+
"spread_bps": 2.0,
|
| 295 |
+
"vpin": 0.523385,
|
| 296 |
+
"realized_vol_1s": 0.006825,
|
| 297 |
+
"variance_ratio": 0.377326,
|
| 298 |
+
"trade_arrival_rate": 59
|
| 299 |
+
}
|
| 300 |
+
},
|
| 301 |
+
{
|
| 302 |
+
"alert_timestamp_ms": 1621429825020,
|
| 303 |
+
"crash_start_ms": 1621429825040,
|
| 304 |
+
"crash_end_ms": 1621429825074,
|
| 305 |
+
"ttd_ms": 54,
|
| 306 |
+
"ttd_seconds": 0.054,
|
| 307 |
+
"crash_drop_pct": 2.22,
|
| 308 |
+
"peak_price": 30720.05,
|
| 309 |
+
"trough_price": 30039.06,
|
| 310 |
+
"alert_price": 30321.7,
|
| 311 |
+
"tcn_score": 1.0,
|
| 312 |
+
"s1_score": 1.0,
|
| 313 |
+
"s2_score": 0.5515,
|
| 314 |
+
"features": {
|
| 315 |
+
"obi_10": 0.0,
|
| 316 |
+
"bid_depth_10": 1.0,
|
| 317 |
+
"ask_depth_10": 1.0,
|
| 318 |
+
"spread_bps": 2.0,
|
| 319 |
+
"vpin": 0.711685,
|
| 320 |
+
"realized_vol_1s": 0.00688,
|
| 321 |
+
"variance_ratio": 0.438493,
|
| 322 |
+
"trade_arrival_rate": 50
|
| 323 |
+
}
|
| 324 |
+
},
|
| 325 |
+
{
|
| 326 |
+
"alert_timestamp_ms": 1621429825040,
|
| 327 |
+
"crash_start_ms": 1621429828054,
|
| 328 |
+
"crash_end_ms": 1621429828158,
|
| 329 |
+
"ttd_ms": 3118,
|
| 330 |
+
"ttd_seconds": 3.118,
|
| 331 |
+
"crash_drop_pct": 2.19,
|
| 332 |
+
"peak_price": 30827.86,
|
| 333 |
+
"trough_price": 30151.23,
|
| 334 |
+
"alert_price": 30720.05,
|
| 335 |
+
"tcn_score": 1.0,
|
| 336 |
+
"s1_score": 1.0,
|
| 337 |
+
"s2_score": 0.5632,
|
| 338 |
+
"features": {
|
| 339 |
+
"obi_10": 0.0,
|
| 340 |
+
"bid_depth_10": 1.0,
|
| 341 |
+
"ask_depth_10": 1.0,
|
| 342 |
+
"spread_bps": 2.0,
|
| 343 |
+
"vpin": 0.711685,
|
| 344 |
+
"realized_vol_1s": 0.007128,
|
| 345 |
+
"variance_ratio": 0.085084,
|
| 346 |
+
"trade_arrival_rate": 50
|
| 347 |
+
}
|
| 348 |
+
},
|
| 349 |
+
{
|
| 350 |
+
"alert_timestamp_ms": 1621429867636,
|
| 351 |
+
"crash_start_ms": 1621429868813,
|
| 352 |
+
"crash_end_ms": 1621429869040,
|
| 353 |
+
"ttd_ms": 1404,
|
| 354 |
+
"ttd_seconds": 1.404,
|
| 355 |
+
"crash_drop_pct": 2.05,
|
| 356 |
+
"peak_price": 32071.42,
|
| 357 |
+
"trough_price": 31413.66,
|
| 358 |
+
"alert_price": 32000.0,
|
| 359 |
+
"tcn_score": 1.0,
|
| 360 |
+
"s1_score": 1.0,
|
| 361 |
+
"s2_score": 0.5692,
|
| 362 |
+
"features": {
|
| 363 |
+
"obi_10": 0.0,
|
| 364 |
+
"bid_depth_10": 1.0,
|
| 365 |
+
"ask_depth_10": 1.0,
|
| 366 |
+
"spread_bps": 2.0,
|
| 367 |
+
"vpin": 0.472286,
|
| 368 |
+
"realized_vol_1s": 0.007228,
|
| 369 |
+
"variance_ratio": 0.8946,
|
| 370 |
+
"trade_arrival_rate": 35
|
| 371 |
+
}
|
| 372 |
+
},
|
| 373 |
+
{
|
| 374 |
+
"alert_timestamp_ms": 1621429867798,
|
| 375 |
+
"crash_start_ms": 1621429869477,
|
| 376 |
+
"crash_end_ms": 1621429870826,
|
| 377 |
+
"ttd_ms": 3028,
|
| 378 |
+
"ttd_seconds": 3.028,
|
| 379 |
+
"crash_drop_pct": 2.11,
|
| 380 |
+
"peak_price": 32084.93,
|
| 381 |
+
"trough_price": 31406.88,
|
| 382 |
+
"alert_price": 31463.42,
|
| 383 |
+
"tcn_score": 1.0,
|
| 384 |
+
"s1_score": 1.0,
|
| 385 |
+
"s2_score": 0.5798,
|
| 386 |
+
"features": {
|
| 387 |
+
"obi_10": 0.0,
|
| 388 |
+
"bid_depth_10": 1.0,
|
| 389 |
+
"ask_depth_10": 1.0,
|
| 390 |
+
"spread_bps": 2.0,
|
| 391 |
+
"vpin": 0.472286,
|
| 392 |
+
"realized_vol_1s": 0.007173,
|
| 393 |
+
"variance_ratio": 0.50157,
|
| 394 |
+
"trade_arrival_rate": 36
|
| 395 |
+
}
|
| 396 |
+
},
|
| 397 |
+
{
|
| 398 |
+
"alert_timestamp_ms": 1621430488278,
|
| 399 |
+
"crash_start_ms": 1621430482808,
|
| 400 |
+
"crash_end_ms": 1621430490579,
|
| 401 |
+
"ttd_ms": 2301,
|
| 402 |
+
"ttd_seconds": 2.301,
|
| 403 |
+
"crash_drop_pct": 2.0,
|
| 404 |
+
"peak_price": 34736.3,
|
| 405 |
+
"trough_price": 34041.27,
|
| 406 |
+
"alert_price": 34219.19,
|
| 407 |
+
"tcn_score": 1.0,
|
| 408 |
+
"s1_score": 1.0,
|
| 409 |
+
"s2_score": 0.5779,
|
| 410 |
+
"features": {
|
| 411 |
+
"obi_10": 0.0,
|
| 412 |
+
"bid_depth_10": 1.0,
|
| 413 |
+
"ask_depth_10": 1.0,
|
| 414 |
+
"spread_bps": 2.0,
|
| 415 |
+
"vpin": 0.486482,
|
| 416 |
+
"realized_vol_1s": 0.005575,
|
| 417 |
+
"variance_ratio": 0.153093,
|
| 418 |
+
"trade_arrival_rate": 23
|
| 419 |
+
}
|
| 420 |
+
},
|
| 421 |
+
{
|
| 422 |
+
"alert_timestamp_ms": 1621430490169,
|
| 423 |
+
"crash_start_ms": 1621430490684,
|
| 424 |
+
"crash_end_ms": 1621430495689,
|
| 425 |
+
"ttd_ms": 5520,
|
| 426 |
+
"ttd_seconds": 5.52,
|
| 427 |
+
"crash_drop_pct": 2.05,
|
| 428 |
+
"peak_price": 34284.86,
|
| 429 |
+
"trough_price": 33582.63,
|
| 430 |
+
"alert_price": 34265.06,
|
| 431 |
+
"tcn_score": 1.0,
|
| 432 |
+
"s1_score": 1.0,
|
| 433 |
+
"s2_score": 0.5688,
|
| 434 |
+
"features": {
|
| 435 |
+
"obi_10": 0.0,
|
| 436 |
+
"bid_depth_10": 1.0,
|
| 437 |
+
"ask_depth_10": 1.0,
|
| 438 |
+
"spread_bps": 2.0,
|
| 439 |
+
"vpin": 0.487147,
|
| 440 |
+
"realized_vol_1s": 0.002555,
|
| 441 |
+
"variance_ratio": 0.1322,
|
| 442 |
+
"trade_arrival_rate": 27
|
| 443 |
+
}
|
| 444 |
+
}
|
| 445 |
+
]
|
| 446 |
+
}
|
results/luna_finetuned_backtest.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
results/window_backtest.json
ADDED
|
@@ -0,0 +1,4323 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tcn": {
|
| 3 |
+
"true_positives": 38,
|
| 4 |
+
"false_positives": 33,
|
| 5 |
+
"false_negatives": 205,
|
| 6 |
+
"precision": 0.5352112676056338,
|
| 7 |
+
"recall": 0.15637860082304528,
|
| 8 |
+
"f1": 0.24203821656050956,
|
| 9 |
+
"ttd_ms": [
|
| 10 |
+
2081,
|
| 11 |
+
175,
|
| 12 |
+
29,
|
| 13 |
+
34146,
|
| 14 |
+
1106,
|
| 15 |
+
923,
|
| 16 |
+
1010,
|
| 17 |
+
1210,
|
| 18 |
+
1489,
|
| 19 |
+
1946,
|
| 20 |
+
1961,
|
| 21 |
+
1940,
|
| 22 |
+
1887,
|
| 23 |
+
1982,
|
| 24 |
+
2068,
|
| 25 |
+
2627,
|
| 26 |
+
2688,
|
| 27 |
+
2741,
|
| 28 |
+
2755,
|
| 29 |
+
2763,
|
| 30 |
+
2801,
|
| 31 |
+
3086,
|
| 32 |
+
3582,
|
| 33 |
+
171,
|
| 34 |
+
2123,
|
| 35 |
+
1818,
|
| 36 |
+
1411,
|
| 37 |
+
2323,
|
| 38 |
+
4898,
|
| 39 |
+
54,
|
| 40 |
+
3118,
|
| 41 |
+
0,
|
| 42 |
+
1404,
|
| 43 |
+
3176,
|
| 44 |
+
4451,
|
| 45 |
+
4587,
|
| 46 |
+
2301,
|
| 47 |
+
6636
|
| 48 |
+
],
|
| 49 |
+
"median_ttd_ms": 2074.5,
|
| 50 |
+
"mean_ttd_ms": 3038.6052631578946,
|
| 51 |
+
"n_ticks": 500000,
|
| 52 |
+
"n_crashes": 243,
|
| 53 |
+
"n_alerts": 71,
|
| 54 |
+
"tcn_scores_sample": [
|
| 55 |
+
{
|
| 56 |
+
"timestamp_ms": 1621382459859,
|
| 57 |
+
"score": 0.0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"timestamp_ms": 1621382563317,
|
| 61 |
+
"score": 0.0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"timestamp_ms": 1621382756412,
|
| 65 |
+
"score": 0.0
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"timestamp_ms": 1621382832336,
|
| 69 |
+
"score": 0.0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"timestamp_ms": 1621382918672,
|
| 73 |
+
"score": 0.0
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"timestamp_ms": 1621383083538,
|
| 77 |
+
"score": 0.0
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"timestamp_ms": 1621383231584,
|
| 81 |
+
"score": 0.0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"timestamp_ms": 1621383436746,
|
| 85 |
+
"score": 0.0
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"timestamp_ms": 1621383675902,
|
| 89 |
+
"score": 0.0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"timestamp_ms": 1621383979326,
|
| 93 |
+
"score": 0.0
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"timestamp_ms": 1621384315808,
|
| 97 |
+
"score": 0.0
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"timestamp_ms": 1621384456189,
|
| 101 |
+
"score": 0.0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"timestamp_ms": 1621384620679,
|
| 105 |
+
"score": 0.0
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"timestamp_ms": 1621384889128,
|
| 109 |
+
"score": 0.0
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"timestamp_ms": 1621385224913,
|
| 113 |
+
"score": 0.0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"timestamp_ms": 1621385479326,
|
| 117 |
+
"score": 0.0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"timestamp_ms": 1621385744697,
|
| 121 |
+
"score": 0.0
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"timestamp_ms": 1621385982379,
|
| 125 |
+
"score": 0.0
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"timestamp_ms": 1621386206319,
|
| 129 |
+
"score": 0.0
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"timestamp_ms": 1621386451685,
|
| 133 |
+
"score": 0.0
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"timestamp_ms": 1621386641807,
|
| 137 |
+
"score": 0.0
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"timestamp_ms": 1621386793199,
|
| 141 |
+
"score": 0.0
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"timestamp_ms": 1621386899479,
|
| 145 |
+
"score": 0.0
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"timestamp_ms": 1621387029600,
|
| 149 |
+
"score": 0.0
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"timestamp_ms": 1621387041743,
|
| 153 |
+
"score": 0.0
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"timestamp_ms": 1621387043002,
|
| 157 |
+
"score": 0.0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"timestamp_ms": 1621387047120,
|
| 161 |
+
"score": 0.0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"timestamp_ms": 1621387058532,
|
| 165 |
+
"score": 0.0
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"timestamp_ms": 1621387091935,
|
| 169 |
+
"score": 0.0
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"timestamp_ms": 1621387146713,
|
| 173 |
+
"score": 0.0
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"timestamp_ms": 1621387193026,
|
| 177 |
+
"score": 0.0
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"timestamp_ms": 1621387272880,
|
| 181 |
+
"score": 0.0
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"timestamp_ms": 1621387318343,
|
| 185 |
+
"score": 0.0
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"timestamp_ms": 1621387365275,
|
| 189 |
+
"score": 0.0
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"timestamp_ms": 1621387459621,
|
| 193 |
+
"score": 0.0
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"timestamp_ms": 1621387588071,
|
| 197 |
+
"score": 0.0
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"timestamp_ms": 1621387752264,
|
| 201 |
+
"score": 0.0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"timestamp_ms": 1621387884320,
|
| 205 |
+
"score": 0.0
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"timestamp_ms": 1621388045479,
|
| 209 |
+
"score": 0.0
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"timestamp_ms": 1621388169735,
|
| 213 |
+
"score": 0.0
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"timestamp_ms": 1621388224176,
|
| 217 |
+
"score": 0.0
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"timestamp_ms": 1621388284051,
|
| 221 |
+
"score": 0.0
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"timestamp_ms": 1621388357790,
|
| 225 |
+
"score": 0.0
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"timestamp_ms": 1621388480316,
|
| 229 |
+
"score": 0.0
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"timestamp_ms": 1621388646824,
|
| 233 |
+
"score": 0.0
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"timestamp_ms": 1621388796286,
|
| 237 |
+
"score": 0.0
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"timestamp_ms": 1621388816676,
|
| 241 |
+
"score": 0.0
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"timestamp_ms": 1621388853183,
|
| 245 |
+
"score": 0.0
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"timestamp_ms": 1621388895365,
|
| 249 |
+
"score": 0.0
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"timestamp_ms": 1621388931199,
|
| 253 |
+
"score": 0.0
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"timestamp_ms": 1621388985612,
|
| 257 |
+
"score": 0.0
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"timestamp_ms": 1621389070443,
|
| 261 |
+
"score": 0.0
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"timestamp_ms": 1621389154347,
|
| 265 |
+
"score": 0.0
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"timestamp_ms": 1621389238190,
|
| 269 |
+
"score": 0.0
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"timestamp_ms": 1621389366373,
|
| 273 |
+
"score": 0.0
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"timestamp_ms": 1621389492572,
|
| 277 |
+
"score": 0.0
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"timestamp_ms": 1621389610018,
|
| 281 |
+
"score": 0.0
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"timestamp_ms": 1621389717874,
|
| 285 |
+
"score": 0.0
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"timestamp_ms": 1621389834881,
|
| 289 |
+
"score": 0.0
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"timestamp_ms": 1621389999114,
|
| 293 |
+
"score": 0.0
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"timestamp_ms": 1621390127738,
|
| 297 |
+
"score": 0.0
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"timestamp_ms": 1621390275949,
|
| 301 |
+
"score": 0.0
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"timestamp_ms": 1621390445856,
|
| 305 |
+
"score": 0.0
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"timestamp_ms": 1621390621086,
|
| 309 |
+
"score": 0.0
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"timestamp_ms": 1621390723339,
|
| 313 |
+
"score": 0.0
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"timestamp_ms": 1621390854485,
|
| 317 |
+
"score": 0.0
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"timestamp_ms": 1621391020190,
|
| 321 |
+
"score": 0.0
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"timestamp_ms": 1621391184271,
|
| 325 |
+
"score": 0.0
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"timestamp_ms": 1621391374683,
|
| 329 |
+
"score": 0.0
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"timestamp_ms": 1621391542978,
|
| 333 |
+
"score": 0.0
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"timestamp_ms": 1621391739587,
|
| 337 |
+
"score": 0.0
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"timestamp_ms": 1621391905990,
|
| 341 |
+
"score": 0.0
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"timestamp_ms": 1621392081409,
|
| 345 |
+
"score": 0.0
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"timestamp_ms": 1621392279161,
|
| 349 |
+
"score": 0.0
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"timestamp_ms": 1621392486446,
|
| 353 |
+
"score": 0.0
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"timestamp_ms": 1621392687639,
|
| 357 |
+
"score": 0.0
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"timestamp_ms": 1621392834237,
|
| 361 |
+
"score": 0.0
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"timestamp_ms": 1621392962385,
|
| 365 |
+
"score": 0.0
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"timestamp_ms": 1621393131320,
|
| 369 |
+
"score": 0.0
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"timestamp_ms": 1621393171451,
|
| 373 |
+
"score": 0.0
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"timestamp_ms": 1621393225354,
|
| 377 |
+
"score": 0.0
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"timestamp_ms": 1621393310856,
|
| 381 |
+
"score": 0.0
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"timestamp_ms": 1621393399178,
|
| 385 |
+
"score": 0.0
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"timestamp_ms": 1621393478987,
|
| 389 |
+
"score": 0.0
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"timestamp_ms": 1621393570153,
|
| 393 |
+
"score": 0.0
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"timestamp_ms": 1621393671330,
|
| 397 |
+
"score": 0.0
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"timestamp_ms": 1621393795356,
|
| 401 |
+
"score": 0.0
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"timestamp_ms": 1621393914283,
|
| 405 |
+
"score": 0.0
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"timestamp_ms": 1621394081115,
|
| 409 |
+
"score": 0.0
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"timestamp_ms": 1621394254049,
|
| 413 |
+
"score": 0.0
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"timestamp_ms": 1621394381303,
|
| 417 |
+
"score": 0.0
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"timestamp_ms": 1621394504142,
|
| 421 |
+
"score": 0.0
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"timestamp_ms": 1621394621362,
|
| 425 |
+
"score": 0.0
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"timestamp_ms": 1621394825346,
|
| 429 |
+
"score": 0.0
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"timestamp_ms": 1621394977042,
|
| 433 |
+
"score": 0.0
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"timestamp_ms": 1621395186711,
|
| 437 |
+
"score": 0.0
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"timestamp_ms": 1621395394326,
|
| 441 |
+
"score": 0.0
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"timestamp_ms": 1621395599092,
|
| 445 |
+
"score": 0.0
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"timestamp_ms": 1621395766812,
|
| 449 |
+
"score": 0.0
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"timestamp_ms": 1621395952252,
|
| 453 |
+
"score": 0.0
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"timestamp_ms": 1621396114712,
|
| 457 |
+
"score": 0.0
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"timestamp_ms": 1621396282238,
|
| 461 |
+
"score": 0.0
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"timestamp_ms": 1621396459488,
|
| 465 |
+
"score": 0.0
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"timestamp_ms": 1621396655170,
|
| 469 |
+
"score": 0.0
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"timestamp_ms": 1621396818781,
|
| 473 |
+
"score": 0.0
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"timestamp_ms": 1621396924075,
|
| 477 |
+
"score": 0.0
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"timestamp_ms": 1621397059031,
|
| 481 |
+
"score": 0.0
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"timestamp_ms": 1621397233146,
|
| 485 |
+
"score": 0.0
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"timestamp_ms": 1621397430575,
|
| 489 |
+
"score": 0.0
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"timestamp_ms": 1621397621613,
|
| 493 |
+
"score": 0.0
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"timestamp_ms": 1621397771551,
|
| 497 |
+
"score": 0.0
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"timestamp_ms": 1621397890175,
|
| 501 |
+
"score": 0.0
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"timestamp_ms": 1621397980181,
|
| 505 |
+
"score": 0.0
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"timestamp_ms": 1621398077783,
|
| 509 |
+
"score": 0.0
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"timestamp_ms": 1621398202472,
|
| 513 |
+
"score": 0.0
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"timestamp_ms": 1621398267580,
|
| 517 |
+
"score": 0.0
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"timestamp_ms": 1621398275361,
|
| 521 |
+
"score": 0.0
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"timestamp_ms": 1621398281275,
|
| 525 |
+
"score": 0.0
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"timestamp_ms": 1621398308037,
|
| 529 |
+
"score": 0.0
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"timestamp_ms": 1621398347202,
|
| 533 |
+
"score": 0.0
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"timestamp_ms": 1621398392916,
|
| 537 |
+
"score": 0.0
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"timestamp_ms": 1621398436613,
|
| 541 |
+
"score": 0.0
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"timestamp_ms": 1621398498654,
|
| 545 |
+
"score": 0.0
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"timestamp_ms": 1621398557713,
|
| 549 |
+
"score": 0.0
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"timestamp_ms": 1621398624925,
|
| 553 |
+
"score": 0.0
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"timestamp_ms": 1621398682237,
|
| 557 |
+
"score": 0.0
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"timestamp_ms": 1621398748573,
|
| 561 |
+
"score": 0.0
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"timestamp_ms": 1621398844715,
|
| 565 |
+
"score": 0.0
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"timestamp_ms": 1621398950888,
|
| 569 |
+
"score": 0.0
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"timestamp_ms": 1621399047984,
|
| 573 |
+
"score": 0.0
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"timestamp_ms": 1621399145157,
|
| 577 |
+
"score": 0.0
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"timestamp_ms": 1621399232048,
|
| 581 |
+
"score": 0.0
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"timestamp_ms": 1621399288351,
|
| 585 |
+
"score": 0.0
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"timestamp_ms": 1621399322784,
|
| 589 |
+
"score": 0.0
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"timestamp_ms": 1621399377865,
|
| 593 |
+
"score": 0.0
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"timestamp_ms": 1621399410253,
|
| 597 |
+
"score": 0.0
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"timestamp_ms": 1621399430023,
|
| 601 |
+
"score": 0.0
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"timestamp_ms": 1621399462697,
|
| 605 |
+
"score": 0.0
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"timestamp_ms": 1621399518888,
|
| 609 |
+
"score": 0.0
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"timestamp_ms": 1621399576196,
|
| 613 |
+
"score": 0.0
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"timestamp_ms": 1621399651478,
|
| 617 |
+
"score": 0.0
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"timestamp_ms": 1621399749745,
|
| 621 |
+
"score": 0.0
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"timestamp_ms": 1621399824533,
|
| 625 |
+
"score": 0.0
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"timestamp_ms": 1621399894661,
|
| 629 |
+
"score": 0.0
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"timestamp_ms": 1621399936988,
|
| 633 |
+
"score": 0.0
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"timestamp_ms": 1621400001022,
|
| 637 |
+
"score": 0.0
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"timestamp_ms": 1621400038899,
|
| 641 |
+
"score": 0.0
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"timestamp_ms": 1621400089434,
|
| 645 |
+
"score": 0.0
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"timestamp_ms": 1621400135826,
|
| 649 |
+
"score": 0.0
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"timestamp_ms": 1621400189566,
|
| 653 |
+
"score": 0.0
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"timestamp_ms": 1621400234813,
|
| 657 |
+
"score": 0.0
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"timestamp_ms": 1621400299085,
|
| 661 |
+
"score": 0.0
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"timestamp_ms": 1621400366001,
|
| 665 |
+
"score": 0.0
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"timestamp_ms": 1621400431619,
|
| 669 |
+
"score": 0.0
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"timestamp_ms": 1621400493619,
|
| 673 |
+
"score": 0.0
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"timestamp_ms": 1621400538599,
|
| 677 |
+
"score": 0.0
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"timestamp_ms": 1621400614749,
|
| 681 |
+
"score": 0.0
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"timestamp_ms": 1621400705111,
|
| 685 |
+
"score": 0.0
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"timestamp_ms": 1621400795736,
|
| 689 |
+
"score": 0.0
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"timestamp_ms": 1621400881868,
|
| 693 |
+
"score": 0.0
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"timestamp_ms": 1621400987344,
|
| 697 |
+
"score": 0.0
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"timestamp_ms": 1621401086216,
|
| 701 |
+
"score": 0.0
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"timestamp_ms": 1621401189065,
|
| 705 |
+
"score": 0.0
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"timestamp_ms": 1621401269783,
|
| 709 |
+
"score": 0.0
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"timestamp_ms": 1621401369205,
|
| 713 |
+
"score": 0.0
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"timestamp_ms": 1621401476020,
|
| 717 |
+
"score": 0.0
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"timestamp_ms": 1621401595782,
|
| 721 |
+
"score": 0.0
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"timestamp_ms": 1621401699221,
|
| 725 |
+
"score": 0.0
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"timestamp_ms": 1621401840124,
|
| 729 |
+
"score": 0.0
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"timestamp_ms": 1621401937823,
|
| 733 |
+
"score": 0.0
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"timestamp_ms": 1621402040381,
|
| 737 |
+
"score": 0.0
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"timestamp_ms": 1621402150945,
|
| 741 |
+
"score": 0.0
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"timestamp_ms": 1621402252418,
|
| 745 |
+
"score": 0.0
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"timestamp_ms": 1621402361747,
|
| 749 |
+
"score": 0.0
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"timestamp_ms": 1621402499125,
|
| 753 |
+
"score": 0.0
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"timestamp_ms": 1621402624277,
|
| 757 |
+
"score": 0.0
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"timestamp_ms": 1621402716190,
|
| 761 |
+
"score": 0.0
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"timestamp_ms": 1621402825433,
|
| 765 |
+
"score": 0.0
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"timestamp_ms": 1621402927535,
|
| 769 |
+
"score": 0.0
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"timestamp_ms": 1621403007546,
|
| 773 |
+
"score": 0.0
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"timestamp_ms": 1621403082371,
|
| 777 |
+
"score": 0.0
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"timestamp_ms": 1621403163042,
|
| 781 |
+
"score": 0.0
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"timestamp_ms": 1621403250037,
|
| 785 |
+
"score": 0.0
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"timestamp_ms": 1621403341719,
|
| 789 |
+
"score": 0.0
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"timestamp_ms": 1621403420487,
|
| 793 |
+
"score": 0.0
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"timestamp_ms": 1621403503102,
|
| 797 |
+
"score": 0.0
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"timestamp_ms": 1621403613514,
|
| 801 |
+
"score": 0.0
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"timestamp_ms": 1621403710138,
|
| 805 |
+
"score": 0.0
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"timestamp_ms": 1621403794234,
|
| 809 |
+
"score": 0.0
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"timestamp_ms": 1621403902550,
|
| 813 |
+
"score": 0.0
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"timestamp_ms": 1621404026722,
|
| 817 |
+
"score": 0.0
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"timestamp_ms": 1621404142421,
|
| 821 |
+
"score": 0.0
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"timestamp_ms": 1621404237922,
|
| 825 |
+
"score": 0.0
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"timestamp_ms": 1621404346606,
|
| 829 |
+
"score": 0.0
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"timestamp_ms": 1621404447973,
|
| 833 |
+
"score": 0.0
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"timestamp_ms": 1621404566181,
|
| 837 |
+
"score": 0.0
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"timestamp_ms": 1621404649737,
|
| 841 |
+
"score": 0.0
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"timestamp_ms": 1621404763829,
|
| 845 |
+
"score": 0.0
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"timestamp_ms": 1621404896840,
|
| 849 |
+
"score": 0.0
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"timestamp_ms": 1621405025794,
|
| 853 |
+
"score": 0.0
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"timestamp_ms": 1621405202221,
|
| 857 |
+
"score": 0.0
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"timestamp_ms": 1621405356756,
|
| 861 |
+
"score": 0.0
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"timestamp_ms": 1621405513932,
|
| 865 |
+
"score": 0.0
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"timestamp_ms": 1621405663640,
|
| 869 |
+
"score": 0.0
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"timestamp_ms": 1621405824932,
|
| 873 |
+
"score": 0.0
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"timestamp_ms": 1621405992692,
|
| 877 |
+
"score": 0.0
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"timestamp_ms": 1621406170324,
|
| 881 |
+
"score": 0.0
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"timestamp_ms": 1621406337578,
|
| 885 |
+
"score": 0.0
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"timestamp_ms": 1621406492850,
|
| 889 |
+
"score": 0.0
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"timestamp_ms": 1621406680891,
|
| 893 |
+
"score": 0.0
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"timestamp_ms": 1621406778425,
|
| 897 |
+
"score": 0.0
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"timestamp_ms": 1621406953076,
|
| 901 |
+
"score": 0.0
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"timestamp_ms": 1621407119777,
|
| 905 |
+
"score": 0.0
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"timestamp_ms": 1621407261157,
|
| 909 |
+
"score": 0.0
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"timestamp_ms": 1621407418569,
|
| 913 |
+
"score": 0.0
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"timestamp_ms": 1621407561660,
|
| 917 |
+
"score": 0.0
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"timestamp_ms": 1621407698575,
|
| 921 |
+
"score": 0.0
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"timestamp_ms": 1621407838835,
|
| 925 |
+
"score": 0.0
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"timestamp_ms": 1621407996191,
|
| 929 |
+
"score": 0.0
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"timestamp_ms": 1621408159886,
|
| 933 |
+
"score": 0.0
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"timestamp_ms": 1621408297481,
|
| 937 |
+
"score": 0.0
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"timestamp_ms": 1621408387110,
|
| 941 |
+
"score": 0.0
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"timestamp_ms": 1621408488695,
|
| 945 |
+
"score": 0.0
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"timestamp_ms": 1621408518663,
|
| 949 |
+
"score": 0.0
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"timestamp_ms": 1621408545809,
|
| 953 |
+
"score": 0.0
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"timestamp_ms": 1621408605292,
|
| 957 |
+
"score": 0.0
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"timestamp_ms": 1621408674545,
|
| 961 |
+
"score": 0.0
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"timestamp_ms": 1621408759223,
|
| 965 |
+
"score": 0.0
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"timestamp_ms": 1621408865786,
|
| 969 |
+
"score": 0.0
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"timestamp_ms": 1621409015576,
|
| 973 |
+
"score": 0.0
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"timestamp_ms": 1621409181203,
|
| 977 |
+
"score": 0.0
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"timestamp_ms": 1621409343433,
|
| 981 |
+
"score": 0.0
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"timestamp_ms": 1621409449375,
|
| 985 |
+
"score": 0.0
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"timestamp_ms": 1621409591336,
|
| 989 |
+
"score": 0.0
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"timestamp_ms": 1621409768096,
|
| 993 |
+
"score": 0.0
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"timestamp_ms": 1621409861046,
|
| 997 |
+
"score": 0.0
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"timestamp_ms": 1621410010210,
|
| 1001 |
+
"score": 0.0
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"timestamp_ms": 1621410096641,
|
| 1005 |
+
"score": 0.0
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"timestamp_ms": 1621410170984,
|
| 1009 |
+
"score": 0.0
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"timestamp_ms": 1621410273988,
|
| 1013 |
+
"score": 0.0
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"timestamp_ms": 1621410364285,
|
| 1017 |
+
"score": 0.0
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"timestamp_ms": 1621410437733,
|
| 1021 |
+
"score": 0.0
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"timestamp_ms": 1621410565673,
|
| 1025 |
+
"score": 0.0
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"timestamp_ms": 1621410699701,
|
| 1029 |
+
"score": 0.0
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"timestamp_ms": 1621410848155,
|
| 1033 |
+
"score": 0.0
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"timestamp_ms": 1621410990940,
|
| 1037 |
+
"score": 0.0
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"timestamp_ms": 1621411170628,
|
| 1041 |
+
"score": 0.0
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"timestamp_ms": 1621411331143,
|
| 1045 |
+
"score": 0.0
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"timestamp_ms": 1621411485798,
|
| 1049 |
+
"score": 0.0
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"timestamp_ms": 1621411662958,
|
| 1053 |
+
"score": 0.0
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"timestamp_ms": 1621411870655,
|
| 1057 |
+
"score": 0.0
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"timestamp_ms": 1621412099992,
|
| 1061 |
+
"score": 0.0
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"timestamp_ms": 1621412324763,
|
| 1065 |
+
"score": 0.0
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"timestamp_ms": 1621412505150,
|
| 1069 |
+
"score": 0.0
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"timestamp_ms": 1621412754861,
|
| 1073 |
+
"score": 0.0
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"timestamp_ms": 1621412998526,
|
| 1077 |
+
"score": 0.0
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"timestamp_ms": 1621413149997,
|
| 1081 |
+
"score": 0.0
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"timestamp_ms": 1621413364855,
|
| 1085 |
+
"score": 0.0
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"timestamp_ms": 1621413581463,
|
| 1089 |
+
"score": 0.0
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"timestamp_ms": 1621413744529,
|
| 1093 |
+
"score": 0.0
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"timestamp_ms": 1621413937112,
|
| 1097 |
+
"score": 0.0
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"timestamp_ms": 1621414099022,
|
| 1101 |
+
"score": 0.0
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"timestamp_ms": 1621414166430,
|
| 1105 |
+
"score": 0.0
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"timestamp_ms": 1621414293366,
|
| 1109 |
+
"score": 0.0
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"timestamp_ms": 1621414487899,
|
| 1113 |
+
"score": 0.0
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"timestamp_ms": 1621414720208,
|
| 1117 |
+
"score": 0.0
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"timestamp_ms": 1621414930202,
|
| 1121 |
+
"score": 0.0
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"timestamp_ms": 1621415137126,
|
| 1125 |
+
"score": 0.0
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"timestamp_ms": 1621415362960,
|
| 1129 |
+
"score": 0.0
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"timestamp_ms": 1621415591320,
|
| 1133 |
+
"score": 0.0
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"timestamp_ms": 1621415794953,
|
| 1137 |
+
"score": 0.0
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"timestamp_ms": 1621416011266,
|
| 1141 |
+
"score": 0.0
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"timestamp_ms": 1621416274019,
|
| 1145 |
+
"score": 0.0
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"timestamp_ms": 1621416473090,
|
| 1149 |
+
"score": 0.0
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"timestamp_ms": 1621416584042,
|
| 1153 |
+
"score": 0.0
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"timestamp_ms": 1621416778152,
|
| 1157 |
+
"score": 0.0
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"timestamp_ms": 1621416973746,
|
| 1161 |
+
"score": 0.0
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"timestamp_ms": 1621417209838,
|
| 1165 |
+
"score": 0.0
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"timestamp_ms": 1621417395070,
|
| 1169 |
+
"score": 0.0
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"timestamp_ms": 1621417598156,
|
| 1173 |
+
"score": 0.0
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"timestamp_ms": 1621417804900,
|
| 1177 |
+
"score": 0.0
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"timestamp_ms": 1621417997404,
|
| 1181 |
+
"score": 0.0
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"timestamp_ms": 1621418218799,
|
| 1185 |
+
"score": 0.0
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"timestamp_ms": 1621418421758,
|
| 1189 |
+
"score": 0.0
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"timestamp_ms": 1621418640267,
|
| 1193 |
+
"score": 0.0
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"timestamp_ms": 1621418916307,
|
| 1197 |
+
"score": 0.0
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"timestamp_ms": 1621419039360,
|
| 1201 |
+
"score": 0.0
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"timestamp_ms": 1621419145899,
|
| 1205 |
+
"score": 0.0
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"timestamp_ms": 1621419210932,
|
| 1209 |
+
"score": 0.0
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"timestamp_ms": 1621419348814,
|
| 1213 |
+
"score": 0.0
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"timestamp_ms": 1621419417111,
|
| 1217 |
+
"score": 0.0
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"timestamp_ms": 1621419556697,
|
| 1221 |
+
"score": 0.0
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"timestamp_ms": 1621419734954,
|
| 1225 |
+
"score": 0.0
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"timestamp_ms": 1621419926709,
|
| 1229 |
+
"score": 0.0
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"timestamp_ms": 1621420118181,
|
| 1233 |
+
"score": 0.0
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"timestamp_ms": 1621420260432,
|
| 1237 |
+
"score": 0.0
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"timestamp_ms": 1621420348554,
|
| 1241 |
+
"score": 0.0
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"timestamp_ms": 1621420460724,
|
| 1245 |
+
"score": 0.0
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"timestamp_ms": 1621420555716,
|
| 1249 |
+
"score": 0.0
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"timestamp_ms": 1621420672124,
|
| 1253 |
+
"score": 0.0
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"timestamp_ms": 1621420799348,
|
| 1257 |
+
"score": 0.0
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"timestamp_ms": 1621420867811,
|
| 1261 |
+
"score": 0.0
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"timestamp_ms": 1621420964849,
|
| 1265 |
+
"score": 0.0
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"timestamp_ms": 1621421083298,
|
| 1269 |
+
"score": 0.0
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"timestamp_ms": 1621421216670,
|
| 1273 |
+
"score": 0.0
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"timestamp_ms": 1621421328082,
|
| 1277 |
+
"score": 0.0
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"timestamp_ms": 1621421412858,
|
| 1281 |
+
"score": 0.0
|
| 1282 |
+
},
|
| 1283 |
+
{
|
| 1284 |
+
"timestamp_ms": 1621421509585,
|
| 1285 |
+
"score": 0.0
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"timestamp_ms": 1621421611021,
|
| 1289 |
+
"score": 0.0
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"timestamp_ms": 1621421731593,
|
| 1293 |
+
"score": 0.0
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"timestamp_ms": 1621421825355,
|
| 1297 |
+
"score": 0.0
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"timestamp_ms": 1621421931592,
|
| 1301 |
+
"score": 0.0
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"timestamp_ms": 1621422071151,
|
| 1305 |
+
"score": 0.0
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"timestamp_ms": 1621422197473,
|
| 1309 |
+
"score": 0.0
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"timestamp_ms": 1621422312250,
|
| 1313 |
+
"score": 0.0
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"timestamp_ms": 1621422395647,
|
| 1317 |
+
"score": 0.0
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"timestamp_ms": 1621422531401,
|
| 1321 |
+
"score": 0.0
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"timestamp_ms": 1621422660138,
|
| 1325 |
+
"score": 0.0
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"timestamp_ms": 1621422793997,
|
| 1329 |
+
"score": 0.0
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"timestamp_ms": 1621422912311,
|
| 1333 |
+
"score": 0.0
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"timestamp_ms": 1621423023214,
|
| 1337 |
+
"score": 0.0
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"timestamp_ms": 1621423090672,
|
| 1341 |
+
"score": 0.0
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"timestamp_ms": 1621423151990,
|
| 1345 |
+
"score": 0.0
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"timestamp_ms": 1621423220405,
|
| 1349 |
+
"score": 0.0
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"timestamp_ms": 1621423298325,
|
| 1353 |
+
"score": 0.0
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"timestamp_ms": 1621423344439,
|
| 1357 |
+
"score": 0.0
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"timestamp_ms": 1621423414083,
|
| 1361 |
+
"score": 0.0
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"timestamp_ms": 1621423465916,
|
| 1365 |
+
"score": 0.0
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"timestamp_ms": 1621423506022,
|
| 1369 |
+
"score": 0.0
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"timestamp_ms": 1621423566640,
|
| 1373 |
+
"score": 0.0
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"timestamp_ms": 1621423621008,
|
| 1377 |
+
"score": 0.0
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"timestamp_ms": 1621423639086,
|
| 1381 |
+
"score": 0.0
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"timestamp_ms": 1621423659477,
|
| 1385 |
+
"score": 0.0
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"timestamp_ms": 1621423690501,
|
| 1389 |
+
"score": 0.0
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"timestamp_ms": 1621423724007,
|
| 1393 |
+
"score": 0.0
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"timestamp_ms": 1621423764797,
|
| 1397 |
+
"score": 0.0
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"timestamp_ms": 1621423812693,
|
| 1401 |
+
"score": 0.0
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"timestamp_ms": 1621423820045,
|
| 1405 |
+
"score": 0.0
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"timestamp_ms": 1621423834419,
|
| 1409 |
+
"score": 0.0
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"timestamp_ms": 1621423852798,
|
| 1413 |
+
"score": 0.0
|
| 1414 |
+
},
|
| 1415 |
+
{
|
| 1416 |
+
"timestamp_ms": 1621423884868,
|
| 1417 |
+
"score": 0.0
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"timestamp_ms": 1621423908535,
|
| 1421 |
+
"score": 0.0
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"timestamp_ms": 1621423928711,
|
| 1425 |
+
"score": 0.0
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"timestamp_ms": 1621423950747,
|
| 1429 |
+
"score": 0.0
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"timestamp_ms": 1621423983555,
|
| 1433 |
+
"score": 0.0
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"timestamp_ms": 1621424010402,
|
| 1437 |
+
"score": 0.0
|
| 1438 |
+
},
|
| 1439 |
+
{
|
| 1440 |
+
"timestamp_ms": 1621424047339,
|
| 1441 |
+
"score": 0.0
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"timestamp_ms": 1621424081558,
|
| 1445 |
+
"score": 0.0
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"timestamp_ms": 1621424117160,
|
| 1449 |
+
"score": 0.0
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"timestamp_ms": 1621424150459,
|
| 1453 |
+
"score": 0.0
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"timestamp_ms": 1621424188971,
|
| 1457 |
+
"score": 0.0
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"timestamp_ms": 1621424230785,
|
| 1461 |
+
"score": 0.0
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"timestamp_ms": 1621424254336,
|
| 1465 |
+
"score": 0.0
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"timestamp_ms": 1621424285479,
|
| 1469 |
+
"score": 0.0
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"timestamp_ms": 1621424324574,
|
| 1473 |
+
"score": 0.0
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"timestamp_ms": 1621424367045,
|
| 1477 |
+
"score": 0.0
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"timestamp_ms": 1621424408497,
|
| 1481 |
+
"score": 0.0
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"timestamp_ms": 1621424449343,
|
| 1485 |
+
"score": 0.0
|
| 1486 |
+
},
|
| 1487 |
+
{
|
| 1488 |
+
"timestamp_ms": 1621424499854,
|
| 1489 |
+
"score": 0.0
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"timestamp_ms": 1621424542157,
|
| 1493 |
+
"score": 0.0
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"timestamp_ms": 1621424598443,
|
| 1497 |
+
"score": 0.0
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"timestamp_ms": 1621424652117,
|
| 1501 |
+
"score": 0.0
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"timestamp_ms": 1621424717910,
|
| 1505 |
+
"score": 0.0
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"timestamp_ms": 1621424767684,
|
| 1509 |
+
"score": 0.0
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"timestamp_ms": 1621424811067,
|
| 1513 |
+
"score": 0.0
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"timestamp_ms": 1621424860803,
|
| 1517 |
+
"score": 0.0
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"timestamp_ms": 1621424916149,
|
| 1521 |
+
"score": 0.0
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"timestamp_ms": 1621424963883,
|
| 1525 |
+
"score": 0.0
|
| 1526 |
+
},
|
| 1527 |
+
{
|
| 1528 |
+
"timestamp_ms": 1621425019268,
|
| 1529 |
+
"score": 0.0
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"timestamp_ms": 1621425072579,
|
| 1533 |
+
"score": 0.0
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"timestamp_ms": 1621425132112,
|
| 1537 |
+
"score": 0.0
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"timestamp_ms": 1621425191112,
|
| 1541 |
+
"score": 0.0
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"timestamp_ms": 1621425260505,
|
| 1545 |
+
"score": 0.0
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"timestamp_ms": 1621425326126,
|
| 1549 |
+
"score": 0.0
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"timestamp_ms": 1621425393348,
|
| 1553 |
+
"score": 0.0
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"timestamp_ms": 1621425466820,
|
| 1557 |
+
"score": 0.0
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"timestamp_ms": 1621425547840,
|
| 1561 |
+
"score": 0.0
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"timestamp_ms": 1621425623382,
|
| 1565 |
+
"score": 0.0
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"timestamp_ms": 1621425691922,
|
| 1569 |
+
"score": 0.0
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"timestamp_ms": 1621425763052,
|
| 1573 |
+
"score": 0.0
|
| 1574 |
+
},
|
| 1575 |
+
{
|
| 1576 |
+
"timestamp_ms": 1621425837056,
|
| 1577 |
+
"score": 0.0
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"timestamp_ms": 1621425879412,
|
| 1581 |
+
"score": 0.0
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"timestamp_ms": 1621425945811,
|
| 1585 |
+
"score": 0.0
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"timestamp_ms": 1621426027237,
|
| 1589 |
+
"score": 0.0
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"timestamp_ms": 1621426122992,
|
| 1593 |
+
"score": 0.0
|
| 1594 |
+
},
|
| 1595 |
+
{
|
| 1596 |
+
"timestamp_ms": 1621426203959,
|
| 1597 |
+
"score": 0.0
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"timestamp_ms": 1621426308211,
|
| 1601 |
+
"score": 0.0
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"timestamp_ms": 1621426406483,
|
| 1605 |
+
"score": 0.0
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"timestamp_ms": 1621426505583,
|
| 1609 |
+
"score": 0.0
|
| 1610 |
+
},
|
| 1611 |
+
{
|
| 1612 |
+
"timestamp_ms": 1621426594989,
|
| 1613 |
+
"score": 0.0
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"timestamp_ms": 1621426665200,
|
| 1617 |
+
"score": 0.0
|
| 1618 |
+
},
|
| 1619 |
+
{
|
| 1620 |
+
"timestamp_ms": 1621426724753,
|
| 1621 |
+
"score": 0.0
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"timestamp_ms": 1621426806358,
|
| 1625 |
+
"score": 0.0
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"timestamp_ms": 1621426919356,
|
| 1629 |
+
"score": 0.0
|
| 1630 |
+
},
|
| 1631 |
+
{
|
| 1632 |
+
"timestamp_ms": 1621427015260,
|
| 1633 |
+
"score": 0.0
|
| 1634 |
+
},
|
| 1635 |
+
{
|
| 1636 |
+
"timestamp_ms": 1621427112650,
|
| 1637 |
+
"score": 0.0
|
| 1638 |
+
},
|
| 1639 |
+
{
|
| 1640 |
+
"timestamp_ms": 1621427178095,
|
| 1641 |
+
"score": 0.0
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"timestamp_ms": 1621427256918,
|
| 1645 |
+
"score": 0.0
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"timestamp_ms": 1621427340611,
|
| 1649 |
+
"score": 0.0
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"timestamp_ms": 1621427419634,
|
| 1653 |
+
"score": 0.0
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"timestamp_ms": 1621427466711,
|
| 1657 |
+
"score": 0.0
|
| 1658 |
+
},
|
| 1659 |
+
{
|
| 1660 |
+
"timestamp_ms": 1621427510239,
|
| 1661 |
+
"score": 0.0
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"timestamp_ms": 1621427587653,
|
| 1665 |
+
"score": 0.0
|
| 1666 |
+
},
|
| 1667 |
+
{
|
| 1668 |
+
"timestamp_ms": 1621427647947,
|
| 1669 |
+
"score": 0.0
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"timestamp_ms": 1621427690692,
|
| 1673 |
+
"score": 0.0
|
| 1674 |
+
},
|
| 1675 |
+
{
|
| 1676 |
+
"timestamp_ms": 1621427733389,
|
| 1677 |
+
"score": 0.0
|
| 1678 |
+
},
|
| 1679 |
+
{
|
| 1680 |
+
"timestamp_ms": 1621427793993,
|
| 1681 |
+
"score": 0.0
|
| 1682 |
+
},
|
| 1683 |
+
{
|
| 1684 |
+
"timestamp_ms": 1621427865427,
|
| 1685 |
+
"score": 0.0
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"timestamp_ms": 1621427950881,
|
| 1689 |
+
"score": 0.0
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"timestamp_ms": 1621428015496,
|
| 1693 |
+
"score": 0.0
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"timestamp_ms": 1621428095137,
|
| 1697 |
+
"score": 0.0
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"timestamp_ms": 1621428139343,
|
| 1701 |
+
"score": 0.0
|
| 1702 |
+
},
|
| 1703 |
+
{
|
| 1704 |
+
"timestamp_ms": 1621428170192,
|
| 1705 |
+
"score": 0.0
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"timestamp_ms": 1621428196572,
|
| 1709 |
+
"score": 0.0
|
| 1710 |
+
},
|
| 1711 |
+
{
|
| 1712 |
+
"timestamp_ms": 1621428222908,
|
| 1713 |
+
"score": 0.0
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"timestamp_ms": 1621428250775,
|
| 1717 |
+
"score": 0.0
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"timestamp_ms": 1621428278490,
|
| 1721 |
+
"score": 0.0
|
| 1722 |
+
},
|
| 1723 |
+
{
|
| 1724 |
+
"timestamp_ms": 1621428297066,
|
| 1725 |
+
"score": 0.0
|
| 1726 |
+
},
|
| 1727 |
+
{
|
| 1728 |
+
"timestamp_ms": 1621428316630,
|
| 1729 |
+
"score": 0.0
|
| 1730 |
+
},
|
| 1731 |
+
{
|
| 1732 |
+
"timestamp_ms": 1621428341422,
|
| 1733 |
+
"score": 0.0
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"timestamp_ms": 1621428373102,
|
| 1737 |
+
"score": 0.0
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"timestamp_ms": 1621428410741,
|
| 1741 |
+
"score": 0.0
|
| 1742 |
+
},
|
| 1743 |
+
{
|
| 1744 |
+
"timestamp_ms": 1621428445092,
|
| 1745 |
+
"score": 0.0
|
| 1746 |
+
},
|
| 1747 |
+
{
|
| 1748 |
+
"timestamp_ms": 1621428477948,
|
| 1749 |
+
"score": 0.0
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"timestamp_ms": 1621428498373,
|
| 1753 |
+
"score": 0.0
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"timestamp_ms": 1621428519126,
|
| 1757 |
+
"score": 0.0
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"timestamp_ms": 1621428537576,
|
| 1761 |
+
"score": 0.0
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"timestamp_ms": 1621428552109,
|
| 1765 |
+
"score": 0.0
|
| 1766 |
+
},
|
| 1767 |
+
{
|
| 1768 |
+
"timestamp_ms": 1621428564496,
|
| 1769 |
+
"score": 0.0
|
| 1770 |
+
},
|
| 1771 |
+
{
|
| 1772 |
+
"timestamp_ms": 1621428579131,
|
| 1773 |
+
"score": 0.0
|
| 1774 |
+
},
|
| 1775 |
+
{
|
| 1776 |
+
"timestamp_ms": 1621428604460,
|
| 1777 |
+
"score": 0.0
|
| 1778 |
+
},
|
| 1779 |
+
{
|
| 1780 |
+
"timestamp_ms": 1621428618812,
|
| 1781 |
+
"score": 0.0
|
| 1782 |
+
},
|
| 1783 |
+
{
|
| 1784 |
+
"timestamp_ms": 1621428628570,
|
| 1785 |
+
"score": 0.0
|
| 1786 |
+
},
|
| 1787 |
+
{
|
| 1788 |
+
"timestamp_ms": 1621428645016,
|
| 1789 |
+
"score": 0.0
|
| 1790 |
+
},
|
| 1791 |
+
{
|
| 1792 |
+
"timestamp_ms": 1621428660501,
|
| 1793 |
+
"score": 0.0
|
| 1794 |
+
},
|
| 1795 |
+
{
|
| 1796 |
+
"timestamp_ms": 1621428677739,
|
| 1797 |
+
"score": 0.0
|
| 1798 |
+
},
|
| 1799 |
+
{
|
| 1800 |
+
"timestamp_ms": 1621428698825,
|
| 1801 |
+
"score": 0.0
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"timestamp_ms": 1621428718836,
|
| 1805 |
+
"score": 0.0
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"timestamp_ms": 1621428737830,
|
| 1809 |
+
"score": 0.0
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"timestamp_ms": 1621428761771,
|
| 1813 |
+
"score": 0.0
|
| 1814 |
+
},
|
| 1815 |
+
{
|
| 1816 |
+
"timestamp_ms": 1621428787023,
|
| 1817 |
+
"score": 0.0
|
| 1818 |
+
},
|
| 1819 |
+
{
|
| 1820 |
+
"timestamp_ms": 1621428806792,
|
| 1821 |
+
"score": 0.0
|
| 1822 |
+
},
|
| 1823 |
+
{
|
| 1824 |
+
"timestamp_ms": 1621428818478,
|
| 1825 |
+
"score": 0.0
|
| 1826 |
+
},
|
| 1827 |
+
{
|
| 1828 |
+
"timestamp_ms": 1621428836289,
|
| 1829 |
+
"score": 0.0
|
| 1830 |
+
},
|
| 1831 |
+
{
|
| 1832 |
+
"timestamp_ms": 1621428857418,
|
| 1833 |
+
"score": 0.0
|
| 1834 |
+
},
|
| 1835 |
+
{
|
| 1836 |
+
"timestamp_ms": 1621428869438,
|
| 1837 |
+
"score": 0.0
|
| 1838 |
+
},
|
| 1839 |
+
{
|
| 1840 |
+
"timestamp_ms": 1621428881761,
|
| 1841 |
+
"score": 0.0
|
| 1842 |
+
},
|
| 1843 |
+
{
|
| 1844 |
+
"timestamp_ms": 1621428896831,
|
| 1845 |
+
"score": 0.0
|
| 1846 |
+
},
|
| 1847 |
+
{
|
| 1848 |
+
"timestamp_ms": 1621428909679,
|
| 1849 |
+
"score": 0.0
|
| 1850 |
+
},
|
| 1851 |
+
{
|
| 1852 |
+
"timestamp_ms": 1621428929780,
|
| 1853 |
+
"score": 0.0
|
| 1854 |
+
},
|
| 1855 |
+
{
|
| 1856 |
+
"timestamp_ms": 1621428947743,
|
| 1857 |
+
"score": 0.0
|
| 1858 |
+
},
|
| 1859 |
+
{
|
| 1860 |
+
"timestamp_ms": 1621428965205,
|
| 1861 |
+
"score": 0.0
|
| 1862 |
+
},
|
| 1863 |
+
{
|
| 1864 |
+
"timestamp_ms": 1621428974635,
|
| 1865 |
+
"score": 0.0
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"timestamp_ms": 1621428985201,
|
| 1869 |
+
"score": 0.0
|
| 1870 |
+
},
|
| 1871 |
+
{
|
| 1872 |
+
"timestamp_ms": 1621428998799,
|
| 1873 |
+
"score": 0.0
|
| 1874 |
+
},
|
| 1875 |
+
{
|
| 1876 |
+
"timestamp_ms": 1621429015916,
|
| 1877 |
+
"score": 0.0
|
| 1878 |
+
},
|
| 1879 |
+
{
|
| 1880 |
+
"timestamp_ms": 1621429032273,
|
| 1881 |
+
"score": 0.0
|
| 1882 |
+
},
|
| 1883 |
+
{
|
| 1884 |
+
"timestamp_ms": 1621429045860,
|
| 1885 |
+
"score": 0.0
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"timestamp_ms": 1621429062967,
|
| 1889 |
+
"score": 0.0
|
| 1890 |
+
},
|
| 1891 |
+
{
|
| 1892 |
+
"timestamp_ms": 1621429083024,
|
| 1893 |
+
"score": 0.0
|
| 1894 |
+
},
|
| 1895 |
+
{
|
| 1896 |
+
"timestamp_ms": 1621429101838,
|
| 1897 |
+
"score": 0.0
|
| 1898 |
+
},
|
| 1899 |
+
{
|
| 1900 |
+
"timestamp_ms": 1621429122921,
|
| 1901 |
+
"score": 0.0
|
| 1902 |
+
},
|
| 1903 |
+
{
|
| 1904 |
+
"timestamp_ms": 1621429143187,
|
| 1905 |
+
"score": 0.0
|
| 1906 |
+
},
|
| 1907 |
+
{
|
| 1908 |
+
"timestamp_ms": 1621429167053,
|
| 1909 |
+
"score": 0.0
|
| 1910 |
+
},
|
| 1911 |
+
{
|
| 1912 |
+
"timestamp_ms": 1621429184831,
|
| 1913 |
+
"score": 0.0
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"timestamp_ms": 1621429200707,
|
| 1917 |
+
"score": 0.0
|
| 1918 |
+
},
|
| 1919 |
+
{
|
| 1920 |
+
"timestamp_ms": 1621429216621,
|
| 1921 |
+
"score": 0.0
|
| 1922 |
+
},
|
| 1923 |
+
{
|
| 1924 |
+
"timestamp_ms": 1621429238500,
|
| 1925 |
+
"score": 0.0
|
| 1926 |
+
},
|
| 1927 |
+
{
|
| 1928 |
+
"timestamp_ms": 1621429262884,
|
| 1929 |
+
"score": 0.0
|
| 1930 |
+
},
|
| 1931 |
+
{
|
| 1932 |
+
"timestamp_ms": 1621429292157,
|
| 1933 |
+
"score": 0.0
|
| 1934 |
+
},
|
| 1935 |
+
{
|
| 1936 |
+
"timestamp_ms": 1621429318869,
|
| 1937 |
+
"score": 0.0
|
| 1938 |
+
},
|
| 1939 |
+
{
|
| 1940 |
+
"timestamp_ms": 1621429349141,
|
| 1941 |
+
"score": 0.0
|
| 1942 |
+
},
|
| 1943 |
+
{
|
| 1944 |
+
"timestamp_ms": 1621429378600,
|
| 1945 |
+
"score": 0.0
|
| 1946 |
+
},
|
| 1947 |
+
{
|
| 1948 |
+
"timestamp_ms": 1621429398676,
|
| 1949 |
+
"score": 0.0
|
| 1950 |
+
},
|
| 1951 |
+
{
|
| 1952 |
+
"timestamp_ms": 1621429422916,
|
| 1953 |
+
"score": 0.0
|
| 1954 |
+
},
|
| 1955 |
+
{
|
| 1956 |
+
"timestamp_ms": 1621429446707,
|
| 1957 |
+
"score": 0.0
|
| 1958 |
+
},
|
| 1959 |
+
{
|
| 1960 |
+
"timestamp_ms": 1621429469386,
|
| 1961 |
+
"score": 0.0
|
| 1962 |
+
},
|
| 1963 |
+
{
|
| 1964 |
+
"timestamp_ms": 1621429503614,
|
| 1965 |
+
"score": 0.0
|
| 1966 |
+
},
|
| 1967 |
+
{
|
| 1968 |
+
"timestamp_ms": 1621429534171,
|
| 1969 |
+
"score": 0.0
|
| 1970 |
+
},
|
| 1971 |
+
{
|
| 1972 |
+
"timestamp_ms": 1621429569202,
|
| 1973 |
+
"score": 0.0
|
| 1974 |
+
},
|
| 1975 |
+
{
|
| 1976 |
+
"timestamp_ms": 1621429597464,
|
| 1977 |
+
"score": 0.0
|
| 1978 |
+
},
|
| 1979 |
+
{
|
| 1980 |
+
"timestamp_ms": 1621429628820,
|
| 1981 |
+
"score": 0.0
|
| 1982 |
+
},
|
| 1983 |
+
{
|
| 1984 |
+
"timestamp_ms": 1621429657520,
|
| 1985 |
+
"score": 0.0
|
| 1986 |
+
},
|
| 1987 |
+
{
|
| 1988 |
+
"timestamp_ms": 1621429673746,
|
| 1989 |
+
"score": 0.0
|
| 1990 |
+
},
|
| 1991 |
+
{
|
| 1992 |
+
"timestamp_ms": 1621429692097,
|
| 1993 |
+
"score": 0.0
|
| 1994 |
+
},
|
| 1995 |
+
{
|
| 1996 |
+
"timestamp_ms": 1621429705982,
|
| 1997 |
+
"score": 0.0
|
| 1998 |
+
},
|
| 1999 |
+
{
|
| 2000 |
+
"timestamp_ms": 1621429721650,
|
| 2001 |
+
"score": 0.0
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"timestamp_ms": 1621429736663,
|
| 2005 |
+
"score": 0.0
|
| 2006 |
+
},
|
| 2007 |
+
{
|
| 2008 |
+
"timestamp_ms": 1621429759173,
|
| 2009 |
+
"score": 0.0
|
| 2010 |
+
},
|
| 2011 |
+
{
|
| 2012 |
+
"timestamp_ms": 1621429773928,
|
| 2013 |
+
"score": 0.0
|
| 2014 |
+
},
|
| 2015 |
+
{
|
| 2016 |
+
"timestamp_ms": 1621429790785,
|
| 2017 |
+
"score": 0.0
|
| 2018 |
+
},
|
| 2019 |
+
{
|
| 2020 |
+
"timestamp_ms": 1621429806577,
|
| 2021 |
+
"score": 0.0
|
| 2022 |
+
},
|
| 2023 |
+
{
|
| 2024 |
+
"timestamp_ms": 1621429822099,
|
| 2025 |
+
"score": 0.0
|
| 2026 |
+
},
|
| 2027 |
+
{
|
| 2028 |
+
"timestamp_ms": 1621429834023,
|
| 2029 |
+
"score": 0.0
|
| 2030 |
+
},
|
| 2031 |
+
{
|
| 2032 |
+
"timestamp_ms": 1621429849559,
|
| 2033 |
+
"score": 0.0
|
| 2034 |
+
},
|
| 2035 |
+
{
|
| 2036 |
+
"timestamp_ms": 1621429864160,
|
| 2037 |
+
"score": 0.0
|
| 2038 |
+
},
|
| 2039 |
+
{
|
| 2040 |
+
"timestamp_ms": 1621429879947,
|
| 2041 |
+
"score": 0.0
|
| 2042 |
+
},
|
| 2043 |
+
{
|
| 2044 |
+
"timestamp_ms": 1621429902618,
|
| 2045 |
+
"score": 0.0
|
| 2046 |
+
},
|
| 2047 |
+
{
|
| 2048 |
+
"timestamp_ms": 1621429921582,
|
| 2049 |
+
"score": 0.0
|
| 2050 |
+
},
|
| 2051 |
+
{
|
| 2052 |
+
"timestamp_ms": 1621429941155,
|
| 2053 |
+
"score": 0.0
|
| 2054 |
+
},
|
| 2055 |
+
{
|
| 2056 |
+
"timestamp_ms": 1621429967781,
|
| 2057 |
+
"score": 0.0
|
| 2058 |
+
},
|
| 2059 |
+
{
|
| 2060 |
+
"timestamp_ms": 1621429993753,
|
| 2061 |
+
"score": 0.0
|
| 2062 |
+
},
|
| 2063 |
+
{
|
| 2064 |
+
"timestamp_ms": 1621430017623,
|
| 2065 |
+
"score": 0.0
|
| 2066 |
+
},
|
| 2067 |
+
{
|
| 2068 |
+
"timestamp_ms": 1621430050875,
|
| 2069 |
+
"score": 0.0
|
| 2070 |
+
},
|
| 2071 |
+
{
|
| 2072 |
+
"timestamp_ms": 1621430085854,
|
| 2073 |
+
"score": 0.0
|
| 2074 |
+
},
|
| 2075 |
+
{
|
| 2076 |
+
"timestamp_ms": 1621430114280,
|
| 2077 |
+
"score": 0.0
|
| 2078 |
+
},
|
| 2079 |
+
{
|
| 2080 |
+
"timestamp_ms": 1621430138814,
|
| 2081 |
+
"score": 0.0
|
| 2082 |
+
},
|
| 2083 |
+
{
|
| 2084 |
+
"timestamp_ms": 1621430161171,
|
| 2085 |
+
"score": 0.0
|
| 2086 |
+
},
|
| 2087 |
+
{
|
| 2088 |
+
"timestamp_ms": 1621430192399,
|
| 2089 |
+
"score": 0.0
|
| 2090 |
+
},
|
| 2091 |
+
{
|
| 2092 |
+
"timestamp_ms": 1621430220954,
|
| 2093 |
+
"score": 0.0
|
| 2094 |
+
},
|
| 2095 |
+
{
|
| 2096 |
+
"timestamp_ms": 1621430245725,
|
| 2097 |
+
"score": 0.0
|
| 2098 |
+
},
|
| 2099 |
+
{
|
| 2100 |
+
"timestamp_ms": 1621430275183,
|
| 2101 |
+
"score": 0.0
|
| 2102 |
+
},
|
| 2103 |
+
{
|
| 2104 |
+
"timestamp_ms": 1621430304662,
|
| 2105 |
+
"score": 0.0
|
| 2106 |
+
},
|
| 2107 |
+
{
|
| 2108 |
+
"timestamp_ms": 1621430333057,
|
| 2109 |
+
"score": 0.0
|
| 2110 |
+
},
|
| 2111 |
+
{
|
| 2112 |
+
"timestamp_ms": 1621430352161,
|
| 2113 |
+
"score": 0.0
|
| 2114 |
+
},
|
| 2115 |
+
{
|
| 2116 |
+
"timestamp_ms": 1621430375958,
|
| 2117 |
+
"score": 0.0
|
| 2118 |
+
},
|
| 2119 |
+
{
|
| 2120 |
+
"timestamp_ms": 1621430404417,
|
| 2121 |
+
"score": 0.0
|
| 2122 |
+
},
|
| 2123 |
+
{
|
| 2124 |
+
"timestamp_ms": 1621430430060,
|
| 2125 |
+
"score": 0.0
|
| 2126 |
+
},
|
| 2127 |
+
{
|
| 2128 |
+
"timestamp_ms": 1621430457324,
|
| 2129 |
+
"score": 0.0
|
| 2130 |
+
},
|
| 2131 |
+
{
|
| 2132 |
+
"timestamp_ms": 1621430481341,
|
| 2133 |
+
"score": 0.0
|
| 2134 |
+
},
|
| 2135 |
+
{
|
| 2136 |
+
"timestamp_ms": 1621430501064,
|
| 2137 |
+
"score": 0.0
|
| 2138 |
+
},
|
| 2139 |
+
{
|
| 2140 |
+
"timestamp_ms": 1621430527588,
|
| 2141 |
+
"score": 0.0
|
| 2142 |
+
},
|
| 2143 |
+
{
|
| 2144 |
+
"timestamp_ms": 1621430553277,
|
| 2145 |
+
"score": 0.0
|
| 2146 |
+
},
|
| 2147 |
+
{
|
| 2148 |
+
"timestamp_ms": 1621430585398,
|
| 2149 |
+
"score": 0.0
|
| 2150 |
+
},
|
| 2151 |
+
{
|
| 2152 |
+
"timestamp_ms": 1621430618258,
|
| 2153 |
+
"score": 0.0
|
| 2154 |
+
},
|
| 2155 |
+
{
|
| 2156 |
+
"timestamp_ms": 1621430648765,
|
| 2157 |
+
"score": 0.0
|
| 2158 |
+
},
|
| 2159 |
+
{
|
| 2160 |
+
"timestamp_ms": 1621430682041,
|
| 2161 |
+
"score": 0.0
|
| 2162 |
+
},
|
| 2163 |
+
{
|
| 2164 |
+
"timestamp_ms": 1621430709064,
|
| 2165 |
+
"score": 0.0
|
| 2166 |
+
},
|
| 2167 |
+
{
|
| 2168 |
+
"timestamp_ms": 1621430738583,
|
| 2169 |
+
"score": 0.0
|
| 2170 |
+
},
|
| 2171 |
+
{
|
| 2172 |
+
"timestamp_ms": 1621430767845,
|
| 2173 |
+
"score": 0.0
|
| 2174 |
+
},
|
| 2175 |
+
{
|
| 2176 |
+
"timestamp_ms": 1621430809547,
|
| 2177 |
+
"score": 0.0
|
| 2178 |
+
},
|
| 2179 |
+
{
|
| 2180 |
+
"timestamp_ms": 1621430856628,
|
| 2181 |
+
"score": 0.0
|
| 2182 |
+
},
|
| 2183 |
+
{
|
| 2184 |
+
"timestamp_ms": 1621430893284,
|
| 2185 |
+
"score": 0.0
|
| 2186 |
+
},
|
| 2187 |
+
{
|
| 2188 |
+
"timestamp_ms": 1621430920236,
|
| 2189 |
+
"score": 0.0
|
| 2190 |
+
},
|
| 2191 |
+
{
|
| 2192 |
+
"timestamp_ms": 1621430953101,
|
| 2193 |
+
"score": 0.0
|
| 2194 |
+
},
|
| 2195 |
+
{
|
| 2196 |
+
"timestamp_ms": 1621430984251,
|
| 2197 |
+
"score": 0.0
|
| 2198 |
+
},
|
| 2199 |
+
{
|
| 2200 |
+
"timestamp_ms": 1621431018064,
|
| 2201 |
+
"score": 0.0
|
| 2202 |
+
},
|
| 2203 |
+
{
|
| 2204 |
+
"timestamp_ms": 1621431048112,
|
| 2205 |
+
"score": 0.0
|
| 2206 |
+
},
|
| 2207 |
+
{
|
| 2208 |
+
"timestamp_ms": 1621431079372,
|
| 2209 |
+
"score": 0.0
|
| 2210 |
+
},
|
| 2211 |
+
{
|
| 2212 |
+
"timestamp_ms": 1621431105969,
|
| 2213 |
+
"score": 0.0
|
| 2214 |
+
},
|
| 2215 |
+
{
|
| 2216 |
+
"timestamp_ms": 1621431135147,
|
| 2217 |
+
"score": 0.0
|
| 2218 |
+
},
|
| 2219 |
+
{
|
| 2220 |
+
"timestamp_ms": 1621431171144,
|
| 2221 |
+
"score": 0.0
|
| 2222 |
+
},
|
| 2223 |
+
{
|
| 2224 |
+
"timestamp_ms": 1621431199106,
|
| 2225 |
+
"score": 0.0
|
| 2226 |
+
},
|
| 2227 |
+
{
|
| 2228 |
+
"timestamp_ms": 1621431227167,
|
| 2229 |
+
"score": 0.0
|
| 2230 |
+
},
|
| 2231 |
+
{
|
| 2232 |
+
"timestamp_ms": 1621431253122,
|
| 2233 |
+
"score": 0.0
|
| 2234 |
+
},
|
| 2235 |
+
{
|
| 2236 |
+
"timestamp_ms": 1621431281440,
|
| 2237 |
+
"score": 0.0
|
| 2238 |
+
},
|
| 2239 |
+
{
|
| 2240 |
+
"timestamp_ms": 1621431303384,
|
| 2241 |
+
"score": 0.0
|
| 2242 |
+
},
|
| 2243 |
+
{
|
| 2244 |
+
"timestamp_ms": 1621431329298,
|
| 2245 |
+
"score": 0.0
|
| 2246 |
+
},
|
| 2247 |
+
{
|
| 2248 |
+
"timestamp_ms": 1621431363609,
|
| 2249 |
+
"score": 0.0
|
| 2250 |
+
},
|
| 2251 |
+
{
|
| 2252 |
+
"timestamp_ms": 1621431394696,
|
| 2253 |
+
"score": 0.0
|
| 2254 |
+
},
|
| 2255 |
+
{
|
| 2256 |
+
"timestamp_ms": 1621431430441,
|
| 2257 |
+
"score": 0.0
|
| 2258 |
+
},
|
| 2259 |
+
{
|
| 2260 |
+
"timestamp_ms": 1621431473124,
|
| 2261 |
+
"score": 0.0
|
| 2262 |
+
},
|
| 2263 |
+
{
|
| 2264 |
+
"timestamp_ms": 1621431506846,
|
| 2265 |
+
"score": 0.0
|
| 2266 |
+
},
|
| 2267 |
+
{
|
| 2268 |
+
"timestamp_ms": 1621431540411,
|
| 2269 |
+
"score": 0.0
|
| 2270 |
+
},
|
| 2271 |
+
{
|
| 2272 |
+
"timestamp_ms": 1621431566660,
|
| 2273 |
+
"score": 0.0
|
| 2274 |
+
},
|
| 2275 |
+
{
|
| 2276 |
+
"timestamp_ms": 1621431595295,
|
| 2277 |
+
"score": 0.0
|
| 2278 |
+
},
|
| 2279 |
+
{
|
| 2280 |
+
"timestamp_ms": 1621431628983,
|
| 2281 |
+
"score": 0.0
|
| 2282 |
+
},
|
| 2283 |
+
{
|
| 2284 |
+
"timestamp_ms": 1621431661501,
|
| 2285 |
+
"score": 0.0
|
| 2286 |
+
},
|
| 2287 |
+
{
|
| 2288 |
+
"timestamp_ms": 1621431690667,
|
| 2289 |
+
"score": 0.0
|
| 2290 |
+
},
|
| 2291 |
+
{
|
| 2292 |
+
"timestamp_ms": 1621431724761,
|
| 2293 |
+
"score": 0.0
|
| 2294 |
+
},
|
| 2295 |
+
{
|
| 2296 |
+
"timestamp_ms": 1621431757924,
|
| 2297 |
+
"score": 0.0
|
| 2298 |
+
},
|
| 2299 |
+
{
|
| 2300 |
+
"timestamp_ms": 1621431790770,
|
| 2301 |
+
"score": 0.0
|
| 2302 |
+
},
|
| 2303 |
+
{
|
| 2304 |
+
"timestamp_ms": 1621431821739,
|
| 2305 |
+
"score": 0.0
|
| 2306 |
+
},
|
| 2307 |
+
{
|
| 2308 |
+
"timestamp_ms": 1621431845825,
|
| 2309 |
+
"score": 0.0
|
| 2310 |
+
},
|
| 2311 |
+
{
|
| 2312 |
+
"timestamp_ms": 1621431871796,
|
| 2313 |
+
"score": 0.0
|
| 2314 |
+
},
|
| 2315 |
+
{
|
| 2316 |
+
"timestamp_ms": 1621431896302,
|
| 2317 |
+
"score": 0.0
|
| 2318 |
+
},
|
| 2319 |
+
{
|
| 2320 |
+
"timestamp_ms": 1621431920906,
|
| 2321 |
+
"score": 0.0
|
| 2322 |
+
},
|
| 2323 |
+
{
|
| 2324 |
+
"timestamp_ms": 1621431944626,
|
| 2325 |
+
"score": 0.0
|
| 2326 |
+
},
|
| 2327 |
+
{
|
| 2328 |
+
"timestamp_ms": 1621431966004,
|
| 2329 |
+
"score": 0.0
|
| 2330 |
+
},
|
| 2331 |
+
{
|
| 2332 |
+
"timestamp_ms": 1621431988811,
|
| 2333 |
+
"score": 0.0
|
| 2334 |
+
},
|
| 2335 |
+
{
|
| 2336 |
+
"timestamp_ms": 1621432011193,
|
| 2337 |
+
"score": 0.0
|
| 2338 |
+
},
|
| 2339 |
+
{
|
| 2340 |
+
"timestamp_ms": 1621432035200,
|
| 2341 |
+
"score": 0.0
|
| 2342 |
+
},
|
| 2343 |
+
{
|
| 2344 |
+
"timestamp_ms": 1621432064297,
|
| 2345 |
+
"score": 0.0
|
| 2346 |
+
},
|
| 2347 |
+
{
|
| 2348 |
+
"timestamp_ms": 1621432099909,
|
| 2349 |
+
"score": 0.0
|
| 2350 |
+
},
|
| 2351 |
+
{
|
| 2352 |
+
"timestamp_ms": 1621432129892,
|
| 2353 |
+
"score": 0.0
|
| 2354 |
+
},
|
| 2355 |
+
{
|
| 2356 |
+
"timestamp_ms": 1621432165430,
|
| 2357 |
+
"score": 0.0
|
| 2358 |
+
},
|
| 2359 |
+
{
|
| 2360 |
+
"timestamp_ms": 1621432201707,
|
| 2361 |
+
"score": 0.0
|
| 2362 |
+
},
|
| 2363 |
+
{
|
| 2364 |
+
"timestamp_ms": 1621432239952,
|
| 2365 |
+
"score": 0.0
|
| 2366 |
+
},
|
| 2367 |
+
{
|
| 2368 |
+
"timestamp_ms": 1621432276675,
|
| 2369 |
+
"score": 0.0
|
| 2370 |
+
},
|
| 2371 |
+
{
|
| 2372 |
+
"timestamp_ms": 1621432310972,
|
| 2373 |
+
"score": 0.0
|
| 2374 |
+
},
|
| 2375 |
+
{
|
| 2376 |
+
"timestamp_ms": 1621432342085,
|
| 2377 |
+
"score": 0.0
|
| 2378 |
+
},
|
| 2379 |
+
{
|
| 2380 |
+
"timestamp_ms": 1621432377207,
|
| 2381 |
+
"score": 0.0
|
| 2382 |
+
},
|
| 2383 |
+
{
|
| 2384 |
+
"timestamp_ms": 1621432411785,
|
| 2385 |
+
"score": 0.0
|
| 2386 |
+
},
|
| 2387 |
+
{
|
| 2388 |
+
"timestamp_ms": 1621432441590,
|
| 2389 |
+
"score": 0.0
|
| 2390 |
+
},
|
| 2391 |
+
{
|
| 2392 |
+
"timestamp_ms": 1621432483452,
|
| 2393 |
+
"score": 0.0
|
| 2394 |
+
},
|
| 2395 |
+
{
|
| 2396 |
+
"timestamp_ms": 1621432526605,
|
| 2397 |
+
"score": 0.0
|
| 2398 |
+
},
|
| 2399 |
+
{
|
| 2400 |
+
"timestamp_ms": 1621432570052,
|
| 2401 |
+
"score": 0.0
|
| 2402 |
+
},
|
| 2403 |
+
{
|
| 2404 |
+
"timestamp_ms": 1621432610057,
|
| 2405 |
+
"score": 0.0
|
| 2406 |
+
},
|
| 2407 |
+
{
|
| 2408 |
+
"timestamp_ms": 1621432646319,
|
| 2409 |
+
"score": 0.0
|
| 2410 |
+
},
|
| 2411 |
+
{
|
| 2412 |
+
"timestamp_ms": 1621432682088,
|
| 2413 |
+
"score": 0.0
|
| 2414 |
+
},
|
| 2415 |
+
{
|
| 2416 |
+
"timestamp_ms": 1621432730006,
|
| 2417 |
+
"score": 0.0
|
| 2418 |
+
},
|
| 2419 |
+
{
|
| 2420 |
+
"timestamp_ms": 1621432776189,
|
| 2421 |
+
"score": 0.0
|
| 2422 |
+
},
|
| 2423 |
+
{
|
| 2424 |
+
"timestamp_ms": 1621432822905,
|
| 2425 |
+
"score": 0.0
|
| 2426 |
+
},
|
| 2427 |
+
{
|
| 2428 |
+
"timestamp_ms": 1621432860339,
|
| 2429 |
+
"score": 0.0
|
| 2430 |
+
},
|
| 2431 |
+
{
|
| 2432 |
+
"timestamp_ms": 1621432904558,
|
| 2433 |
+
"score": 0.0
|
| 2434 |
+
},
|
| 2435 |
+
{
|
| 2436 |
+
"timestamp_ms": 1621432945183,
|
| 2437 |
+
"score": 0.0
|
| 2438 |
+
},
|
| 2439 |
+
{
|
| 2440 |
+
"timestamp_ms": 1621432989093,
|
| 2441 |
+
"score": 0.0
|
| 2442 |
+
},
|
| 2443 |
+
{
|
| 2444 |
+
"timestamp_ms": 1621433024184,
|
| 2445 |
+
"score": 0.0
|
| 2446 |
+
},
|
| 2447 |
+
{
|
| 2448 |
+
"timestamp_ms": 1621433060358,
|
| 2449 |
+
"score": 0.0
|
| 2450 |
+
},
|
| 2451 |
+
{
|
| 2452 |
+
"timestamp_ms": 1621433097617,
|
| 2453 |
+
"score": 0.0
|
| 2454 |
+
},
|
| 2455 |
+
{
|
| 2456 |
+
"timestamp_ms": 1621433128230,
|
| 2457 |
+
"score": 0.0
|
| 2458 |
+
},
|
| 2459 |
+
{
|
| 2460 |
+
"timestamp_ms": 1621433155943,
|
| 2461 |
+
"score": 0.0
|
| 2462 |
+
},
|
| 2463 |
+
{
|
| 2464 |
+
"timestamp_ms": 1621433190163,
|
| 2465 |
+
"score": 0.0
|
| 2466 |
+
},
|
| 2467 |
+
{
|
| 2468 |
+
"timestamp_ms": 1621433225281,
|
| 2469 |
+
"score": 0.0
|
| 2470 |
+
},
|
| 2471 |
+
{
|
| 2472 |
+
"timestamp_ms": 1621433265679,
|
| 2473 |
+
"score": 0.0
|
| 2474 |
+
},
|
| 2475 |
+
{
|
| 2476 |
+
"timestamp_ms": 1621433308893,
|
| 2477 |
+
"score": 0.0
|
| 2478 |
+
},
|
| 2479 |
+
{
|
| 2480 |
+
"timestamp_ms": 1621433350639,
|
| 2481 |
+
"score": 0.0
|
| 2482 |
+
},
|
| 2483 |
+
{
|
| 2484 |
+
"timestamp_ms": 1621433399308,
|
| 2485 |
+
"score": 0.0
|
| 2486 |
+
},
|
| 2487 |
+
{
|
| 2488 |
+
"timestamp_ms": 1621433463648,
|
| 2489 |
+
"score": 0.0
|
| 2490 |
+
},
|
| 2491 |
+
{
|
| 2492 |
+
"timestamp_ms": 1621433519303,
|
| 2493 |
+
"score": 0.0
|
| 2494 |
+
},
|
| 2495 |
+
{
|
| 2496 |
+
"timestamp_ms": 1621433573657,
|
| 2497 |
+
"score": 0.0
|
| 2498 |
+
},
|
| 2499 |
+
{
|
| 2500 |
+
"timestamp_ms": 1621433620547,
|
| 2501 |
+
"score": 0.0
|
| 2502 |
+
},
|
| 2503 |
+
{
|
| 2504 |
+
"timestamp_ms": 1621433664925,
|
| 2505 |
+
"score": 0.0
|
| 2506 |
+
},
|
| 2507 |
+
{
|
| 2508 |
+
"timestamp_ms": 1621433729073,
|
| 2509 |
+
"score": 0.0
|
| 2510 |
+
},
|
| 2511 |
+
{
|
| 2512 |
+
"timestamp_ms": 1621433790441,
|
| 2513 |
+
"score": 0.0
|
| 2514 |
+
},
|
| 2515 |
+
{
|
| 2516 |
+
"timestamp_ms": 1621433854933,
|
| 2517 |
+
"score": 0.0
|
| 2518 |
+
},
|
| 2519 |
+
{
|
| 2520 |
+
"timestamp_ms": 1621433926107,
|
| 2521 |
+
"score": 0.0
|
| 2522 |
+
},
|
| 2523 |
+
{
|
| 2524 |
+
"timestamp_ms": 1621433988723,
|
| 2525 |
+
"score": 0.0
|
| 2526 |
+
},
|
| 2527 |
+
{
|
| 2528 |
+
"timestamp_ms": 1621434047176,
|
| 2529 |
+
"score": 0.0
|
| 2530 |
+
},
|
| 2531 |
+
{
|
| 2532 |
+
"timestamp_ms": 1621434101973,
|
| 2533 |
+
"score": 0.0
|
| 2534 |
+
},
|
| 2535 |
+
{
|
| 2536 |
+
"timestamp_ms": 1621434156401,
|
| 2537 |
+
"score": 0.0
|
| 2538 |
+
},
|
| 2539 |
+
{
|
| 2540 |
+
"timestamp_ms": 1621434212747,
|
| 2541 |
+
"score": 0.0
|
| 2542 |
+
},
|
| 2543 |
+
{
|
| 2544 |
+
"timestamp_ms": 1621434265093,
|
| 2545 |
+
"score": 0.0
|
| 2546 |
+
},
|
| 2547 |
+
{
|
| 2548 |
+
"timestamp_ms": 1621434327361,
|
| 2549 |
+
"score": 0.0
|
| 2550 |
+
},
|
| 2551 |
+
{
|
| 2552 |
+
"timestamp_ms": 1621434389720,
|
| 2553 |
+
"score": 0.0
|
| 2554 |
+
},
|
| 2555 |
+
{
|
| 2556 |
+
"timestamp_ms": 1621434455270,
|
| 2557 |
+
"score": 0.0
|
| 2558 |
+
},
|
| 2559 |
+
{
|
| 2560 |
+
"timestamp_ms": 1621434525832,
|
| 2561 |
+
"score": 0.0
|
| 2562 |
+
},
|
| 2563 |
+
{
|
| 2564 |
+
"timestamp_ms": 1621434586529,
|
| 2565 |
+
"score": 0.0
|
| 2566 |
+
},
|
| 2567 |
+
{
|
| 2568 |
+
"timestamp_ms": 1621434640039,
|
| 2569 |
+
"score": 0.0
|
| 2570 |
+
},
|
| 2571 |
+
{
|
| 2572 |
+
"timestamp_ms": 1621434700923,
|
| 2573 |
+
"score": 0.0
|
| 2574 |
+
},
|
| 2575 |
+
{
|
| 2576 |
+
"timestamp_ms": 1621434762921,
|
| 2577 |
+
"score": 0.0
|
| 2578 |
+
},
|
| 2579 |
+
{
|
| 2580 |
+
"timestamp_ms": 1621434843520,
|
| 2581 |
+
"score": 0.0
|
| 2582 |
+
},
|
| 2583 |
+
{
|
| 2584 |
+
"timestamp_ms": 1621434926822,
|
| 2585 |
+
"score": 0.0
|
| 2586 |
+
},
|
| 2587 |
+
{
|
| 2588 |
+
"timestamp_ms": 1621434968497,
|
| 2589 |
+
"score": 0.0
|
| 2590 |
+
},
|
| 2591 |
+
{
|
| 2592 |
+
"timestamp_ms": 1621435030445,
|
| 2593 |
+
"score": 0.0
|
| 2594 |
+
},
|
| 2595 |
+
{
|
| 2596 |
+
"timestamp_ms": 1621435103091,
|
| 2597 |
+
"score": 0.0
|
| 2598 |
+
},
|
| 2599 |
+
{
|
| 2600 |
+
"timestamp_ms": 1621435172451,
|
| 2601 |
+
"score": 0.0
|
| 2602 |
+
},
|
| 2603 |
+
{
|
| 2604 |
+
"timestamp_ms": 1621435277880,
|
| 2605 |
+
"score": 0.0
|
| 2606 |
+
},
|
| 2607 |
+
{
|
| 2608 |
+
"timestamp_ms": 1621435359422,
|
| 2609 |
+
"score": 0.0
|
| 2610 |
+
},
|
| 2611 |
+
{
|
| 2612 |
+
"timestamp_ms": 1621435414779,
|
| 2613 |
+
"score": 0.0
|
| 2614 |
+
},
|
| 2615 |
+
{
|
| 2616 |
+
"timestamp_ms": 1621435473372,
|
| 2617 |
+
"score": 0.0
|
| 2618 |
+
},
|
| 2619 |
+
{
|
| 2620 |
+
"timestamp_ms": 1621435519491,
|
| 2621 |
+
"score": 0.0
|
| 2622 |
+
},
|
| 2623 |
+
{
|
| 2624 |
+
"timestamp_ms": 1621435549306,
|
| 2625 |
+
"score": 0.0
|
| 2626 |
+
},
|
| 2627 |
+
{
|
| 2628 |
+
"timestamp_ms": 1621435579969,
|
| 2629 |
+
"score": 0.0
|
| 2630 |
+
},
|
| 2631 |
+
{
|
| 2632 |
+
"timestamp_ms": 1621435610539,
|
| 2633 |
+
"score": 0.0
|
| 2634 |
+
},
|
| 2635 |
+
{
|
| 2636 |
+
"timestamp_ms": 1621435643007,
|
| 2637 |
+
"score": 0.0
|
| 2638 |
+
},
|
| 2639 |
+
{
|
| 2640 |
+
"timestamp_ms": 1621435690805,
|
| 2641 |
+
"score": 0.0
|
| 2642 |
+
},
|
| 2643 |
+
{
|
| 2644 |
+
"timestamp_ms": 1621435743875,
|
| 2645 |
+
"score": 0.0
|
| 2646 |
+
},
|
| 2647 |
+
{
|
| 2648 |
+
"timestamp_ms": 1621435803651,
|
| 2649 |
+
"score": 0.0
|
| 2650 |
+
},
|
| 2651 |
+
{
|
| 2652 |
+
"timestamp_ms": 1621435852588,
|
| 2653 |
+
"score": 0.0
|
| 2654 |
+
},
|
| 2655 |
+
{
|
| 2656 |
+
"timestamp_ms": 1621435908521,
|
| 2657 |
+
"score": 0.0
|
| 2658 |
+
},
|
| 2659 |
+
{
|
| 2660 |
+
"timestamp_ms": 1621435966192,
|
| 2661 |
+
"score": 0.0
|
| 2662 |
+
},
|
| 2663 |
+
{
|
| 2664 |
+
"timestamp_ms": 1621436029302,
|
| 2665 |
+
"score": 0.0
|
| 2666 |
+
},
|
| 2667 |
+
{
|
| 2668 |
+
"timestamp_ms": 1621436090560,
|
| 2669 |
+
"score": 0.0
|
| 2670 |
+
},
|
| 2671 |
+
{
|
| 2672 |
+
"timestamp_ms": 1621436137259,
|
| 2673 |
+
"score": 0.0
|
| 2674 |
+
},
|
| 2675 |
+
{
|
| 2676 |
+
"timestamp_ms": 1621436175549,
|
| 2677 |
+
"score": 0.0
|
| 2678 |
+
},
|
| 2679 |
+
{
|
| 2680 |
+
"timestamp_ms": 1621436219839,
|
| 2681 |
+
"score": 0.0
|
| 2682 |
+
},
|
| 2683 |
+
{
|
| 2684 |
+
"timestamp_ms": 1621436269025,
|
| 2685 |
+
"score": 0.0
|
| 2686 |
+
},
|
| 2687 |
+
{
|
| 2688 |
+
"timestamp_ms": 1621436317134,
|
| 2689 |
+
"score": 0.0
|
| 2690 |
+
},
|
| 2691 |
+
{
|
| 2692 |
+
"timestamp_ms": 1621436359822,
|
| 2693 |
+
"score": 0.0
|
| 2694 |
+
},
|
| 2695 |
+
{
|
| 2696 |
+
"timestamp_ms": 1621436403644,
|
| 2697 |
+
"score": 0.0
|
| 2698 |
+
},
|
| 2699 |
+
{
|
| 2700 |
+
"timestamp_ms": 1621436443901,
|
| 2701 |
+
"score": 0.0
|
| 2702 |
+
},
|
| 2703 |
+
{
|
| 2704 |
+
"timestamp_ms": 1621436479723,
|
| 2705 |
+
"score": 0.0
|
| 2706 |
+
},
|
| 2707 |
+
{
|
| 2708 |
+
"timestamp_ms": 1621436510289,
|
| 2709 |
+
"score": 0.0
|
| 2710 |
+
},
|
| 2711 |
+
{
|
| 2712 |
+
"timestamp_ms": 1621436555480,
|
| 2713 |
+
"score": 0.0
|
| 2714 |
+
},
|
| 2715 |
+
{
|
| 2716 |
+
"timestamp_ms": 1621436603395,
|
| 2717 |
+
"score": 0.0
|
| 2718 |
+
},
|
| 2719 |
+
{
|
| 2720 |
+
"timestamp_ms": 1621436656217,
|
| 2721 |
+
"score": 0.0
|
| 2722 |
+
},
|
| 2723 |
+
{
|
| 2724 |
+
"timestamp_ms": 1621436722625,
|
| 2725 |
+
"score": 0.0
|
| 2726 |
+
},
|
| 2727 |
+
{
|
| 2728 |
+
"timestamp_ms": 1621436788380,
|
| 2729 |
+
"score": 0.0
|
| 2730 |
+
},
|
| 2731 |
+
{
|
| 2732 |
+
"timestamp_ms": 1621436846245,
|
| 2733 |
+
"score": 0.0
|
| 2734 |
+
},
|
| 2735 |
+
{
|
| 2736 |
+
"timestamp_ms": 1621436904704,
|
| 2737 |
+
"score": 0.0
|
| 2738 |
+
},
|
| 2739 |
+
{
|
| 2740 |
+
"timestamp_ms": 1621436950503,
|
| 2741 |
+
"score": 0.0
|
| 2742 |
+
},
|
| 2743 |
+
{
|
| 2744 |
+
"timestamp_ms": 1621436998837,
|
| 2745 |
+
"score": 0.0
|
| 2746 |
+
},
|
| 2747 |
+
{
|
| 2748 |
+
"timestamp_ms": 1621437042949,
|
| 2749 |
+
"score": 0.0
|
| 2750 |
+
},
|
| 2751 |
+
{
|
| 2752 |
+
"timestamp_ms": 1621437091452,
|
| 2753 |
+
"score": 0.0
|
| 2754 |
+
},
|
| 2755 |
+
{
|
| 2756 |
+
"timestamp_ms": 1621437142367,
|
| 2757 |
+
"score": 0.0
|
| 2758 |
+
},
|
| 2759 |
+
{
|
| 2760 |
+
"timestamp_ms": 1621437192154,
|
| 2761 |
+
"score": 0.0
|
| 2762 |
+
},
|
| 2763 |
+
{
|
| 2764 |
+
"timestamp_ms": 1621437258355,
|
| 2765 |
+
"score": 0.0
|
| 2766 |
+
},
|
| 2767 |
+
{
|
| 2768 |
+
"timestamp_ms": 1621437309710,
|
| 2769 |
+
"score": 0.0
|
| 2770 |
+
},
|
| 2771 |
+
{
|
| 2772 |
+
"timestamp_ms": 1621437364931,
|
| 2773 |
+
"score": 0.0
|
| 2774 |
+
},
|
| 2775 |
+
{
|
| 2776 |
+
"timestamp_ms": 1621437414406,
|
| 2777 |
+
"score": 0.0
|
| 2778 |
+
},
|
| 2779 |
+
{
|
| 2780 |
+
"timestamp_ms": 1621437458896,
|
| 2781 |
+
"score": 0.0
|
| 2782 |
+
},
|
| 2783 |
+
{
|
| 2784 |
+
"timestamp_ms": 1621437517572,
|
| 2785 |
+
"score": 0.0
|
| 2786 |
+
},
|
| 2787 |
+
{
|
| 2788 |
+
"timestamp_ms": 1621437567070,
|
| 2789 |
+
"score": 0.0
|
| 2790 |
+
},
|
| 2791 |
+
{
|
| 2792 |
+
"timestamp_ms": 1621437603046,
|
| 2793 |
+
"score": 0.0
|
| 2794 |
+
},
|
| 2795 |
+
{
|
| 2796 |
+
"timestamp_ms": 1621437653148,
|
| 2797 |
+
"score": 0.0
|
| 2798 |
+
},
|
| 2799 |
+
{
|
| 2800 |
+
"timestamp_ms": 1621437696915,
|
| 2801 |
+
"score": 0.0
|
| 2802 |
+
},
|
| 2803 |
+
{
|
| 2804 |
+
"timestamp_ms": 1621437750344,
|
| 2805 |
+
"score": 0.0
|
| 2806 |
+
},
|
| 2807 |
+
{
|
| 2808 |
+
"timestamp_ms": 1621437809061,
|
| 2809 |
+
"score": 0.0
|
| 2810 |
+
},
|
| 2811 |
+
{
|
| 2812 |
+
"timestamp_ms": 1621437859415,
|
| 2813 |
+
"score": 0.0
|
| 2814 |
+
},
|
| 2815 |
+
{
|
| 2816 |
+
"timestamp_ms": 1621437895835,
|
| 2817 |
+
"score": 0.0
|
| 2818 |
+
},
|
| 2819 |
+
{
|
| 2820 |
+
"timestamp_ms": 1621437945500,
|
| 2821 |
+
"score": 0.0
|
| 2822 |
+
},
|
| 2823 |
+
{
|
| 2824 |
+
"timestamp_ms": 1621438004469,
|
| 2825 |
+
"score": 0.0
|
| 2826 |
+
},
|
| 2827 |
+
{
|
| 2828 |
+
"timestamp_ms": 1621438080351,
|
| 2829 |
+
"score": 0.0
|
| 2830 |
+
},
|
| 2831 |
+
{
|
| 2832 |
+
"timestamp_ms": 1621438133378,
|
| 2833 |
+
"score": 0.0
|
| 2834 |
+
},
|
| 2835 |
+
{
|
| 2836 |
+
"timestamp_ms": 1621438194522,
|
| 2837 |
+
"score": 0.0
|
| 2838 |
+
},
|
| 2839 |
+
{
|
| 2840 |
+
"timestamp_ms": 1621438274211,
|
| 2841 |
+
"score": 0.0
|
| 2842 |
+
},
|
| 2843 |
+
{
|
| 2844 |
+
"timestamp_ms": 1621438325732,
|
| 2845 |
+
"score": 0.0
|
| 2846 |
+
},
|
| 2847 |
+
{
|
| 2848 |
+
"timestamp_ms": 1621438401277,
|
| 2849 |
+
"score": 0.0
|
| 2850 |
+
},
|
| 2851 |
+
{
|
| 2852 |
+
"timestamp_ms": 1621438476799,
|
| 2853 |
+
"score": 0.0
|
| 2854 |
+
},
|
| 2855 |
+
{
|
| 2856 |
+
"timestamp_ms": 1621438548647,
|
| 2857 |
+
"score": 0.0
|
| 2858 |
+
},
|
| 2859 |
+
{
|
| 2860 |
+
"timestamp_ms": 1621438620684,
|
| 2861 |
+
"score": 0.0
|
| 2862 |
+
},
|
| 2863 |
+
{
|
| 2864 |
+
"timestamp_ms": 1621438686360,
|
| 2865 |
+
"score": 0.0
|
| 2866 |
+
},
|
| 2867 |
+
{
|
| 2868 |
+
"timestamp_ms": 1621438764386,
|
| 2869 |
+
"score": 0.0
|
| 2870 |
+
},
|
| 2871 |
+
{
|
| 2872 |
+
"timestamp_ms": 1621438816976,
|
| 2873 |
+
"score": 0.0
|
| 2874 |
+
},
|
| 2875 |
+
{
|
| 2876 |
+
"timestamp_ms": 1621438882843,
|
| 2877 |
+
"score": 0.0
|
| 2878 |
+
},
|
| 2879 |
+
{
|
| 2880 |
+
"timestamp_ms": 1621438951376,
|
| 2881 |
+
"score": 0.0
|
| 2882 |
+
},
|
| 2883 |
+
{
|
| 2884 |
+
"timestamp_ms": 1621439018912,
|
| 2885 |
+
"score": 0.0
|
| 2886 |
+
},
|
| 2887 |
+
{
|
| 2888 |
+
"timestamp_ms": 1621439094612,
|
| 2889 |
+
"score": 0.0
|
| 2890 |
+
},
|
| 2891 |
+
{
|
| 2892 |
+
"timestamp_ms": 1621439159408,
|
| 2893 |
+
"score": 0.0
|
| 2894 |
+
},
|
| 2895 |
+
{
|
| 2896 |
+
"timestamp_ms": 1621439228061,
|
| 2897 |
+
"score": 0.0
|
| 2898 |
+
},
|
| 2899 |
+
{
|
| 2900 |
+
"timestamp_ms": 1621439296665,
|
| 2901 |
+
"score": 0.0
|
| 2902 |
+
},
|
| 2903 |
+
{
|
| 2904 |
+
"timestamp_ms": 1621439359092,
|
| 2905 |
+
"score": 0.0
|
| 2906 |
+
},
|
| 2907 |
+
{
|
| 2908 |
+
"timestamp_ms": 1621439409037,
|
| 2909 |
+
"score": 0.0
|
| 2910 |
+
},
|
| 2911 |
+
{
|
| 2912 |
+
"timestamp_ms": 1621439460760,
|
| 2913 |
+
"score": 0.0
|
| 2914 |
+
},
|
| 2915 |
+
{
|
| 2916 |
+
"timestamp_ms": 1621439511402,
|
| 2917 |
+
"score": 0.0
|
| 2918 |
+
},
|
| 2919 |
+
{
|
| 2920 |
+
"timestamp_ms": 1621439570649,
|
| 2921 |
+
"score": 0.0
|
| 2922 |
+
},
|
| 2923 |
+
{
|
| 2924 |
+
"timestamp_ms": 1621439629732,
|
| 2925 |
+
"score": 0.0
|
| 2926 |
+
},
|
| 2927 |
+
{
|
| 2928 |
+
"timestamp_ms": 1621439693133,
|
| 2929 |
+
"score": 0.0
|
| 2930 |
+
},
|
| 2931 |
+
{
|
| 2932 |
+
"timestamp_ms": 1621439786477,
|
| 2933 |
+
"score": 0.0
|
| 2934 |
+
},
|
| 2935 |
+
{
|
| 2936 |
+
"timestamp_ms": 1621439872616,
|
| 2937 |
+
"score": 0.0
|
| 2938 |
+
},
|
| 2939 |
+
{
|
| 2940 |
+
"timestamp_ms": 1621439962977,
|
| 2941 |
+
"score": 0.0
|
| 2942 |
+
},
|
| 2943 |
+
{
|
| 2944 |
+
"timestamp_ms": 1621440031531,
|
| 2945 |
+
"score": 0.0
|
| 2946 |
+
},
|
| 2947 |
+
{
|
| 2948 |
+
"timestamp_ms": 1621440086361,
|
| 2949 |
+
"score": 0.0
|
| 2950 |
+
},
|
| 2951 |
+
{
|
| 2952 |
+
"timestamp_ms": 1621440138029,
|
| 2953 |
+
"score": 0.0
|
| 2954 |
+
},
|
| 2955 |
+
{
|
| 2956 |
+
"timestamp_ms": 1621440192032,
|
| 2957 |
+
"score": 0.0
|
| 2958 |
+
},
|
| 2959 |
+
{
|
| 2960 |
+
"timestamp_ms": 1621440211877,
|
| 2961 |
+
"score": 0.0
|
| 2962 |
+
},
|
| 2963 |
+
{
|
| 2964 |
+
"timestamp_ms": 1621440265890,
|
| 2965 |
+
"score": 0.0
|
| 2966 |
+
},
|
| 2967 |
+
{
|
| 2968 |
+
"timestamp_ms": 1621440336232,
|
| 2969 |
+
"score": 0.0
|
| 2970 |
+
},
|
| 2971 |
+
{
|
| 2972 |
+
"timestamp_ms": 1621440394844,
|
| 2973 |
+
"score": 0.0
|
| 2974 |
+
},
|
| 2975 |
+
{
|
| 2976 |
+
"timestamp_ms": 1621440466236,
|
| 2977 |
+
"score": 0.0
|
| 2978 |
+
},
|
| 2979 |
+
{
|
| 2980 |
+
"timestamp_ms": 1621440553653,
|
| 2981 |
+
"score": 0.0
|
| 2982 |
+
},
|
| 2983 |
+
{
|
| 2984 |
+
"timestamp_ms": 1621440648206,
|
| 2985 |
+
"score": 0.0
|
| 2986 |
+
},
|
| 2987 |
+
{
|
| 2988 |
+
"timestamp_ms": 1621440736066,
|
| 2989 |
+
"score": 0.0
|
| 2990 |
+
},
|
| 2991 |
+
{
|
| 2992 |
+
"timestamp_ms": 1621440800688,
|
| 2993 |
+
"score": 0.0
|
| 2994 |
+
},
|
| 2995 |
+
{
|
| 2996 |
+
"timestamp_ms": 1621440834711,
|
| 2997 |
+
"score": 0.0
|
| 2998 |
+
},
|
| 2999 |
+
{
|
| 3000 |
+
"timestamp_ms": 1621440899037,
|
| 3001 |
+
"score": 0.0
|
| 3002 |
+
},
|
| 3003 |
+
{
|
| 3004 |
+
"timestamp_ms": 1621440963456,
|
| 3005 |
+
"score": 0.0
|
| 3006 |
+
},
|
| 3007 |
+
{
|
| 3008 |
+
"timestamp_ms": 1621441041538,
|
| 3009 |
+
"score": 0.0
|
| 3010 |
+
},
|
| 3011 |
+
{
|
| 3012 |
+
"timestamp_ms": 1621441126111,
|
| 3013 |
+
"score": 0.0
|
| 3014 |
+
},
|
| 3015 |
+
{
|
| 3016 |
+
"timestamp_ms": 1621441193350,
|
| 3017 |
+
"score": 0.0
|
| 3018 |
+
},
|
| 3019 |
+
{
|
| 3020 |
+
"timestamp_ms": 1621441275780,
|
| 3021 |
+
"score": 0.0
|
| 3022 |
+
},
|
| 3023 |
+
{
|
| 3024 |
+
"timestamp_ms": 1621441361157,
|
| 3025 |
+
"score": 0.0
|
| 3026 |
+
},
|
| 3027 |
+
{
|
| 3028 |
+
"timestamp_ms": 1621441444349,
|
| 3029 |
+
"score": 0.0
|
| 3030 |
+
},
|
| 3031 |
+
{
|
| 3032 |
+
"timestamp_ms": 1621441524798,
|
| 3033 |
+
"score": 0.0
|
| 3034 |
+
},
|
| 3035 |
+
{
|
| 3036 |
+
"timestamp_ms": 1621441613203,
|
| 3037 |
+
"score": 0.0
|
| 3038 |
+
},
|
| 3039 |
+
{
|
| 3040 |
+
"timestamp_ms": 1621441704552,
|
| 3041 |
+
"score": 0.0
|
| 3042 |
+
},
|
| 3043 |
+
{
|
| 3044 |
+
"timestamp_ms": 1621441793478,
|
| 3045 |
+
"score": 0.0
|
| 3046 |
+
},
|
| 3047 |
+
{
|
| 3048 |
+
"timestamp_ms": 1621441849956,
|
| 3049 |
+
"score": 0.0
|
| 3050 |
+
},
|
| 3051 |
+
{
|
| 3052 |
+
"timestamp_ms": 1621441890498,
|
| 3053 |
+
"score": 0.0
|
| 3054 |
+
},
|
| 3055 |
+
{
|
| 3056 |
+
"timestamp_ms": 1621441964613,
|
| 3057 |
+
"score": 0.0
|
| 3058 |
+
},
|
| 3059 |
+
{
|
| 3060 |
+
"timestamp_ms": 1621442036501,
|
| 3061 |
+
"score": 0.0
|
| 3062 |
+
},
|
| 3063 |
+
{
|
| 3064 |
+
"timestamp_ms": 1621442100908,
|
| 3065 |
+
"score": 0.0
|
| 3066 |
+
},
|
| 3067 |
+
{
|
| 3068 |
+
"timestamp_ms": 1621442145051,
|
| 3069 |
+
"score": 0.0
|
| 3070 |
+
},
|
| 3071 |
+
{
|
| 3072 |
+
"timestamp_ms": 1621442196130,
|
| 3073 |
+
"score": 0.0
|
| 3074 |
+
},
|
| 3075 |
+
{
|
| 3076 |
+
"timestamp_ms": 1621442263629,
|
| 3077 |
+
"score": 0.0
|
| 3078 |
+
},
|
| 3079 |
+
{
|
| 3080 |
+
"timestamp_ms": 1621442315360,
|
| 3081 |
+
"score": 0.0
|
| 3082 |
+
},
|
| 3083 |
+
{
|
| 3084 |
+
"timestamp_ms": 1621442387345,
|
| 3085 |
+
"score": 0.0
|
| 3086 |
+
},
|
| 3087 |
+
{
|
| 3088 |
+
"timestamp_ms": 1621442454592,
|
| 3089 |
+
"score": 0.0
|
| 3090 |
+
},
|
| 3091 |
+
{
|
| 3092 |
+
"timestamp_ms": 1621442502328,
|
| 3093 |
+
"score": 0.0
|
| 3094 |
+
},
|
| 3095 |
+
{
|
| 3096 |
+
"timestamp_ms": 1621442547509,
|
| 3097 |
+
"score": 0.0
|
| 3098 |
+
},
|
| 3099 |
+
{
|
| 3100 |
+
"timestamp_ms": 1621442587054,
|
| 3101 |
+
"score": 0.0
|
| 3102 |
+
},
|
| 3103 |
+
{
|
| 3104 |
+
"timestamp_ms": 1621442636690,
|
| 3105 |
+
"score": 0.0
|
| 3106 |
+
},
|
| 3107 |
+
{
|
| 3108 |
+
"timestamp_ms": 1621442689646,
|
| 3109 |
+
"score": 0.0
|
| 3110 |
+
},
|
| 3111 |
+
{
|
| 3112 |
+
"timestamp_ms": 1621442733319,
|
| 3113 |
+
"score": 0.0
|
| 3114 |
+
},
|
| 3115 |
+
{
|
| 3116 |
+
"timestamp_ms": 1621442788635,
|
| 3117 |
+
"score": 0.0
|
| 3118 |
+
},
|
| 3119 |
+
{
|
| 3120 |
+
"timestamp_ms": 1621442838384,
|
| 3121 |
+
"score": 0.0
|
| 3122 |
+
},
|
| 3123 |
+
{
|
| 3124 |
+
"timestamp_ms": 1621442866899,
|
| 3125 |
+
"score": 0.0
|
| 3126 |
+
},
|
| 3127 |
+
{
|
| 3128 |
+
"timestamp_ms": 1621442912673,
|
| 3129 |
+
"score": 0.0
|
| 3130 |
+
},
|
| 3131 |
+
{
|
| 3132 |
+
"timestamp_ms": 1621442947077,
|
| 3133 |
+
"score": 0.0
|
| 3134 |
+
},
|
| 3135 |
+
{
|
| 3136 |
+
"timestamp_ms": 1621443005647,
|
| 3137 |
+
"score": 0.0
|
| 3138 |
+
},
|
| 3139 |
+
{
|
| 3140 |
+
"timestamp_ms": 1621443060453,
|
| 3141 |
+
"score": 0.0
|
| 3142 |
+
},
|
| 3143 |
+
{
|
| 3144 |
+
"timestamp_ms": 1621443111331,
|
| 3145 |
+
"score": 0.0
|
| 3146 |
+
},
|
| 3147 |
+
{
|
| 3148 |
+
"timestamp_ms": 1621443157203,
|
| 3149 |
+
"score": 0.0
|
| 3150 |
+
},
|
| 3151 |
+
{
|
| 3152 |
+
"timestamp_ms": 1621443219828,
|
| 3153 |
+
"score": 0.0
|
| 3154 |
+
},
|
| 3155 |
+
{
|
| 3156 |
+
"timestamp_ms": 1621443262592,
|
| 3157 |
+
"score": 0.0
|
| 3158 |
+
},
|
| 3159 |
+
{
|
| 3160 |
+
"timestamp_ms": 1621443327202,
|
| 3161 |
+
"score": 0.0
|
| 3162 |
+
},
|
| 3163 |
+
{
|
| 3164 |
+
"timestamp_ms": 1621443378221,
|
| 3165 |
+
"score": 0.0
|
| 3166 |
+
},
|
| 3167 |
+
{
|
| 3168 |
+
"timestamp_ms": 1621443439772,
|
| 3169 |
+
"score": 0.0
|
| 3170 |
+
},
|
| 3171 |
+
{
|
| 3172 |
+
"timestamp_ms": 1621443492169,
|
| 3173 |
+
"score": 0.0
|
| 3174 |
+
},
|
| 3175 |
+
{
|
| 3176 |
+
"timestamp_ms": 1621443544039,
|
| 3177 |
+
"score": 0.0
|
| 3178 |
+
},
|
| 3179 |
+
{
|
| 3180 |
+
"timestamp_ms": 1621443614939,
|
| 3181 |
+
"score": 0.0
|
| 3182 |
+
},
|
| 3183 |
+
{
|
| 3184 |
+
"timestamp_ms": 1621443673070,
|
| 3185 |
+
"score": 0.0
|
| 3186 |
+
},
|
| 3187 |
+
{
|
| 3188 |
+
"timestamp_ms": 1621443706346,
|
| 3189 |
+
"score": 0.0
|
| 3190 |
+
},
|
| 3191 |
+
{
|
| 3192 |
+
"timestamp_ms": 1621443768253,
|
| 3193 |
+
"score": 0.0
|
| 3194 |
+
},
|
| 3195 |
+
{
|
| 3196 |
+
"timestamp_ms": 1621443827011,
|
| 3197 |
+
"score": 0.0
|
| 3198 |
+
},
|
| 3199 |
+
{
|
| 3200 |
+
"timestamp_ms": 1621443873823,
|
| 3201 |
+
"score": 0.0
|
| 3202 |
+
},
|
| 3203 |
+
{
|
| 3204 |
+
"timestamp_ms": 1621443935708,
|
| 3205 |
+
"score": 0.0
|
| 3206 |
+
},
|
| 3207 |
+
{
|
| 3208 |
+
"timestamp_ms": 1621444015071,
|
| 3209 |
+
"score": 0.0
|
| 3210 |
+
},
|
| 3211 |
+
{
|
| 3212 |
+
"timestamp_ms": 1621444112771,
|
| 3213 |
+
"score": 0.0
|
| 3214 |
+
},
|
| 3215 |
+
{
|
| 3216 |
+
"timestamp_ms": 1621444207432,
|
| 3217 |
+
"score": 0.0
|
| 3218 |
+
},
|
| 3219 |
+
{
|
| 3220 |
+
"timestamp_ms": 1621444282418,
|
| 3221 |
+
"score": 0.0
|
| 3222 |
+
},
|
| 3223 |
+
{
|
| 3224 |
+
"timestamp_ms": 1621444394548,
|
| 3225 |
+
"score": 0.0
|
| 3226 |
+
},
|
| 3227 |
+
{
|
| 3228 |
+
"timestamp_ms": 1621444470455,
|
| 3229 |
+
"score": 0.0
|
| 3230 |
+
},
|
| 3231 |
+
{
|
| 3232 |
+
"timestamp_ms": 1621444569529,
|
| 3233 |
+
"score": 0.0
|
| 3234 |
+
},
|
| 3235 |
+
{
|
| 3236 |
+
"timestamp_ms": 1621444667268,
|
| 3237 |
+
"score": 0.0
|
| 3238 |
+
},
|
| 3239 |
+
{
|
| 3240 |
+
"timestamp_ms": 1621444724419,
|
| 3241 |
+
"score": 0.0
|
| 3242 |
+
},
|
| 3243 |
+
{
|
| 3244 |
+
"timestamp_ms": 1621444793818,
|
| 3245 |
+
"score": 0.0
|
| 3246 |
+
},
|
| 3247 |
+
{
|
| 3248 |
+
"timestamp_ms": 1621444857339,
|
| 3249 |
+
"score": 0.0
|
| 3250 |
+
},
|
| 3251 |
+
{
|
| 3252 |
+
"timestamp_ms": 1621444935236,
|
| 3253 |
+
"score": 0.0
|
| 3254 |
+
},
|
| 3255 |
+
{
|
| 3256 |
+
"timestamp_ms": 1621445019976,
|
| 3257 |
+
"score": 0.0
|
| 3258 |
+
},
|
| 3259 |
+
{
|
| 3260 |
+
"timestamp_ms": 1621445096207,
|
| 3261 |
+
"score": 0.0
|
| 3262 |
+
},
|
| 3263 |
+
{
|
| 3264 |
+
"timestamp_ms": 1621445188144,
|
| 3265 |
+
"score": 0.0
|
| 3266 |
+
},
|
| 3267 |
+
{
|
| 3268 |
+
"timestamp_ms": 1621445298311,
|
| 3269 |
+
"score": 0.0
|
| 3270 |
+
},
|
| 3271 |
+
{
|
| 3272 |
+
"timestamp_ms": 1621445396677,
|
| 3273 |
+
"score": 0.0
|
| 3274 |
+
},
|
| 3275 |
+
{
|
| 3276 |
+
"timestamp_ms": 1621445503557,
|
| 3277 |
+
"score": 0.0
|
| 3278 |
+
},
|
| 3279 |
+
{
|
| 3280 |
+
"timestamp_ms": 1621445579911,
|
| 3281 |
+
"score": 0.0
|
| 3282 |
+
},
|
| 3283 |
+
{
|
| 3284 |
+
"timestamp_ms": 1621445661300,
|
| 3285 |
+
"score": 0.0
|
| 3286 |
+
},
|
| 3287 |
+
{
|
| 3288 |
+
"timestamp_ms": 1621445735897,
|
| 3289 |
+
"score": 0.0
|
| 3290 |
+
},
|
| 3291 |
+
{
|
| 3292 |
+
"timestamp_ms": 1621445832286,
|
| 3293 |
+
"score": 0.0
|
| 3294 |
+
},
|
| 3295 |
+
{
|
| 3296 |
+
"timestamp_ms": 1621445924628,
|
| 3297 |
+
"score": 0.0
|
| 3298 |
+
},
|
| 3299 |
+
{
|
| 3300 |
+
"timestamp_ms": 1621446034624,
|
| 3301 |
+
"score": 0.0
|
| 3302 |
+
},
|
| 3303 |
+
{
|
| 3304 |
+
"timestamp_ms": 1621446142275,
|
| 3305 |
+
"score": 0.0
|
| 3306 |
+
},
|
| 3307 |
+
{
|
| 3308 |
+
"timestamp_ms": 1621446207557,
|
| 3309 |
+
"score": 0.0
|
| 3310 |
+
},
|
| 3311 |
+
{
|
| 3312 |
+
"timestamp_ms": 1621446262281,
|
| 3313 |
+
"score": 0.0
|
| 3314 |
+
},
|
| 3315 |
+
{
|
| 3316 |
+
"timestamp_ms": 1621446354151,
|
| 3317 |
+
"score": 0.0
|
| 3318 |
+
},
|
| 3319 |
+
{
|
| 3320 |
+
"timestamp_ms": 1621446449864,
|
| 3321 |
+
"score": 0.0
|
| 3322 |
+
},
|
| 3323 |
+
{
|
| 3324 |
+
"timestamp_ms": 1621446526970,
|
| 3325 |
+
"score": 0.0
|
| 3326 |
+
},
|
| 3327 |
+
{
|
| 3328 |
+
"timestamp_ms": 1621446625789,
|
| 3329 |
+
"score": 0.0
|
| 3330 |
+
},
|
| 3331 |
+
{
|
| 3332 |
+
"timestamp_ms": 1621446736524,
|
| 3333 |
+
"score": 0.0
|
| 3334 |
+
},
|
| 3335 |
+
{
|
| 3336 |
+
"timestamp_ms": 1621446857728,
|
| 3337 |
+
"score": 0.0
|
| 3338 |
+
},
|
| 3339 |
+
{
|
| 3340 |
+
"timestamp_ms": 1621446965836,
|
| 3341 |
+
"score": 0.0
|
| 3342 |
+
},
|
| 3343 |
+
{
|
| 3344 |
+
"timestamp_ms": 1621447094911,
|
| 3345 |
+
"score": 0.0
|
| 3346 |
+
},
|
| 3347 |
+
{
|
| 3348 |
+
"timestamp_ms": 1621447233323,
|
| 3349 |
+
"score": 0.0
|
| 3350 |
+
},
|
| 3351 |
+
{
|
| 3352 |
+
"timestamp_ms": 1621447347125,
|
| 3353 |
+
"score": 0.0
|
| 3354 |
+
},
|
| 3355 |
+
{
|
| 3356 |
+
"timestamp_ms": 1621447458357,
|
| 3357 |
+
"score": 0.0
|
| 3358 |
+
},
|
| 3359 |
+
{
|
| 3360 |
+
"timestamp_ms": 1621447530370,
|
| 3361 |
+
"score": 0.0
|
| 3362 |
+
},
|
| 3363 |
+
{
|
| 3364 |
+
"timestamp_ms": 1621447573532,
|
| 3365 |
+
"score": 0.0
|
| 3366 |
+
},
|
| 3367 |
+
{
|
| 3368 |
+
"timestamp_ms": 1621447639387,
|
| 3369 |
+
"score": 0.0
|
| 3370 |
+
},
|
| 3371 |
+
{
|
| 3372 |
+
"timestamp_ms": 1621447733021,
|
| 3373 |
+
"score": 0.0
|
| 3374 |
+
},
|
| 3375 |
+
{
|
| 3376 |
+
"timestamp_ms": 1621447802153,
|
| 3377 |
+
"score": 0.0
|
| 3378 |
+
},
|
| 3379 |
+
{
|
| 3380 |
+
"timestamp_ms": 1621447884345,
|
| 3381 |
+
"score": 0.0
|
| 3382 |
+
},
|
| 3383 |
+
{
|
| 3384 |
+
"timestamp_ms": 1621447966450,
|
| 3385 |
+
"score": 0.0
|
| 3386 |
+
},
|
| 3387 |
+
{
|
| 3388 |
+
"timestamp_ms": 1621448065311,
|
| 3389 |
+
"score": 0.0
|
| 3390 |
+
},
|
| 3391 |
+
{
|
| 3392 |
+
"timestamp_ms": 1621448163175,
|
| 3393 |
+
"score": 0.0
|
| 3394 |
+
},
|
| 3395 |
+
{
|
| 3396 |
+
"timestamp_ms": 1621448251702,
|
| 3397 |
+
"score": 0.0
|
| 3398 |
+
},
|
| 3399 |
+
{
|
| 3400 |
+
"timestamp_ms": 1621448302047,
|
| 3401 |
+
"score": 0.0
|
| 3402 |
+
},
|
| 3403 |
+
{
|
| 3404 |
+
"timestamp_ms": 1621448397944,
|
| 3405 |
+
"score": 0.0
|
| 3406 |
+
},
|
| 3407 |
+
{
|
| 3408 |
+
"timestamp_ms": 1621448474460,
|
| 3409 |
+
"score": 0.0
|
| 3410 |
+
},
|
| 3411 |
+
{
|
| 3412 |
+
"timestamp_ms": 1621448548034,
|
| 3413 |
+
"score": 0.0
|
| 3414 |
+
},
|
| 3415 |
+
{
|
| 3416 |
+
"timestamp_ms": 1621448641808,
|
| 3417 |
+
"score": 0.0
|
| 3418 |
+
},
|
| 3419 |
+
{
|
| 3420 |
+
"timestamp_ms": 1621448742876,
|
| 3421 |
+
"score": 0.0
|
| 3422 |
+
},
|
| 3423 |
+
{
|
| 3424 |
+
"timestamp_ms": 1621448854143,
|
| 3425 |
+
"score": 0.0
|
| 3426 |
+
},
|
| 3427 |
+
{
|
| 3428 |
+
"timestamp_ms": 1621448976620,
|
| 3429 |
+
"score": 0.0
|
| 3430 |
+
},
|
| 3431 |
+
{
|
| 3432 |
+
"timestamp_ms": 1621449105872,
|
| 3433 |
+
"score": 0.0
|
| 3434 |
+
},
|
| 3435 |
+
{
|
| 3436 |
+
"timestamp_ms": 1621449244888,
|
| 3437 |
+
"score": 0.0
|
| 3438 |
+
},
|
| 3439 |
+
{
|
| 3440 |
+
"timestamp_ms": 1621449366876,
|
| 3441 |
+
"score": 0.0
|
| 3442 |
+
},
|
| 3443 |
+
{
|
| 3444 |
+
"timestamp_ms": 1621449520104,
|
| 3445 |
+
"score": 0.0
|
| 3446 |
+
},
|
| 3447 |
+
{
|
| 3448 |
+
"timestamp_ms": 1621449634552,
|
| 3449 |
+
"score": 0.0
|
| 3450 |
+
},
|
| 3451 |
+
{
|
| 3452 |
+
"timestamp_ms": 1621449759686,
|
| 3453 |
+
"score": 0.0
|
| 3454 |
+
},
|
| 3455 |
+
{
|
| 3456 |
+
"timestamp_ms": 1621449854107,
|
| 3457 |
+
"score": 0.0
|
| 3458 |
+
},
|
| 3459 |
+
{
|
| 3460 |
+
"timestamp_ms": 1621449911979,
|
| 3461 |
+
"score": 0.0
|
| 3462 |
+
},
|
| 3463 |
+
{
|
| 3464 |
+
"timestamp_ms": 1621450002469,
|
| 3465 |
+
"score": 0.0
|
| 3466 |
+
},
|
| 3467 |
+
{
|
| 3468 |
+
"timestamp_ms": 1621450092712,
|
| 3469 |
+
"score": 0.0
|
| 3470 |
+
},
|
| 3471 |
+
{
|
| 3472 |
+
"timestamp_ms": 1621450232668,
|
| 3473 |
+
"score": 0.0
|
| 3474 |
+
},
|
| 3475 |
+
{
|
| 3476 |
+
"timestamp_ms": 1621450363716,
|
| 3477 |
+
"score": 0.0
|
| 3478 |
+
},
|
| 3479 |
+
{
|
| 3480 |
+
"timestamp_ms": 1621450507804,
|
| 3481 |
+
"score": 0.0
|
| 3482 |
+
},
|
| 3483 |
+
{
|
| 3484 |
+
"timestamp_ms": 1621450679074,
|
| 3485 |
+
"score": 0.0
|
| 3486 |
+
},
|
| 3487 |
+
{
|
| 3488 |
+
"timestamp_ms": 1621450827897,
|
| 3489 |
+
"score": 0.0
|
| 3490 |
+
},
|
| 3491 |
+
{
|
| 3492 |
+
"timestamp_ms": 1621450941709,
|
| 3493 |
+
"score": 0.0
|
| 3494 |
+
},
|
| 3495 |
+
{
|
| 3496 |
+
"timestamp_ms": 1621451027989,
|
| 3497 |
+
"score": 0.0
|
| 3498 |
+
},
|
| 3499 |
+
{
|
| 3500 |
+
"timestamp_ms": 1621451113439,
|
| 3501 |
+
"score": 0.0
|
| 3502 |
+
},
|
| 3503 |
+
{
|
| 3504 |
+
"timestamp_ms": 1621451214195,
|
| 3505 |
+
"score": 0.0
|
| 3506 |
+
},
|
| 3507 |
+
{
|
| 3508 |
+
"timestamp_ms": 1621451313433,
|
| 3509 |
+
"score": 0.0
|
| 3510 |
+
},
|
| 3511 |
+
{
|
| 3512 |
+
"timestamp_ms": 1621451439793,
|
| 3513 |
+
"score": 0.0
|
| 3514 |
+
},
|
| 3515 |
+
{
|
| 3516 |
+
"timestamp_ms": 1621451591017,
|
| 3517 |
+
"score": 0.0
|
| 3518 |
+
},
|
| 3519 |
+
{
|
| 3520 |
+
"timestamp_ms": 1621451725712,
|
| 3521 |
+
"score": 0.0
|
| 3522 |
+
},
|
| 3523 |
+
{
|
| 3524 |
+
"timestamp_ms": 1621451856532,
|
| 3525 |
+
"score": 0.0
|
| 3526 |
+
},
|
| 3527 |
+
{
|
| 3528 |
+
"timestamp_ms": 1621451988874,
|
| 3529 |
+
"score": 0.0
|
| 3530 |
+
},
|
| 3531 |
+
{
|
| 3532 |
+
"timestamp_ms": 1621452130349,
|
| 3533 |
+
"score": 0.0
|
| 3534 |
+
},
|
| 3535 |
+
{
|
| 3536 |
+
"timestamp_ms": 1621452261934,
|
| 3537 |
+
"score": 0.0
|
| 3538 |
+
},
|
| 3539 |
+
{
|
| 3540 |
+
"timestamp_ms": 1621452351453,
|
| 3541 |
+
"score": 0.0
|
| 3542 |
+
},
|
| 3543 |
+
{
|
| 3544 |
+
"timestamp_ms": 1621452472685,
|
| 3545 |
+
"score": 0.0
|
| 3546 |
+
},
|
| 3547 |
+
{
|
| 3548 |
+
"timestamp_ms": 1621452622803,
|
| 3549 |
+
"score": 0.0
|
| 3550 |
+
},
|
| 3551 |
+
{
|
| 3552 |
+
"timestamp_ms": 1621452758762,
|
| 3553 |
+
"score": 0.0
|
| 3554 |
+
},
|
| 3555 |
+
{
|
| 3556 |
+
"timestamp_ms": 1621452896575,
|
| 3557 |
+
"score": 0.0
|
| 3558 |
+
},
|
| 3559 |
+
{
|
| 3560 |
+
"timestamp_ms": 1621453046941,
|
| 3561 |
+
"score": 0.0
|
| 3562 |
+
},
|
| 3563 |
+
{
|
| 3564 |
+
"timestamp_ms": 1621453179108,
|
| 3565 |
+
"score": 0.0
|
| 3566 |
+
},
|
| 3567 |
+
{
|
| 3568 |
+
"timestamp_ms": 1621453293123,
|
| 3569 |
+
"score": 0.0
|
| 3570 |
+
},
|
| 3571 |
+
{
|
| 3572 |
+
"timestamp_ms": 1621453435950,
|
| 3573 |
+
"score": 0.0
|
| 3574 |
+
},
|
| 3575 |
+
{
|
| 3576 |
+
"timestamp_ms": 1621453526682,
|
| 3577 |
+
"score": 0.0
|
| 3578 |
+
},
|
| 3579 |
+
{
|
| 3580 |
+
"timestamp_ms": 1621453633636,
|
| 3581 |
+
"score": 0.0
|
| 3582 |
+
},
|
| 3583 |
+
{
|
| 3584 |
+
"timestamp_ms": 1621453752039,
|
| 3585 |
+
"score": 0.0
|
| 3586 |
+
},
|
| 3587 |
+
{
|
| 3588 |
+
"timestamp_ms": 1621453876144,
|
| 3589 |
+
"score": 0.0
|
| 3590 |
+
},
|
| 3591 |
+
{
|
| 3592 |
+
"timestamp_ms": 1621453990378,
|
| 3593 |
+
"score": 0.0
|
| 3594 |
+
},
|
| 3595 |
+
{
|
| 3596 |
+
"timestamp_ms": 1621454071879,
|
| 3597 |
+
"score": 0.0
|
| 3598 |
+
},
|
| 3599 |
+
{
|
| 3600 |
+
"timestamp_ms": 1621454156143,
|
| 3601 |
+
"score": 0.0
|
| 3602 |
+
},
|
| 3603 |
+
{
|
| 3604 |
+
"timestamp_ms": 1621454297665,
|
| 3605 |
+
"score": 0.0
|
| 3606 |
+
},
|
| 3607 |
+
{
|
| 3608 |
+
"timestamp_ms": 1621454410908,
|
| 3609 |
+
"score": 0.0
|
| 3610 |
+
},
|
| 3611 |
+
{
|
| 3612 |
+
"timestamp_ms": 1621454489029,
|
| 3613 |
+
"score": 0.0
|
| 3614 |
+
},
|
| 3615 |
+
{
|
| 3616 |
+
"timestamp_ms": 1621454576685,
|
| 3617 |
+
"score": 0.0
|
| 3618 |
+
},
|
| 3619 |
+
{
|
| 3620 |
+
"timestamp_ms": 1621454634101,
|
| 3621 |
+
"score": 0.0
|
| 3622 |
+
},
|
| 3623 |
+
{
|
| 3624 |
+
"timestamp_ms": 1621454717605,
|
| 3625 |
+
"score": 0.0
|
| 3626 |
+
},
|
| 3627 |
+
{
|
| 3628 |
+
"timestamp_ms": 1621454789803,
|
| 3629 |
+
"score": 0.0
|
| 3630 |
+
},
|
| 3631 |
+
{
|
| 3632 |
+
"timestamp_ms": 1621454901197,
|
| 3633 |
+
"score": 0.0
|
| 3634 |
+
},
|
| 3635 |
+
{
|
| 3636 |
+
"timestamp_ms": 1621454991808,
|
| 3637 |
+
"score": 0.0
|
| 3638 |
+
},
|
| 3639 |
+
{
|
| 3640 |
+
"timestamp_ms": 1621455096252,
|
| 3641 |
+
"score": 0.0
|
| 3642 |
+
},
|
| 3643 |
+
{
|
| 3644 |
+
"timestamp_ms": 1621455214677,
|
| 3645 |
+
"score": 0.0
|
| 3646 |
+
},
|
| 3647 |
+
{
|
| 3648 |
+
"timestamp_ms": 1621455342662,
|
| 3649 |
+
"score": 0.0
|
| 3650 |
+
},
|
| 3651 |
+
{
|
| 3652 |
+
"timestamp_ms": 1621455471800,
|
| 3653 |
+
"score": 0.0
|
| 3654 |
+
},
|
| 3655 |
+
{
|
| 3656 |
+
"timestamp_ms": 1621455584837,
|
| 3657 |
+
"score": 0.0
|
| 3658 |
+
},
|
| 3659 |
+
{
|
| 3660 |
+
"timestamp_ms": 1621455725070,
|
| 3661 |
+
"score": 0.0
|
| 3662 |
+
},
|
| 3663 |
+
{
|
| 3664 |
+
"timestamp_ms": 1621455844775,
|
| 3665 |
+
"score": 0.0
|
| 3666 |
+
},
|
| 3667 |
+
{
|
| 3668 |
+
"timestamp_ms": 1621456005588,
|
| 3669 |
+
"score": 0.0
|
| 3670 |
+
},
|
| 3671 |
+
{
|
| 3672 |
+
"timestamp_ms": 1621456157125,
|
| 3673 |
+
"score": 0.0
|
| 3674 |
+
},
|
| 3675 |
+
{
|
| 3676 |
+
"timestamp_ms": 1621456294042,
|
| 3677 |
+
"score": 0.0
|
| 3678 |
+
},
|
| 3679 |
+
{
|
| 3680 |
+
"timestamp_ms": 1621456441411,
|
| 3681 |
+
"score": 0.0
|
| 3682 |
+
},
|
| 3683 |
+
{
|
| 3684 |
+
"timestamp_ms": 1621456577168,
|
| 3685 |
+
"score": 0.0
|
| 3686 |
+
},
|
| 3687 |
+
{
|
| 3688 |
+
"timestamp_ms": 1621456653780,
|
| 3689 |
+
"score": 0.0
|
| 3690 |
+
},
|
| 3691 |
+
{
|
| 3692 |
+
"timestamp_ms": 1621456783056,
|
| 3693 |
+
"score": 0.0
|
| 3694 |
+
},
|
| 3695 |
+
{
|
| 3696 |
+
"timestamp_ms": 1621456894418,
|
| 3697 |
+
"score": 0.0
|
| 3698 |
+
},
|
| 3699 |
+
{
|
| 3700 |
+
"timestamp_ms": 1621457060018,
|
| 3701 |
+
"score": 0.0
|
| 3702 |
+
},
|
| 3703 |
+
{
|
| 3704 |
+
"timestamp_ms": 1621457190503,
|
| 3705 |
+
"score": 0.0
|
| 3706 |
+
},
|
| 3707 |
+
{
|
| 3708 |
+
"timestamp_ms": 1621457360578,
|
| 3709 |
+
"score": 0.0
|
| 3710 |
+
},
|
| 3711 |
+
{
|
| 3712 |
+
"timestamp_ms": 1621457511876,
|
| 3713 |
+
"score": 0.0
|
| 3714 |
+
},
|
| 3715 |
+
{
|
| 3716 |
+
"timestamp_ms": 1621457606848,
|
| 3717 |
+
"score": 0.0
|
| 3718 |
+
},
|
| 3719 |
+
{
|
| 3720 |
+
"timestamp_ms": 1621457664904,
|
| 3721 |
+
"score": 0.0
|
| 3722 |
+
},
|
| 3723 |
+
{
|
| 3724 |
+
"timestamp_ms": 1621457759325,
|
| 3725 |
+
"score": 0.0
|
| 3726 |
+
},
|
| 3727 |
+
{
|
| 3728 |
+
"timestamp_ms": 1621457899571,
|
| 3729 |
+
"score": 0.0
|
| 3730 |
+
},
|
| 3731 |
+
{
|
| 3732 |
+
"timestamp_ms": 1621458052614,
|
| 3733 |
+
"score": 0.0
|
| 3734 |
+
},
|
| 3735 |
+
{
|
| 3736 |
+
"timestamp_ms": 1621458199105,
|
| 3737 |
+
"score": 0.0
|
| 3738 |
+
},
|
| 3739 |
+
{
|
| 3740 |
+
"timestamp_ms": 1621458331443,
|
| 3741 |
+
"score": 0.0
|
| 3742 |
+
},
|
| 3743 |
+
{
|
| 3744 |
+
"timestamp_ms": 1621458499750,
|
| 3745 |
+
"score": 0.0
|
| 3746 |
+
},
|
| 3747 |
+
{
|
| 3748 |
+
"timestamp_ms": 1621458612401,
|
| 3749 |
+
"score": 0.0
|
| 3750 |
+
},
|
| 3751 |
+
{
|
| 3752 |
+
"timestamp_ms": 1621458721459,
|
| 3753 |
+
"score": 0.0
|
| 3754 |
+
},
|
| 3755 |
+
{
|
| 3756 |
+
"timestamp_ms": 1621458815912,
|
| 3757 |
+
"score": 0.0
|
| 3758 |
+
},
|
| 3759 |
+
{
|
| 3760 |
+
"timestamp_ms": 1621458910489,
|
| 3761 |
+
"score": 0.0
|
| 3762 |
+
},
|
| 3763 |
+
{
|
| 3764 |
+
"timestamp_ms": 1621458937365,
|
| 3765 |
+
"score": 0.0
|
| 3766 |
+
},
|
| 3767 |
+
{
|
| 3768 |
+
"timestamp_ms": 1621458990866,
|
| 3769 |
+
"score": 0.0
|
| 3770 |
+
},
|
| 3771 |
+
{
|
| 3772 |
+
"timestamp_ms": 1621459051813,
|
| 3773 |
+
"score": 0.0
|
| 3774 |
+
},
|
| 3775 |
+
{
|
| 3776 |
+
"timestamp_ms": 1621459121426,
|
| 3777 |
+
"score": 0.0
|
| 3778 |
+
},
|
| 3779 |
+
{
|
| 3780 |
+
"timestamp_ms": 1621459201222,
|
| 3781 |
+
"score": 0.0
|
| 3782 |
+
},
|
| 3783 |
+
{
|
| 3784 |
+
"timestamp_ms": 1621459285250,
|
| 3785 |
+
"score": 0.0
|
| 3786 |
+
},
|
| 3787 |
+
{
|
| 3788 |
+
"timestamp_ms": 1621459380052,
|
| 3789 |
+
"score": 0.0
|
| 3790 |
+
},
|
| 3791 |
+
{
|
| 3792 |
+
"timestamp_ms": 1621459466259,
|
| 3793 |
+
"score": 0.0
|
| 3794 |
+
},
|
| 3795 |
+
{
|
| 3796 |
+
"timestamp_ms": 1621459569578,
|
| 3797 |
+
"score": 0.0
|
| 3798 |
+
},
|
| 3799 |
+
{
|
| 3800 |
+
"timestamp_ms": 1621459715344,
|
| 3801 |
+
"score": 0.0
|
| 3802 |
+
},
|
| 3803 |
+
{
|
| 3804 |
+
"timestamp_ms": 1621459884193,
|
| 3805 |
+
"score": 0.0
|
| 3806 |
+
},
|
| 3807 |
+
{
|
| 3808 |
+
"timestamp_ms": 1621460044876,
|
| 3809 |
+
"score": 0.0
|
| 3810 |
+
},
|
| 3811 |
+
{
|
| 3812 |
+
"timestamp_ms": 1621460191129,
|
| 3813 |
+
"score": 0.0
|
| 3814 |
+
},
|
| 3815 |
+
{
|
| 3816 |
+
"timestamp_ms": 1621460382838,
|
| 3817 |
+
"score": 0.0
|
| 3818 |
+
},
|
| 3819 |
+
{
|
| 3820 |
+
"timestamp_ms": 1621460518962,
|
| 3821 |
+
"score": 0.0
|
| 3822 |
+
},
|
| 3823 |
+
{
|
| 3824 |
+
"timestamp_ms": 1621460654747,
|
| 3825 |
+
"score": 0.0
|
| 3826 |
+
},
|
| 3827 |
+
{
|
| 3828 |
+
"timestamp_ms": 1621460763511,
|
| 3829 |
+
"score": 0.0
|
| 3830 |
+
},
|
| 3831 |
+
{
|
| 3832 |
+
"timestamp_ms": 1621460939779,
|
| 3833 |
+
"score": 0.0
|
| 3834 |
+
},
|
| 3835 |
+
{
|
| 3836 |
+
"timestamp_ms": 1621461136872,
|
| 3837 |
+
"score": 0.0
|
| 3838 |
+
},
|
| 3839 |
+
{
|
| 3840 |
+
"timestamp_ms": 1621461385282,
|
| 3841 |
+
"score": 0.0
|
| 3842 |
+
},
|
| 3843 |
+
{
|
| 3844 |
+
"timestamp_ms": 1621461621124,
|
| 3845 |
+
"score": 0.0
|
| 3846 |
+
},
|
| 3847 |
+
{
|
| 3848 |
+
"timestamp_ms": 1621461739890,
|
| 3849 |
+
"score": 0.0
|
| 3850 |
+
},
|
| 3851 |
+
{
|
| 3852 |
+
"timestamp_ms": 1621461875643,
|
| 3853 |
+
"score": 0.0
|
| 3854 |
+
},
|
| 3855 |
+
{
|
| 3856 |
+
"timestamp_ms": 1621461981061,
|
| 3857 |
+
"score": 0.0
|
| 3858 |
+
},
|
| 3859 |
+
{
|
| 3860 |
+
"timestamp_ms": 1621462055199,
|
| 3861 |
+
"score": 0.0
|
| 3862 |
+
},
|
| 3863 |
+
{
|
| 3864 |
+
"timestamp_ms": 1621462197986,
|
| 3865 |
+
"score": 0.0
|
| 3866 |
+
},
|
| 3867 |
+
{
|
| 3868 |
+
"timestamp_ms": 1621462300941,
|
| 3869 |
+
"score": 0.0
|
| 3870 |
+
},
|
| 3871 |
+
{
|
| 3872 |
+
"timestamp_ms": 1621462421583,
|
| 3873 |
+
"score": 0.0
|
| 3874 |
+
},
|
| 3875 |
+
{
|
| 3876 |
+
"timestamp_ms": 1621462601362,
|
| 3877 |
+
"score": 0.0
|
| 3878 |
+
},
|
| 3879 |
+
{
|
| 3880 |
+
"timestamp_ms": 1621462691328,
|
| 3881 |
+
"score": 0.0
|
| 3882 |
+
},
|
| 3883 |
+
{
|
| 3884 |
+
"timestamp_ms": 1621462829969,
|
| 3885 |
+
"score": 0.0
|
| 3886 |
+
},
|
| 3887 |
+
{
|
| 3888 |
+
"timestamp_ms": 1621463008263,
|
| 3889 |
+
"score": 0.0
|
| 3890 |
+
},
|
| 3891 |
+
{
|
| 3892 |
+
"timestamp_ms": 1621463213294,
|
| 3893 |
+
"score": 0.0
|
| 3894 |
+
},
|
| 3895 |
+
{
|
| 3896 |
+
"timestamp_ms": 1621463415376,
|
| 3897 |
+
"score": 0.0
|
| 3898 |
+
},
|
| 3899 |
+
{
|
| 3900 |
+
"timestamp_ms": 1621463586495,
|
| 3901 |
+
"score": 0.0
|
| 3902 |
+
},
|
| 3903 |
+
{
|
| 3904 |
+
"timestamp_ms": 1621463756465,
|
| 3905 |
+
"score": 0.0
|
| 3906 |
+
},
|
| 3907 |
+
{
|
| 3908 |
+
"timestamp_ms": 1621463887324,
|
| 3909 |
+
"score": 0.0
|
| 3910 |
+
},
|
| 3911 |
+
{
|
| 3912 |
+
"timestamp_ms": 1621464045923,
|
| 3913 |
+
"score": 0.0
|
| 3914 |
+
},
|
| 3915 |
+
{
|
| 3916 |
+
"timestamp_ms": 1621464276526,
|
| 3917 |
+
"score": 0.0
|
| 3918 |
+
},
|
| 3919 |
+
{
|
| 3920 |
+
"timestamp_ms": 1621464436926,
|
| 3921 |
+
"score": 0.0
|
| 3922 |
+
},
|
| 3923 |
+
{
|
| 3924 |
+
"timestamp_ms": 1621464658066,
|
| 3925 |
+
"score": 0.0
|
| 3926 |
+
},
|
| 3927 |
+
{
|
| 3928 |
+
"timestamp_ms": 1621464867942,
|
| 3929 |
+
"score": 0.0
|
| 3930 |
+
},
|
| 3931 |
+
{
|
| 3932 |
+
"timestamp_ms": 1621465047247,
|
| 3933 |
+
"score": 0.0
|
| 3934 |
+
},
|
| 3935 |
+
{
|
| 3936 |
+
"timestamp_ms": 1621465274124,
|
| 3937 |
+
"score": 0.0
|
| 3938 |
+
},
|
| 3939 |
+
{
|
| 3940 |
+
"timestamp_ms": 1621465444745,
|
| 3941 |
+
"score": 0.0
|
| 3942 |
+
},
|
| 3943 |
+
{
|
| 3944 |
+
"timestamp_ms": 1621465511294,
|
| 3945 |
+
"score": 0.0
|
| 3946 |
+
},
|
| 3947 |
+
{
|
| 3948 |
+
"timestamp_ms": 1621465631748,
|
| 3949 |
+
"score": 0.0
|
| 3950 |
+
},
|
| 3951 |
+
{
|
| 3952 |
+
"timestamp_ms": 1621465724624,
|
| 3953 |
+
"score": 0.0
|
| 3954 |
+
},
|
| 3955 |
+
{
|
| 3956 |
+
"timestamp_ms": 1621465738859,
|
| 3957 |
+
"score": 0.0
|
| 3958 |
+
},
|
| 3959 |
+
{
|
| 3960 |
+
"timestamp_ms": 1621465805694,
|
| 3961 |
+
"score": 0.0
|
| 3962 |
+
},
|
| 3963 |
+
{
|
| 3964 |
+
"timestamp_ms": 1621465868921,
|
| 3965 |
+
"score": 0.0
|
| 3966 |
+
},
|
| 3967 |
+
{
|
| 3968 |
+
"timestamp_ms": 1621465922894,
|
| 3969 |
+
"score": 0.0
|
| 3970 |
+
},
|
| 3971 |
+
{
|
| 3972 |
+
"timestamp_ms": 1621466020932,
|
| 3973 |
+
"score": 0.0
|
| 3974 |
+
},
|
| 3975 |
+
{
|
| 3976 |
+
"timestamp_ms": 1621466115683,
|
| 3977 |
+
"score": 0.0
|
| 3978 |
+
},
|
| 3979 |
+
{
|
| 3980 |
+
"timestamp_ms": 1621466198166,
|
| 3981 |
+
"score": 0.0
|
| 3982 |
+
},
|
| 3983 |
+
{
|
| 3984 |
+
"timestamp_ms": 1621466296639,
|
| 3985 |
+
"score": 0.0
|
| 3986 |
+
},
|
| 3987 |
+
{
|
| 3988 |
+
"timestamp_ms": 1621466447136,
|
| 3989 |
+
"score": 0.0
|
| 3990 |
+
},
|
| 3991 |
+
{
|
| 3992 |
+
"timestamp_ms": 1621466602784,
|
| 3993 |
+
"score": 0.0
|
| 3994 |
+
},
|
| 3995 |
+
{
|
| 3996 |
+
"timestamp_ms": 1621466768475,
|
| 3997 |
+
"score": 0.0
|
| 3998 |
+
},
|
| 3999 |
+
{
|
| 4000 |
+
"timestamp_ms": 1621466946902,
|
| 4001 |
+
"score": 0.0
|
| 4002 |
+
},
|
| 4003 |
+
{
|
| 4004 |
+
"timestamp_ms": 1621467073657,
|
| 4005 |
+
"score": 0.0
|
| 4006 |
+
},
|
| 4007 |
+
{
|
| 4008 |
+
"timestamp_ms": 1621467260811,
|
| 4009 |
+
"score": 0.0
|
| 4010 |
+
},
|
| 4011 |
+
{
|
| 4012 |
+
"timestamp_ms": 1621467460958,
|
| 4013 |
+
"score": 0.0
|
| 4014 |
+
},
|
| 4015 |
+
{
|
| 4016 |
+
"timestamp_ms": 1621467649703,
|
| 4017 |
+
"score": 0.0
|
| 4018 |
+
},
|
| 4019 |
+
{
|
| 4020 |
+
"timestamp_ms": 1621467812635,
|
| 4021 |
+
"score": 0.0
|
| 4022 |
+
},
|
| 4023 |
+
{
|
| 4024 |
+
"timestamp_ms": 1621467901433,
|
| 4025 |
+
"score": 0.0
|
| 4026 |
+
},
|
| 4027 |
+
{
|
| 4028 |
+
"timestamp_ms": 1621467952675,
|
| 4029 |
+
"score": 0.0
|
| 4030 |
+
},
|
| 4031 |
+
{
|
| 4032 |
+
"timestamp_ms": 1621468011178,
|
| 4033 |
+
"score": 0.0
|
| 4034 |
+
},
|
| 4035 |
+
{
|
| 4036 |
+
"timestamp_ms": 1621468080914,
|
| 4037 |
+
"score": 0.0
|
| 4038 |
+
},
|
| 4039 |
+
{
|
| 4040 |
+
"timestamp_ms": 1621468203122,
|
| 4041 |
+
"score": 0.0
|
| 4042 |
+
},
|
| 4043 |
+
{
|
| 4044 |
+
"timestamp_ms": 1621468324410,
|
| 4045 |
+
"score": 0.0
|
| 4046 |
+
},
|
| 4047 |
+
{
|
| 4048 |
+
"timestamp_ms": 1621468386059,
|
| 4049 |
+
"score": 0.0
|
| 4050 |
+
},
|
| 4051 |
+
{
|
| 4052 |
+
"timestamp_ms": 1621468493019,
|
| 4053 |
+
"score": 0.0
|
| 4054 |
+
},
|
| 4055 |
+
{
|
| 4056 |
+
"timestamp_ms": 1621468598319,
|
| 4057 |
+
"score": 0.0
|
| 4058 |
+
},
|
| 4059 |
+
{
|
| 4060 |
+
"timestamp_ms": 1621468743265,
|
| 4061 |
+
"score": 0.0
|
| 4062 |
+
}
|
| 4063 |
+
]
|
| 4064 |
+
},
|
| 4065 |
+
"baseline": {
|
| 4066 |
+
"true_positives": 243,
|
| 4067 |
+
"false_positives": 0,
|
| 4068 |
+
"false_negatives": 0,
|
| 4069 |
+
"precision": 1.0,
|
| 4070 |
+
"recall": 1.0,
|
| 4071 |
+
"f1": 1.0,
|
| 4072 |
+
"ttd_ms": [
|
| 4073 |
+
0,
|
| 4074 |
+
0,
|
| 4075 |
+
0,
|
| 4076 |
+
0,
|
| 4077 |
+
0,
|
| 4078 |
+
0,
|
| 4079 |
+
0,
|
| 4080 |
+
0,
|
| 4081 |
+
0,
|
| 4082 |
+
0,
|
| 4083 |
+
0,
|
| 4084 |
+
0,
|
| 4085 |
+
0,
|
| 4086 |
+
0,
|
| 4087 |
+
0,
|
| 4088 |
+
0,
|
| 4089 |
+
0,
|
| 4090 |
+
0,
|
| 4091 |
+
0,
|
| 4092 |
+
0,
|
| 4093 |
+
0,
|
| 4094 |
+
0,
|
| 4095 |
+
0,
|
| 4096 |
+
0,
|
| 4097 |
+
0,
|
| 4098 |
+
0,
|
| 4099 |
+
0,
|
| 4100 |
+
0,
|
| 4101 |
+
0,
|
| 4102 |
+
0,
|
| 4103 |
+
0,
|
| 4104 |
+
0,
|
| 4105 |
+
0,
|
| 4106 |
+
0,
|
| 4107 |
+
0,
|
| 4108 |
+
0,
|
| 4109 |
+
0,
|
| 4110 |
+
0,
|
| 4111 |
+
0,
|
| 4112 |
+
0,
|
| 4113 |
+
0,
|
| 4114 |
+
0,
|
| 4115 |
+
0,
|
| 4116 |
+
0,
|
| 4117 |
+
0,
|
| 4118 |
+
0,
|
| 4119 |
+
0,
|
| 4120 |
+
0,
|
| 4121 |
+
0,
|
| 4122 |
+
0,
|
| 4123 |
+
0,
|
| 4124 |
+
0,
|
| 4125 |
+
0,
|
| 4126 |
+
0,
|
| 4127 |
+
0,
|
| 4128 |
+
0,
|
| 4129 |
+
0,
|
| 4130 |
+
0,
|
| 4131 |
+
0,
|
| 4132 |
+
0,
|
| 4133 |
+
0,
|
| 4134 |
+
0,
|
| 4135 |
+
0,
|
| 4136 |
+
0,
|
| 4137 |
+
0,
|
| 4138 |
+
0,
|
| 4139 |
+
0,
|
| 4140 |
+
0,
|
| 4141 |
+
0,
|
| 4142 |
+
0,
|
| 4143 |
+
0,
|
| 4144 |
+
0,
|
| 4145 |
+
0,
|
| 4146 |
+
0,
|
| 4147 |
+
0,
|
| 4148 |
+
0,
|
| 4149 |
+
0,
|
| 4150 |
+
0,
|
| 4151 |
+
0,
|
| 4152 |
+
0,
|
| 4153 |
+
0,
|
| 4154 |
+
0,
|
| 4155 |
+
0,
|
| 4156 |
+
0,
|
| 4157 |
+
0,
|
| 4158 |
+
0,
|
| 4159 |
+
0,
|
| 4160 |
+
0,
|
| 4161 |
+
0,
|
| 4162 |
+
0,
|
| 4163 |
+
0,
|
| 4164 |
+
0,
|
| 4165 |
+
0,
|
| 4166 |
+
0,
|
| 4167 |
+
0,
|
| 4168 |
+
0,
|
| 4169 |
+
0,
|
| 4170 |
+
0,
|
| 4171 |
+
0,
|
| 4172 |
+
0,
|
| 4173 |
+
0,
|
| 4174 |
+
0,
|
| 4175 |
+
0,
|
| 4176 |
+
0,
|
| 4177 |
+
0,
|
| 4178 |
+
0,
|
| 4179 |
+
0,
|
| 4180 |
+
0,
|
| 4181 |
+
0,
|
| 4182 |
+
0,
|
| 4183 |
+
0,
|
| 4184 |
+
0,
|
| 4185 |
+
0,
|
| 4186 |
+
0,
|
| 4187 |
+
0,
|
| 4188 |
+
0,
|
| 4189 |
+
0,
|
| 4190 |
+
0,
|
| 4191 |
+
0,
|
| 4192 |
+
0,
|
| 4193 |
+
0,
|
| 4194 |
+
0,
|
| 4195 |
+
0,
|
| 4196 |
+
0,
|
| 4197 |
+
0,
|
| 4198 |
+
0,
|
| 4199 |
+
0,
|
| 4200 |
+
0,
|
| 4201 |
+
0,
|
| 4202 |
+
0,
|
| 4203 |
+
0,
|
| 4204 |
+
0,
|
| 4205 |
+
0,
|
| 4206 |
+
0,
|
| 4207 |
+
0,
|
| 4208 |
+
0,
|
| 4209 |
+
0,
|
| 4210 |
+
0,
|
| 4211 |
+
0,
|
| 4212 |
+
0,
|
| 4213 |
+
0,
|
| 4214 |
+
0,
|
| 4215 |
+
0,
|
| 4216 |
+
0,
|
| 4217 |
+
0,
|
| 4218 |
+
0,
|
| 4219 |
+
0,
|
| 4220 |
+
0,
|
| 4221 |
+
0,
|
| 4222 |
+
0,
|
| 4223 |
+
0,
|
| 4224 |
+
0,
|
| 4225 |
+
0,
|
| 4226 |
+
0,
|
| 4227 |
+
0,
|
| 4228 |
+
0,
|
| 4229 |
+
0,
|
| 4230 |
+
0,
|
| 4231 |
+
0,
|
| 4232 |
+
0,
|
| 4233 |
+
0,
|
| 4234 |
+
0,
|
| 4235 |
+
0,
|
| 4236 |
+
0,
|
| 4237 |
+
0,
|
| 4238 |
+
0,
|
| 4239 |
+
0,
|
| 4240 |
+
0,
|
| 4241 |
+
0,
|
| 4242 |
+
0,
|
| 4243 |
+
0,
|
| 4244 |
+
0,
|
| 4245 |
+
0,
|
| 4246 |
+
0,
|
| 4247 |
+
0,
|
| 4248 |
+
0,
|
| 4249 |
+
0,
|
| 4250 |
+
0,
|
| 4251 |
+
0,
|
| 4252 |
+
0,
|
| 4253 |
+
0,
|
| 4254 |
+
0,
|
| 4255 |
+
0,
|
| 4256 |
+
0,
|
| 4257 |
+
0,
|
| 4258 |
+
0,
|
| 4259 |
+
0,
|
| 4260 |
+
0,
|
| 4261 |
+
0,
|
| 4262 |
+
0,
|
| 4263 |
+
0,
|
| 4264 |
+
0,
|
| 4265 |
+
0,
|
| 4266 |
+
0,
|
| 4267 |
+
0,
|
| 4268 |
+
0,
|
| 4269 |
+
0,
|
| 4270 |
+
0,
|
| 4271 |
+
0,
|
| 4272 |
+
0,
|
| 4273 |
+
0,
|
| 4274 |
+
0,
|
| 4275 |
+
0,
|
| 4276 |
+
0,
|
| 4277 |
+
0,
|
| 4278 |
+
0,
|
| 4279 |
+
0,
|
| 4280 |
+
0,
|
| 4281 |
+
0,
|
| 4282 |
+
0,
|
| 4283 |
+
0,
|
| 4284 |
+
0,
|
| 4285 |
+
0,
|
| 4286 |
+
0,
|
| 4287 |
+
0,
|
| 4288 |
+
0,
|
| 4289 |
+
0,
|
| 4290 |
+
0,
|
| 4291 |
+
0,
|
| 4292 |
+
0,
|
| 4293 |
+
0,
|
| 4294 |
+
0,
|
| 4295 |
+
0,
|
| 4296 |
+
0,
|
| 4297 |
+
0,
|
| 4298 |
+
0,
|
| 4299 |
+
0,
|
| 4300 |
+
0,
|
| 4301 |
+
0,
|
| 4302 |
+
0,
|
| 4303 |
+
0,
|
| 4304 |
+
0,
|
| 4305 |
+
0,
|
| 4306 |
+
0,
|
| 4307 |
+
0,
|
| 4308 |
+
0,
|
| 4309 |
+
0,
|
| 4310 |
+
0,
|
| 4311 |
+
0,
|
| 4312 |
+
0,
|
| 4313 |
+
0,
|
| 4314 |
+
0,
|
| 4315 |
+
0
|
| 4316 |
+
],
|
| 4317 |
+
"median_ttd_ms": 0.0,
|
| 4318 |
+
"mean_ttd_ms": 0.0,
|
| 4319 |
+
"n_ticks": 500000,
|
| 4320 |
+
"n_crashes": 243,
|
| 4321 |
+
"n_alerts": 243
|
| 4322 |
+
}
|
| 4323 |
+
}
|
results/window_backtest_luna.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
results/window_backtest_t02.json
ADDED
|
@@ -0,0 +1,4323 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tcn": {
|
| 3 |
+
"true_positives": 38,
|
| 4 |
+
"false_positives": 33,
|
| 5 |
+
"false_negatives": 205,
|
| 6 |
+
"precision": 0.5352112676056338,
|
| 7 |
+
"recall": 0.15637860082304528,
|
| 8 |
+
"f1": 0.24203821656050956,
|
| 9 |
+
"ttd_ms": [
|
| 10 |
+
2081,
|
| 11 |
+
175,
|
| 12 |
+
29,
|
| 13 |
+
34146,
|
| 14 |
+
1106,
|
| 15 |
+
923,
|
| 16 |
+
1010,
|
| 17 |
+
1210,
|
| 18 |
+
1489,
|
| 19 |
+
1946,
|
| 20 |
+
1961,
|
| 21 |
+
1940,
|
| 22 |
+
1887,
|
| 23 |
+
1982,
|
| 24 |
+
2068,
|
| 25 |
+
2627,
|
| 26 |
+
2688,
|
| 27 |
+
2741,
|
| 28 |
+
2755,
|
| 29 |
+
2763,
|
| 30 |
+
2801,
|
| 31 |
+
3086,
|
| 32 |
+
3582,
|
| 33 |
+
171,
|
| 34 |
+
2123,
|
| 35 |
+
1818,
|
| 36 |
+
1411,
|
| 37 |
+
2323,
|
| 38 |
+
4898,
|
| 39 |
+
54,
|
| 40 |
+
3118,
|
| 41 |
+
0,
|
| 42 |
+
1404,
|
| 43 |
+
3176,
|
| 44 |
+
4451,
|
| 45 |
+
4587,
|
| 46 |
+
2301,
|
| 47 |
+
6636
|
| 48 |
+
],
|
| 49 |
+
"median_ttd_ms": 2074.5,
|
| 50 |
+
"mean_ttd_ms": 3038.6052631578946,
|
| 51 |
+
"n_ticks": 500000,
|
| 52 |
+
"n_crashes": 243,
|
| 53 |
+
"n_alerts": 71,
|
| 54 |
+
"tcn_scores_sample": [
|
| 55 |
+
{
|
| 56 |
+
"timestamp_ms": 1621382459859,
|
| 57 |
+
"score": 0.0
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"timestamp_ms": 1621382563317,
|
| 61 |
+
"score": 0.0
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"timestamp_ms": 1621382756412,
|
| 65 |
+
"score": 0.0
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"timestamp_ms": 1621382832336,
|
| 69 |
+
"score": 0.0
|
| 70 |
+
},
|
| 71 |
+
{
|
| 72 |
+
"timestamp_ms": 1621382918672,
|
| 73 |
+
"score": 0.0
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"timestamp_ms": 1621383083538,
|
| 77 |
+
"score": 0.0
|
| 78 |
+
},
|
| 79 |
+
{
|
| 80 |
+
"timestamp_ms": 1621383231584,
|
| 81 |
+
"score": 0.0
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"timestamp_ms": 1621383436746,
|
| 85 |
+
"score": 0.0
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"timestamp_ms": 1621383675902,
|
| 89 |
+
"score": 0.0
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"timestamp_ms": 1621383979326,
|
| 93 |
+
"score": 0.0
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"timestamp_ms": 1621384315808,
|
| 97 |
+
"score": 0.0
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"timestamp_ms": 1621384456189,
|
| 101 |
+
"score": 0.0
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"timestamp_ms": 1621384620679,
|
| 105 |
+
"score": 0.0
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"timestamp_ms": 1621384889128,
|
| 109 |
+
"score": 0.0
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"timestamp_ms": 1621385224913,
|
| 113 |
+
"score": 0.0
|
| 114 |
+
},
|
| 115 |
+
{
|
| 116 |
+
"timestamp_ms": 1621385479326,
|
| 117 |
+
"score": 0.0
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"timestamp_ms": 1621385744697,
|
| 121 |
+
"score": 0.0
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"timestamp_ms": 1621385982379,
|
| 125 |
+
"score": 0.0
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"timestamp_ms": 1621386206319,
|
| 129 |
+
"score": 0.0
|
| 130 |
+
},
|
| 131 |
+
{
|
| 132 |
+
"timestamp_ms": 1621386451685,
|
| 133 |
+
"score": 0.0
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"timestamp_ms": 1621386641807,
|
| 137 |
+
"score": 0.0
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"timestamp_ms": 1621386793199,
|
| 141 |
+
"score": 0.0
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"timestamp_ms": 1621386899479,
|
| 145 |
+
"score": 0.0
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"timestamp_ms": 1621387029600,
|
| 149 |
+
"score": 0.0
|
| 150 |
+
},
|
| 151 |
+
{
|
| 152 |
+
"timestamp_ms": 1621387041743,
|
| 153 |
+
"score": 0.0
|
| 154 |
+
},
|
| 155 |
+
{
|
| 156 |
+
"timestamp_ms": 1621387043002,
|
| 157 |
+
"score": 0.0
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"timestamp_ms": 1621387047120,
|
| 161 |
+
"score": 0.0
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"timestamp_ms": 1621387058532,
|
| 165 |
+
"score": 0.0
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"timestamp_ms": 1621387091935,
|
| 169 |
+
"score": 0.0
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"timestamp_ms": 1621387146713,
|
| 173 |
+
"score": 0.0
|
| 174 |
+
},
|
| 175 |
+
{
|
| 176 |
+
"timestamp_ms": 1621387193026,
|
| 177 |
+
"score": 0.0
|
| 178 |
+
},
|
| 179 |
+
{
|
| 180 |
+
"timestamp_ms": 1621387272880,
|
| 181 |
+
"score": 0.0
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"timestamp_ms": 1621387318343,
|
| 185 |
+
"score": 0.0
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"timestamp_ms": 1621387365275,
|
| 189 |
+
"score": 0.0
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"timestamp_ms": 1621387459621,
|
| 193 |
+
"score": 0.0
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"timestamp_ms": 1621387588071,
|
| 197 |
+
"score": 0.0
|
| 198 |
+
},
|
| 199 |
+
{
|
| 200 |
+
"timestamp_ms": 1621387752264,
|
| 201 |
+
"score": 0.0
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"timestamp_ms": 1621387884320,
|
| 205 |
+
"score": 0.0
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"timestamp_ms": 1621388045479,
|
| 209 |
+
"score": 0.0
|
| 210 |
+
},
|
| 211 |
+
{
|
| 212 |
+
"timestamp_ms": 1621388169735,
|
| 213 |
+
"score": 0.0
|
| 214 |
+
},
|
| 215 |
+
{
|
| 216 |
+
"timestamp_ms": 1621388224176,
|
| 217 |
+
"score": 0.0
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"timestamp_ms": 1621388284051,
|
| 221 |
+
"score": 0.0
|
| 222 |
+
},
|
| 223 |
+
{
|
| 224 |
+
"timestamp_ms": 1621388357790,
|
| 225 |
+
"score": 0.0
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"timestamp_ms": 1621388480316,
|
| 229 |
+
"score": 0.0
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"timestamp_ms": 1621388646824,
|
| 233 |
+
"score": 0.0
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"timestamp_ms": 1621388796286,
|
| 237 |
+
"score": 0.0
|
| 238 |
+
},
|
| 239 |
+
{
|
| 240 |
+
"timestamp_ms": 1621388816676,
|
| 241 |
+
"score": 0.0
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"timestamp_ms": 1621388853183,
|
| 245 |
+
"score": 0.0
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"timestamp_ms": 1621388895365,
|
| 249 |
+
"score": 0.0
|
| 250 |
+
},
|
| 251 |
+
{
|
| 252 |
+
"timestamp_ms": 1621388931199,
|
| 253 |
+
"score": 0.0
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"timestamp_ms": 1621388985612,
|
| 257 |
+
"score": 0.0
|
| 258 |
+
},
|
| 259 |
+
{
|
| 260 |
+
"timestamp_ms": 1621389070443,
|
| 261 |
+
"score": 0.0
|
| 262 |
+
},
|
| 263 |
+
{
|
| 264 |
+
"timestamp_ms": 1621389154347,
|
| 265 |
+
"score": 0.0
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"timestamp_ms": 1621389238190,
|
| 269 |
+
"score": 0.0
|
| 270 |
+
},
|
| 271 |
+
{
|
| 272 |
+
"timestamp_ms": 1621389366373,
|
| 273 |
+
"score": 0.0
|
| 274 |
+
},
|
| 275 |
+
{
|
| 276 |
+
"timestamp_ms": 1621389492572,
|
| 277 |
+
"score": 0.0
|
| 278 |
+
},
|
| 279 |
+
{
|
| 280 |
+
"timestamp_ms": 1621389610018,
|
| 281 |
+
"score": 0.0
|
| 282 |
+
},
|
| 283 |
+
{
|
| 284 |
+
"timestamp_ms": 1621389717874,
|
| 285 |
+
"score": 0.0
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"timestamp_ms": 1621389834881,
|
| 289 |
+
"score": 0.0
|
| 290 |
+
},
|
| 291 |
+
{
|
| 292 |
+
"timestamp_ms": 1621389999114,
|
| 293 |
+
"score": 0.0
|
| 294 |
+
},
|
| 295 |
+
{
|
| 296 |
+
"timestamp_ms": 1621390127738,
|
| 297 |
+
"score": 0.0
|
| 298 |
+
},
|
| 299 |
+
{
|
| 300 |
+
"timestamp_ms": 1621390275949,
|
| 301 |
+
"score": 0.0
|
| 302 |
+
},
|
| 303 |
+
{
|
| 304 |
+
"timestamp_ms": 1621390445856,
|
| 305 |
+
"score": 0.0
|
| 306 |
+
},
|
| 307 |
+
{
|
| 308 |
+
"timestamp_ms": 1621390621086,
|
| 309 |
+
"score": 0.0
|
| 310 |
+
},
|
| 311 |
+
{
|
| 312 |
+
"timestamp_ms": 1621390723339,
|
| 313 |
+
"score": 0.0
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"timestamp_ms": 1621390854485,
|
| 317 |
+
"score": 0.0
|
| 318 |
+
},
|
| 319 |
+
{
|
| 320 |
+
"timestamp_ms": 1621391020190,
|
| 321 |
+
"score": 0.0
|
| 322 |
+
},
|
| 323 |
+
{
|
| 324 |
+
"timestamp_ms": 1621391184271,
|
| 325 |
+
"score": 0.0
|
| 326 |
+
},
|
| 327 |
+
{
|
| 328 |
+
"timestamp_ms": 1621391374683,
|
| 329 |
+
"score": 0.0
|
| 330 |
+
},
|
| 331 |
+
{
|
| 332 |
+
"timestamp_ms": 1621391542978,
|
| 333 |
+
"score": 0.0
|
| 334 |
+
},
|
| 335 |
+
{
|
| 336 |
+
"timestamp_ms": 1621391739587,
|
| 337 |
+
"score": 0.0
|
| 338 |
+
},
|
| 339 |
+
{
|
| 340 |
+
"timestamp_ms": 1621391905990,
|
| 341 |
+
"score": 0.0
|
| 342 |
+
},
|
| 343 |
+
{
|
| 344 |
+
"timestamp_ms": 1621392081409,
|
| 345 |
+
"score": 0.0
|
| 346 |
+
},
|
| 347 |
+
{
|
| 348 |
+
"timestamp_ms": 1621392279161,
|
| 349 |
+
"score": 0.0
|
| 350 |
+
},
|
| 351 |
+
{
|
| 352 |
+
"timestamp_ms": 1621392486446,
|
| 353 |
+
"score": 0.0
|
| 354 |
+
},
|
| 355 |
+
{
|
| 356 |
+
"timestamp_ms": 1621392687639,
|
| 357 |
+
"score": 0.0
|
| 358 |
+
},
|
| 359 |
+
{
|
| 360 |
+
"timestamp_ms": 1621392834237,
|
| 361 |
+
"score": 0.0
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"timestamp_ms": 1621392962385,
|
| 365 |
+
"score": 0.0
|
| 366 |
+
},
|
| 367 |
+
{
|
| 368 |
+
"timestamp_ms": 1621393131320,
|
| 369 |
+
"score": 0.0
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"timestamp_ms": 1621393171451,
|
| 373 |
+
"score": 0.0
|
| 374 |
+
},
|
| 375 |
+
{
|
| 376 |
+
"timestamp_ms": 1621393225354,
|
| 377 |
+
"score": 0.0
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"timestamp_ms": 1621393310856,
|
| 381 |
+
"score": 0.0
|
| 382 |
+
},
|
| 383 |
+
{
|
| 384 |
+
"timestamp_ms": 1621393399178,
|
| 385 |
+
"score": 0.0
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"timestamp_ms": 1621393478987,
|
| 389 |
+
"score": 0.0
|
| 390 |
+
},
|
| 391 |
+
{
|
| 392 |
+
"timestamp_ms": 1621393570153,
|
| 393 |
+
"score": 0.0
|
| 394 |
+
},
|
| 395 |
+
{
|
| 396 |
+
"timestamp_ms": 1621393671330,
|
| 397 |
+
"score": 0.0
|
| 398 |
+
},
|
| 399 |
+
{
|
| 400 |
+
"timestamp_ms": 1621393795356,
|
| 401 |
+
"score": 0.0
|
| 402 |
+
},
|
| 403 |
+
{
|
| 404 |
+
"timestamp_ms": 1621393914283,
|
| 405 |
+
"score": 0.0
|
| 406 |
+
},
|
| 407 |
+
{
|
| 408 |
+
"timestamp_ms": 1621394081115,
|
| 409 |
+
"score": 0.0
|
| 410 |
+
},
|
| 411 |
+
{
|
| 412 |
+
"timestamp_ms": 1621394254049,
|
| 413 |
+
"score": 0.0
|
| 414 |
+
},
|
| 415 |
+
{
|
| 416 |
+
"timestamp_ms": 1621394381303,
|
| 417 |
+
"score": 0.0
|
| 418 |
+
},
|
| 419 |
+
{
|
| 420 |
+
"timestamp_ms": 1621394504142,
|
| 421 |
+
"score": 0.0
|
| 422 |
+
},
|
| 423 |
+
{
|
| 424 |
+
"timestamp_ms": 1621394621362,
|
| 425 |
+
"score": 0.0
|
| 426 |
+
},
|
| 427 |
+
{
|
| 428 |
+
"timestamp_ms": 1621394825346,
|
| 429 |
+
"score": 0.0
|
| 430 |
+
},
|
| 431 |
+
{
|
| 432 |
+
"timestamp_ms": 1621394977042,
|
| 433 |
+
"score": 0.0
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"timestamp_ms": 1621395186711,
|
| 437 |
+
"score": 0.0
|
| 438 |
+
},
|
| 439 |
+
{
|
| 440 |
+
"timestamp_ms": 1621395394326,
|
| 441 |
+
"score": 0.0
|
| 442 |
+
},
|
| 443 |
+
{
|
| 444 |
+
"timestamp_ms": 1621395599092,
|
| 445 |
+
"score": 0.0
|
| 446 |
+
},
|
| 447 |
+
{
|
| 448 |
+
"timestamp_ms": 1621395766812,
|
| 449 |
+
"score": 0.0
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"timestamp_ms": 1621395952252,
|
| 453 |
+
"score": 0.0
|
| 454 |
+
},
|
| 455 |
+
{
|
| 456 |
+
"timestamp_ms": 1621396114712,
|
| 457 |
+
"score": 0.0
|
| 458 |
+
},
|
| 459 |
+
{
|
| 460 |
+
"timestamp_ms": 1621396282238,
|
| 461 |
+
"score": 0.0
|
| 462 |
+
},
|
| 463 |
+
{
|
| 464 |
+
"timestamp_ms": 1621396459488,
|
| 465 |
+
"score": 0.0
|
| 466 |
+
},
|
| 467 |
+
{
|
| 468 |
+
"timestamp_ms": 1621396655170,
|
| 469 |
+
"score": 0.0
|
| 470 |
+
},
|
| 471 |
+
{
|
| 472 |
+
"timestamp_ms": 1621396818781,
|
| 473 |
+
"score": 0.0
|
| 474 |
+
},
|
| 475 |
+
{
|
| 476 |
+
"timestamp_ms": 1621396924075,
|
| 477 |
+
"score": 0.0
|
| 478 |
+
},
|
| 479 |
+
{
|
| 480 |
+
"timestamp_ms": 1621397059031,
|
| 481 |
+
"score": 0.0
|
| 482 |
+
},
|
| 483 |
+
{
|
| 484 |
+
"timestamp_ms": 1621397233146,
|
| 485 |
+
"score": 0.0
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"timestamp_ms": 1621397430575,
|
| 489 |
+
"score": 0.0
|
| 490 |
+
},
|
| 491 |
+
{
|
| 492 |
+
"timestamp_ms": 1621397621613,
|
| 493 |
+
"score": 0.0
|
| 494 |
+
},
|
| 495 |
+
{
|
| 496 |
+
"timestamp_ms": 1621397771551,
|
| 497 |
+
"score": 0.0
|
| 498 |
+
},
|
| 499 |
+
{
|
| 500 |
+
"timestamp_ms": 1621397890175,
|
| 501 |
+
"score": 0.0
|
| 502 |
+
},
|
| 503 |
+
{
|
| 504 |
+
"timestamp_ms": 1621397980181,
|
| 505 |
+
"score": 0.0
|
| 506 |
+
},
|
| 507 |
+
{
|
| 508 |
+
"timestamp_ms": 1621398077783,
|
| 509 |
+
"score": 0.0
|
| 510 |
+
},
|
| 511 |
+
{
|
| 512 |
+
"timestamp_ms": 1621398202472,
|
| 513 |
+
"score": 0.0
|
| 514 |
+
},
|
| 515 |
+
{
|
| 516 |
+
"timestamp_ms": 1621398267580,
|
| 517 |
+
"score": 0.0
|
| 518 |
+
},
|
| 519 |
+
{
|
| 520 |
+
"timestamp_ms": 1621398275361,
|
| 521 |
+
"score": 0.0
|
| 522 |
+
},
|
| 523 |
+
{
|
| 524 |
+
"timestamp_ms": 1621398281275,
|
| 525 |
+
"score": 0.0
|
| 526 |
+
},
|
| 527 |
+
{
|
| 528 |
+
"timestamp_ms": 1621398308037,
|
| 529 |
+
"score": 0.0
|
| 530 |
+
},
|
| 531 |
+
{
|
| 532 |
+
"timestamp_ms": 1621398347202,
|
| 533 |
+
"score": 0.0
|
| 534 |
+
},
|
| 535 |
+
{
|
| 536 |
+
"timestamp_ms": 1621398392916,
|
| 537 |
+
"score": 0.0
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"timestamp_ms": 1621398436613,
|
| 541 |
+
"score": 0.0
|
| 542 |
+
},
|
| 543 |
+
{
|
| 544 |
+
"timestamp_ms": 1621398498654,
|
| 545 |
+
"score": 0.0
|
| 546 |
+
},
|
| 547 |
+
{
|
| 548 |
+
"timestamp_ms": 1621398557713,
|
| 549 |
+
"score": 0.0
|
| 550 |
+
},
|
| 551 |
+
{
|
| 552 |
+
"timestamp_ms": 1621398624925,
|
| 553 |
+
"score": 0.0
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"timestamp_ms": 1621398682237,
|
| 557 |
+
"score": 0.0
|
| 558 |
+
},
|
| 559 |
+
{
|
| 560 |
+
"timestamp_ms": 1621398748573,
|
| 561 |
+
"score": 0.0
|
| 562 |
+
},
|
| 563 |
+
{
|
| 564 |
+
"timestamp_ms": 1621398844715,
|
| 565 |
+
"score": 0.0
|
| 566 |
+
},
|
| 567 |
+
{
|
| 568 |
+
"timestamp_ms": 1621398950888,
|
| 569 |
+
"score": 0.0
|
| 570 |
+
},
|
| 571 |
+
{
|
| 572 |
+
"timestamp_ms": 1621399047984,
|
| 573 |
+
"score": 0.0
|
| 574 |
+
},
|
| 575 |
+
{
|
| 576 |
+
"timestamp_ms": 1621399145157,
|
| 577 |
+
"score": 0.0
|
| 578 |
+
},
|
| 579 |
+
{
|
| 580 |
+
"timestamp_ms": 1621399232048,
|
| 581 |
+
"score": 0.0
|
| 582 |
+
},
|
| 583 |
+
{
|
| 584 |
+
"timestamp_ms": 1621399288351,
|
| 585 |
+
"score": 0.0
|
| 586 |
+
},
|
| 587 |
+
{
|
| 588 |
+
"timestamp_ms": 1621399322784,
|
| 589 |
+
"score": 0.0
|
| 590 |
+
},
|
| 591 |
+
{
|
| 592 |
+
"timestamp_ms": 1621399377865,
|
| 593 |
+
"score": 0.0
|
| 594 |
+
},
|
| 595 |
+
{
|
| 596 |
+
"timestamp_ms": 1621399410253,
|
| 597 |
+
"score": 0.0
|
| 598 |
+
},
|
| 599 |
+
{
|
| 600 |
+
"timestamp_ms": 1621399430023,
|
| 601 |
+
"score": 0.0
|
| 602 |
+
},
|
| 603 |
+
{
|
| 604 |
+
"timestamp_ms": 1621399462697,
|
| 605 |
+
"score": 0.0
|
| 606 |
+
},
|
| 607 |
+
{
|
| 608 |
+
"timestamp_ms": 1621399518888,
|
| 609 |
+
"score": 0.0
|
| 610 |
+
},
|
| 611 |
+
{
|
| 612 |
+
"timestamp_ms": 1621399576196,
|
| 613 |
+
"score": 0.0
|
| 614 |
+
},
|
| 615 |
+
{
|
| 616 |
+
"timestamp_ms": 1621399651478,
|
| 617 |
+
"score": 0.0
|
| 618 |
+
},
|
| 619 |
+
{
|
| 620 |
+
"timestamp_ms": 1621399749745,
|
| 621 |
+
"score": 0.0
|
| 622 |
+
},
|
| 623 |
+
{
|
| 624 |
+
"timestamp_ms": 1621399824533,
|
| 625 |
+
"score": 0.0
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"timestamp_ms": 1621399894661,
|
| 629 |
+
"score": 0.0
|
| 630 |
+
},
|
| 631 |
+
{
|
| 632 |
+
"timestamp_ms": 1621399936988,
|
| 633 |
+
"score": 0.0
|
| 634 |
+
},
|
| 635 |
+
{
|
| 636 |
+
"timestamp_ms": 1621400001022,
|
| 637 |
+
"score": 0.0
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"timestamp_ms": 1621400038899,
|
| 641 |
+
"score": 0.0
|
| 642 |
+
},
|
| 643 |
+
{
|
| 644 |
+
"timestamp_ms": 1621400089434,
|
| 645 |
+
"score": 0.0
|
| 646 |
+
},
|
| 647 |
+
{
|
| 648 |
+
"timestamp_ms": 1621400135826,
|
| 649 |
+
"score": 0.0
|
| 650 |
+
},
|
| 651 |
+
{
|
| 652 |
+
"timestamp_ms": 1621400189566,
|
| 653 |
+
"score": 0.0
|
| 654 |
+
},
|
| 655 |
+
{
|
| 656 |
+
"timestamp_ms": 1621400234813,
|
| 657 |
+
"score": 0.0
|
| 658 |
+
},
|
| 659 |
+
{
|
| 660 |
+
"timestamp_ms": 1621400299085,
|
| 661 |
+
"score": 0.0
|
| 662 |
+
},
|
| 663 |
+
{
|
| 664 |
+
"timestamp_ms": 1621400366001,
|
| 665 |
+
"score": 0.0
|
| 666 |
+
},
|
| 667 |
+
{
|
| 668 |
+
"timestamp_ms": 1621400431619,
|
| 669 |
+
"score": 0.0
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"timestamp_ms": 1621400493619,
|
| 673 |
+
"score": 0.0
|
| 674 |
+
},
|
| 675 |
+
{
|
| 676 |
+
"timestamp_ms": 1621400538599,
|
| 677 |
+
"score": 0.0
|
| 678 |
+
},
|
| 679 |
+
{
|
| 680 |
+
"timestamp_ms": 1621400614749,
|
| 681 |
+
"score": 0.0
|
| 682 |
+
},
|
| 683 |
+
{
|
| 684 |
+
"timestamp_ms": 1621400705111,
|
| 685 |
+
"score": 0.0
|
| 686 |
+
},
|
| 687 |
+
{
|
| 688 |
+
"timestamp_ms": 1621400795736,
|
| 689 |
+
"score": 0.0
|
| 690 |
+
},
|
| 691 |
+
{
|
| 692 |
+
"timestamp_ms": 1621400881868,
|
| 693 |
+
"score": 0.0
|
| 694 |
+
},
|
| 695 |
+
{
|
| 696 |
+
"timestamp_ms": 1621400987344,
|
| 697 |
+
"score": 0.0
|
| 698 |
+
},
|
| 699 |
+
{
|
| 700 |
+
"timestamp_ms": 1621401086216,
|
| 701 |
+
"score": 0.0
|
| 702 |
+
},
|
| 703 |
+
{
|
| 704 |
+
"timestamp_ms": 1621401189065,
|
| 705 |
+
"score": 0.0
|
| 706 |
+
},
|
| 707 |
+
{
|
| 708 |
+
"timestamp_ms": 1621401269783,
|
| 709 |
+
"score": 0.0
|
| 710 |
+
},
|
| 711 |
+
{
|
| 712 |
+
"timestamp_ms": 1621401369205,
|
| 713 |
+
"score": 0.0
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"timestamp_ms": 1621401476020,
|
| 717 |
+
"score": 0.0
|
| 718 |
+
},
|
| 719 |
+
{
|
| 720 |
+
"timestamp_ms": 1621401595782,
|
| 721 |
+
"score": 0.0
|
| 722 |
+
},
|
| 723 |
+
{
|
| 724 |
+
"timestamp_ms": 1621401699221,
|
| 725 |
+
"score": 0.0
|
| 726 |
+
},
|
| 727 |
+
{
|
| 728 |
+
"timestamp_ms": 1621401840124,
|
| 729 |
+
"score": 0.0
|
| 730 |
+
},
|
| 731 |
+
{
|
| 732 |
+
"timestamp_ms": 1621401937823,
|
| 733 |
+
"score": 0.0
|
| 734 |
+
},
|
| 735 |
+
{
|
| 736 |
+
"timestamp_ms": 1621402040381,
|
| 737 |
+
"score": 0.0
|
| 738 |
+
},
|
| 739 |
+
{
|
| 740 |
+
"timestamp_ms": 1621402150945,
|
| 741 |
+
"score": 0.0
|
| 742 |
+
},
|
| 743 |
+
{
|
| 744 |
+
"timestamp_ms": 1621402252418,
|
| 745 |
+
"score": 0.0
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"timestamp_ms": 1621402361747,
|
| 749 |
+
"score": 0.0
|
| 750 |
+
},
|
| 751 |
+
{
|
| 752 |
+
"timestamp_ms": 1621402499125,
|
| 753 |
+
"score": 0.0
|
| 754 |
+
},
|
| 755 |
+
{
|
| 756 |
+
"timestamp_ms": 1621402624277,
|
| 757 |
+
"score": 0.0
|
| 758 |
+
},
|
| 759 |
+
{
|
| 760 |
+
"timestamp_ms": 1621402716190,
|
| 761 |
+
"score": 0.0
|
| 762 |
+
},
|
| 763 |
+
{
|
| 764 |
+
"timestamp_ms": 1621402825433,
|
| 765 |
+
"score": 0.0
|
| 766 |
+
},
|
| 767 |
+
{
|
| 768 |
+
"timestamp_ms": 1621402927535,
|
| 769 |
+
"score": 0.0
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"timestamp_ms": 1621403007546,
|
| 773 |
+
"score": 0.0
|
| 774 |
+
},
|
| 775 |
+
{
|
| 776 |
+
"timestamp_ms": 1621403082371,
|
| 777 |
+
"score": 0.0
|
| 778 |
+
},
|
| 779 |
+
{
|
| 780 |
+
"timestamp_ms": 1621403163042,
|
| 781 |
+
"score": 0.0
|
| 782 |
+
},
|
| 783 |
+
{
|
| 784 |
+
"timestamp_ms": 1621403250037,
|
| 785 |
+
"score": 0.0
|
| 786 |
+
},
|
| 787 |
+
{
|
| 788 |
+
"timestamp_ms": 1621403341719,
|
| 789 |
+
"score": 0.0
|
| 790 |
+
},
|
| 791 |
+
{
|
| 792 |
+
"timestamp_ms": 1621403420487,
|
| 793 |
+
"score": 0.0
|
| 794 |
+
},
|
| 795 |
+
{
|
| 796 |
+
"timestamp_ms": 1621403503102,
|
| 797 |
+
"score": 0.0
|
| 798 |
+
},
|
| 799 |
+
{
|
| 800 |
+
"timestamp_ms": 1621403613514,
|
| 801 |
+
"score": 0.0
|
| 802 |
+
},
|
| 803 |
+
{
|
| 804 |
+
"timestamp_ms": 1621403710138,
|
| 805 |
+
"score": 0.0
|
| 806 |
+
},
|
| 807 |
+
{
|
| 808 |
+
"timestamp_ms": 1621403794234,
|
| 809 |
+
"score": 0.0
|
| 810 |
+
},
|
| 811 |
+
{
|
| 812 |
+
"timestamp_ms": 1621403902550,
|
| 813 |
+
"score": 0.0
|
| 814 |
+
},
|
| 815 |
+
{
|
| 816 |
+
"timestamp_ms": 1621404026722,
|
| 817 |
+
"score": 0.0
|
| 818 |
+
},
|
| 819 |
+
{
|
| 820 |
+
"timestamp_ms": 1621404142421,
|
| 821 |
+
"score": 0.0
|
| 822 |
+
},
|
| 823 |
+
{
|
| 824 |
+
"timestamp_ms": 1621404237922,
|
| 825 |
+
"score": 0.0
|
| 826 |
+
},
|
| 827 |
+
{
|
| 828 |
+
"timestamp_ms": 1621404346606,
|
| 829 |
+
"score": 0.0
|
| 830 |
+
},
|
| 831 |
+
{
|
| 832 |
+
"timestamp_ms": 1621404447973,
|
| 833 |
+
"score": 0.0
|
| 834 |
+
},
|
| 835 |
+
{
|
| 836 |
+
"timestamp_ms": 1621404566181,
|
| 837 |
+
"score": 0.0
|
| 838 |
+
},
|
| 839 |
+
{
|
| 840 |
+
"timestamp_ms": 1621404649737,
|
| 841 |
+
"score": 0.0
|
| 842 |
+
},
|
| 843 |
+
{
|
| 844 |
+
"timestamp_ms": 1621404763829,
|
| 845 |
+
"score": 0.0
|
| 846 |
+
},
|
| 847 |
+
{
|
| 848 |
+
"timestamp_ms": 1621404896840,
|
| 849 |
+
"score": 0.0
|
| 850 |
+
},
|
| 851 |
+
{
|
| 852 |
+
"timestamp_ms": 1621405025794,
|
| 853 |
+
"score": 0.0
|
| 854 |
+
},
|
| 855 |
+
{
|
| 856 |
+
"timestamp_ms": 1621405202221,
|
| 857 |
+
"score": 0.0
|
| 858 |
+
},
|
| 859 |
+
{
|
| 860 |
+
"timestamp_ms": 1621405356756,
|
| 861 |
+
"score": 0.0
|
| 862 |
+
},
|
| 863 |
+
{
|
| 864 |
+
"timestamp_ms": 1621405513932,
|
| 865 |
+
"score": 0.0
|
| 866 |
+
},
|
| 867 |
+
{
|
| 868 |
+
"timestamp_ms": 1621405663640,
|
| 869 |
+
"score": 0.0
|
| 870 |
+
},
|
| 871 |
+
{
|
| 872 |
+
"timestamp_ms": 1621405824932,
|
| 873 |
+
"score": 0.0
|
| 874 |
+
},
|
| 875 |
+
{
|
| 876 |
+
"timestamp_ms": 1621405992692,
|
| 877 |
+
"score": 0.0
|
| 878 |
+
},
|
| 879 |
+
{
|
| 880 |
+
"timestamp_ms": 1621406170324,
|
| 881 |
+
"score": 0.0
|
| 882 |
+
},
|
| 883 |
+
{
|
| 884 |
+
"timestamp_ms": 1621406337578,
|
| 885 |
+
"score": 0.0
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"timestamp_ms": 1621406492850,
|
| 889 |
+
"score": 0.0
|
| 890 |
+
},
|
| 891 |
+
{
|
| 892 |
+
"timestamp_ms": 1621406680891,
|
| 893 |
+
"score": 0.0
|
| 894 |
+
},
|
| 895 |
+
{
|
| 896 |
+
"timestamp_ms": 1621406778425,
|
| 897 |
+
"score": 0.0
|
| 898 |
+
},
|
| 899 |
+
{
|
| 900 |
+
"timestamp_ms": 1621406953076,
|
| 901 |
+
"score": 0.0
|
| 902 |
+
},
|
| 903 |
+
{
|
| 904 |
+
"timestamp_ms": 1621407119777,
|
| 905 |
+
"score": 0.0
|
| 906 |
+
},
|
| 907 |
+
{
|
| 908 |
+
"timestamp_ms": 1621407261157,
|
| 909 |
+
"score": 0.0
|
| 910 |
+
},
|
| 911 |
+
{
|
| 912 |
+
"timestamp_ms": 1621407418569,
|
| 913 |
+
"score": 0.0
|
| 914 |
+
},
|
| 915 |
+
{
|
| 916 |
+
"timestamp_ms": 1621407561660,
|
| 917 |
+
"score": 0.0
|
| 918 |
+
},
|
| 919 |
+
{
|
| 920 |
+
"timestamp_ms": 1621407698575,
|
| 921 |
+
"score": 0.0
|
| 922 |
+
},
|
| 923 |
+
{
|
| 924 |
+
"timestamp_ms": 1621407838835,
|
| 925 |
+
"score": 0.0
|
| 926 |
+
},
|
| 927 |
+
{
|
| 928 |
+
"timestamp_ms": 1621407996191,
|
| 929 |
+
"score": 0.0
|
| 930 |
+
},
|
| 931 |
+
{
|
| 932 |
+
"timestamp_ms": 1621408159886,
|
| 933 |
+
"score": 0.0
|
| 934 |
+
},
|
| 935 |
+
{
|
| 936 |
+
"timestamp_ms": 1621408297481,
|
| 937 |
+
"score": 0.0
|
| 938 |
+
},
|
| 939 |
+
{
|
| 940 |
+
"timestamp_ms": 1621408387110,
|
| 941 |
+
"score": 0.0
|
| 942 |
+
},
|
| 943 |
+
{
|
| 944 |
+
"timestamp_ms": 1621408488695,
|
| 945 |
+
"score": 0.0
|
| 946 |
+
},
|
| 947 |
+
{
|
| 948 |
+
"timestamp_ms": 1621408518663,
|
| 949 |
+
"score": 0.0
|
| 950 |
+
},
|
| 951 |
+
{
|
| 952 |
+
"timestamp_ms": 1621408545809,
|
| 953 |
+
"score": 0.0
|
| 954 |
+
},
|
| 955 |
+
{
|
| 956 |
+
"timestamp_ms": 1621408605292,
|
| 957 |
+
"score": 0.0
|
| 958 |
+
},
|
| 959 |
+
{
|
| 960 |
+
"timestamp_ms": 1621408674545,
|
| 961 |
+
"score": 0.0
|
| 962 |
+
},
|
| 963 |
+
{
|
| 964 |
+
"timestamp_ms": 1621408759223,
|
| 965 |
+
"score": 0.0
|
| 966 |
+
},
|
| 967 |
+
{
|
| 968 |
+
"timestamp_ms": 1621408865786,
|
| 969 |
+
"score": 0.0
|
| 970 |
+
},
|
| 971 |
+
{
|
| 972 |
+
"timestamp_ms": 1621409015576,
|
| 973 |
+
"score": 0.0
|
| 974 |
+
},
|
| 975 |
+
{
|
| 976 |
+
"timestamp_ms": 1621409181203,
|
| 977 |
+
"score": 0.0
|
| 978 |
+
},
|
| 979 |
+
{
|
| 980 |
+
"timestamp_ms": 1621409343433,
|
| 981 |
+
"score": 0.0
|
| 982 |
+
},
|
| 983 |
+
{
|
| 984 |
+
"timestamp_ms": 1621409449375,
|
| 985 |
+
"score": 0.0
|
| 986 |
+
},
|
| 987 |
+
{
|
| 988 |
+
"timestamp_ms": 1621409591336,
|
| 989 |
+
"score": 0.0
|
| 990 |
+
},
|
| 991 |
+
{
|
| 992 |
+
"timestamp_ms": 1621409768096,
|
| 993 |
+
"score": 0.0
|
| 994 |
+
},
|
| 995 |
+
{
|
| 996 |
+
"timestamp_ms": 1621409861046,
|
| 997 |
+
"score": 0.0
|
| 998 |
+
},
|
| 999 |
+
{
|
| 1000 |
+
"timestamp_ms": 1621410010210,
|
| 1001 |
+
"score": 0.0
|
| 1002 |
+
},
|
| 1003 |
+
{
|
| 1004 |
+
"timestamp_ms": 1621410096641,
|
| 1005 |
+
"score": 0.0
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"timestamp_ms": 1621410170984,
|
| 1009 |
+
"score": 0.0
|
| 1010 |
+
},
|
| 1011 |
+
{
|
| 1012 |
+
"timestamp_ms": 1621410273988,
|
| 1013 |
+
"score": 0.0
|
| 1014 |
+
},
|
| 1015 |
+
{
|
| 1016 |
+
"timestamp_ms": 1621410364285,
|
| 1017 |
+
"score": 0.0
|
| 1018 |
+
},
|
| 1019 |
+
{
|
| 1020 |
+
"timestamp_ms": 1621410437733,
|
| 1021 |
+
"score": 0.0
|
| 1022 |
+
},
|
| 1023 |
+
{
|
| 1024 |
+
"timestamp_ms": 1621410565673,
|
| 1025 |
+
"score": 0.0
|
| 1026 |
+
},
|
| 1027 |
+
{
|
| 1028 |
+
"timestamp_ms": 1621410699701,
|
| 1029 |
+
"score": 0.0
|
| 1030 |
+
},
|
| 1031 |
+
{
|
| 1032 |
+
"timestamp_ms": 1621410848155,
|
| 1033 |
+
"score": 0.0
|
| 1034 |
+
},
|
| 1035 |
+
{
|
| 1036 |
+
"timestamp_ms": 1621410990940,
|
| 1037 |
+
"score": 0.0
|
| 1038 |
+
},
|
| 1039 |
+
{
|
| 1040 |
+
"timestamp_ms": 1621411170628,
|
| 1041 |
+
"score": 0.0
|
| 1042 |
+
},
|
| 1043 |
+
{
|
| 1044 |
+
"timestamp_ms": 1621411331143,
|
| 1045 |
+
"score": 0.0
|
| 1046 |
+
},
|
| 1047 |
+
{
|
| 1048 |
+
"timestamp_ms": 1621411485798,
|
| 1049 |
+
"score": 0.0
|
| 1050 |
+
},
|
| 1051 |
+
{
|
| 1052 |
+
"timestamp_ms": 1621411662958,
|
| 1053 |
+
"score": 0.0
|
| 1054 |
+
},
|
| 1055 |
+
{
|
| 1056 |
+
"timestamp_ms": 1621411870655,
|
| 1057 |
+
"score": 0.0
|
| 1058 |
+
},
|
| 1059 |
+
{
|
| 1060 |
+
"timestamp_ms": 1621412099992,
|
| 1061 |
+
"score": 0.0
|
| 1062 |
+
},
|
| 1063 |
+
{
|
| 1064 |
+
"timestamp_ms": 1621412324763,
|
| 1065 |
+
"score": 0.0
|
| 1066 |
+
},
|
| 1067 |
+
{
|
| 1068 |
+
"timestamp_ms": 1621412505150,
|
| 1069 |
+
"score": 0.0
|
| 1070 |
+
},
|
| 1071 |
+
{
|
| 1072 |
+
"timestamp_ms": 1621412754861,
|
| 1073 |
+
"score": 0.0
|
| 1074 |
+
},
|
| 1075 |
+
{
|
| 1076 |
+
"timestamp_ms": 1621412998526,
|
| 1077 |
+
"score": 0.0
|
| 1078 |
+
},
|
| 1079 |
+
{
|
| 1080 |
+
"timestamp_ms": 1621413149997,
|
| 1081 |
+
"score": 0.0
|
| 1082 |
+
},
|
| 1083 |
+
{
|
| 1084 |
+
"timestamp_ms": 1621413364855,
|
| 1085 |
+
"score": 0.0
|
| 1086 |
+
},
|
| 1087 |
+
{
|
| 1088 |
+
"timestamp_ms": 1621413581463,
|
| 1089 |
+
"score": 0.0
|
| 1090 |
+
},
|
| 1091 |
+
{
|
| 1092 |
+
"timestamp_ms": 1621413744529,
|
| 1093 |
+
"score": 0.0
|
| 1094 |
+
},
|
| 1095 |
+
{
|
| 1096 |
+
"timestamp_ms": 1621413937112,
|
| 1097 |
+
"score": 0.0
|
| 1098 |
+
},
|
| 1099 |
+
{
|
| 1100 |
+
"timestamp_ms": 1621414099022,
|
| 1101 |
+
"score": 0.0
|
| 1102 |
+
},
|
| 1103 |
+
{
|
| 1104 |
+
"timestamp_ms": 1621414166430,
|
| 1105 |
+
"score": 0.0
|
| 1106 |
+
},
|
| 1107 |
+
{
|
| 1108 |
+
"timestamp_ms": 1621414293366,
|
| 1109 |
+
"score": 0.0
|
| 1110 |
+
},
|
| 1111 |
+
{
|
| 1112 |
+
"timestamp_ms": 1621414487899,
|
| 1113 |
+
"score": 0.0
|
| 1114 |
+
},
|
| 1115 |
+
{
|
| 1116 |
+
"timestamp_ms": 1621414720208,
|
| 1117 |
+
"score": 0.0
|
| 1118 |
+
},
|
| 1119 |
+
{
|
| 1120 |
+
"timestamp_ms": 1621414930202,
|
| 1121 |
+
"score": 0.0
|
| 1122 |
+
},
|
| 1123 |
+
{
|
| 1124 |
+
"timestamp_ms": 1621415137126,
|
| 1125 |
+
"score": 0.0
|
| 1126 |
+
},
|
| 1127 |
+
{
|
| 1128 |
+
"timestamp_ms": 1621415362960,
|
| 1129 |
+
"score": 0.0
|
| 1130 |
+
},
|
| 1131 |
+
{
|
| 1132 |
+
"timestamp_ms": 1621415591320,
|
| 1133 |
+
"score": 0.0
|
| 1134 |
+
},
|
| 1135 |
+
{
|
| 1136 |
+
"timestamp_ms": 1621415794953,
|
| 1137 |
+
"score": 0.0
|
| 1138 |
+
},
|
| 1139 |
+
{
|
| 1140 |
+
"timestamp_ms": 1621416011266,
|
| 1141 |
+
"score": 0.0
|
| 1142 |
+
},
|
| 1143 |
+
{
|
| 1144 |
+
"timestamp_ms": 1621416274019,
|
| 1145 |
+
"score": 0.0
|
| 1146 |
+
},
|
| 1147 |
+
{
|
| 1148 |
+
"timestamp_ms": 1621416473090,
|
| 1149 |
+
"score": 0.0
|
| 1150 |
+
},
|
| 1151 |
+
{
|
| 1152 |
+
"timestamp_ms": 1621416584042,
|
| 1153 |
+
"score": 0.0
|
| 1154 |
+
},
|
| 1155 |
+
{
|
| 1156 |
+
"timestamp_ms": 1621416778152,
|
| 1157 |
+
"score": 0.0
|
| 1158 |
+
},
|
| 1159 |
+
{
|
| 1160 |
+
"timestamp_ms": 1621416973746,
|
| 1161 |
+
"score": 0.0
|
| 1162 |
+
},
|
| 1163 |
+
{
|
| 1164 |
+
"timestamp_ms": 1621417209838,
|
| 1165 |
+
"score": 0.0
|
| 1166 |
+
},
|
| 1167 |
+
{
|
| 1168 |
+
"timestamp_ms": 1621417395070,
|
| 1169 |
+
"score": 0.0
|
| 1170 |
+
},
|
| 1171 |
+
{
|
| 1172 |
+
"timestamp_ms": 1621417598156,
|
| 1173 |
+
"score": 0.0
|
| 1174 |
+
},
|
| 1175 |
+
{
|
| 1176 |
+
"timestamp_ms": 1621417804900,
|
| 1177 |
+
"score": 0.0
|
| 1178 |
+
},
|
| 1179 |
+
{
|
| 1180 |
+
"timestamp_ms": 1621417997404,
|
| 1181 |
+
"score": 0.0
|
| 1182 |
+
},
|
| 1183 |
+
{
|
| 1184 |
+
"timestamp_ms": 1621418218799,
|
| 1185 |
+
"score": 0.0
|
| 1186 |
+
},
|
| 1187 |
+
{
|
| 1188 |
+
"timestamp_ms": 1621418421758,
|
| 1189 |
+
"score": 0.0
|
| 1190 |
+
},
|
| 1191 |
+
{
|
| 1192 |
+
"timestamp_ms": 1621418640267,
|
| 1193 |
+
"score": 0.0
|
| 1194 |
+
},
|
| 1195 |
+
{
|
| 1196 |
+
"timestamp_ms": 1621418916307,
|
| 1197 |
+
"score": 0.0
|
| 1198 |
+
},
|
| 1199 |
+
{
|
| 1200 |
+
"timestamp_ms": 1621419039360,
|
| 1201 |
+
"score": 0.0
|
| 1202 |
+
},
|
| 1203 |
+
{
|
| 1204 |
+
"timestamp_ms": 1621419145899,
|
| 1205 |
+
"score": 0.0
|
| 1206 |
+
},
|
| 1207 |
+
{
|
| 1208 |
+
"timestamp_ms": 1621419210932,
|
| 1209 |
+
"score": 0.0
|
| 1210 |
+
},
|
| 1211 |
+
{
|
| 1212 |
+
"timestamp_ms": 1621419348814,
|
| 1213 |
+
"score": 0.0
|
| 1214 |
+
},
|
| 1215 |
+
{
|
| 1216 |
+
"timestamp_ms": 1621419417111,
|
| 1217 |
+
"score": 0.0
|
| 1218 |
+
},
|
| 1219 |
+
{
|
| 1220 |
+
"timestamp_ms": 1621419556697,
|
| 1221 |
+
"score": 0.0
|
| 1222 |
+
},
|
| 1223 |
+
{
|
| 1224 |
+
"timestamp_ms": 1621419734954,
|
| 1225 |
+
"score": 0.0
|
| 1226 |
+
},
|
| 1227 |
+
{
|
| 1228 |
+
"timestamp_ms": 1621419926709,
|
| 1229 |
+
"score": 0.0
|
| 1230 |
+
},
|
| 1231 |
+
{
|
| 1232 |
+
"timestamp_ms": 1621420118181,
|
| 1233 |
+
"score": 0.0
|
| 1234 |
+
},
|
| 1235 |
+
{
|
| 1236 |
+
"timestamp_ms": 1621420260432,
|
| 1237 |
+
"score": 0.0
|
| 1238 |
+
},
|
| 1239 |
+
{
|
| 1240 |
+
"timestamp_ms": 1621420348554,
|
| 1241 |
+
"score": 0.0
|
| 1242 |
+
},
|
| 1243 |
+
{
|
| 1244 |
+
"timestamp_ms": 1621420460724,
|
| 1245 |
+
"score": 0.0
|
| 1246 |
+
},
|
| 1247 |
+
{
|
| 1248 |
+
"timestamp_ms": 1621420555716,
|
| 1249 |
+
"score": 0.0
|
| 1250 |
+
},
|
| 1251 |
+
{
|
| 1252 |
+
"timestamp_ms": 1621420672124,
|
| 1253 |
+
"score": 0.0
|
| 1254 |
+
},
|
| 1255 |
+
{
|
| 1256 |
+
"timestamp_ms": 1621420799348,
|
| 1257 |
+
"score": 0.0
|
| 1258 |
+
},
|
| 1259 |
+
{
|
| 1260 |
+
"timestamp_ms": 1621420867811,
|
| 1261 |
+
"score": 0.0
|
| 1262 |
+
},
|
| 1263 |
+
{
|
| 1264 |
+
"timestamp_ms": 1621420964849,
|
| 1265 |
+
"score": 0.0
|
| 1266 |
+
},
|
| 1267 |
+
{
|
| 1268 |
+
"timestamp_ms": 1621421083298,
|
| 1269 |
+
"score": 0.0
|
| 1270 |
+
},
|
| 1271 |
+
{
|
| 1272 |
+
"timestamp_ms": 1621421216670,
|
| 1273 |
+
"score": 0.0
|
| 1274 |
+
},
|
| 1275 |
+
{
|
| 1276 |
+
"timestamp_ms": 1621421328082,
|
| 1277 |
+
"score": 0.0
|
| 1278 |
+
},
|
| 1279 |
+
{
|
| 1280 |
+
"timestamp_ms": 1621421412858,
|
| 1281 |
+
"score": 0.0
|
| 1282 |
+
},
|
| 1283 |
+
{
|
| 1284 |
+
"timestamp_ms": 1621421509585,
|
| 1285 |
+
"score": 0.0
|
| 1286 |
+
},
|
| 1287 |
+
{
|
| 1288 |
+
"timestamp_ms": 1621421611021,
|
| 1289 |
+
"score": 0.0
|
| 1290 |
+
},
|
| 1291 |
+
{
|
| 1292 |
+
"timestamp_ms": 1621421731593,
|
| 1293 |
+
"score": 0.0
|
| 1294 |
+
},
|
| 1295 |
+
{
|
| 1296 |
+
"timestamp_ms": 1621421825355,
|
| 1297 |
+
"score": 0.0
|
| 1298 |
+
},
|
| 1299 |
+
{
|
| 1300 |
+
"timestamp_ms": 1621421931592,
|
| 1301 |
+
"score": 0.0
|
| 1302 |
+
},
|
| 1303 |
+
{
|
| 1304 |
+
"timestamp_ms": 1621422071151,
|
| 1305 |
+
"score": 0.0
|
| 1306 |
+
},
|
| 1307 |
+
{
|
| 1308 |
+
"timestamp_ms": 1621422197473,
|
| 1309 |
+
"score": 0.0
|
| 1310 |
+
},
|
| 1311 |
+
{
|
| 1312 |
+
"timestamp_ms": 1621422312250,
|
| 1313 |
+
"score": 0.0
|
| 1314 |
+
},
|
| 1315 |
+
{
|
| 1316 |
+
"timestamp_ms": 1621422395647,
|
| 1317 |
+
"score": 0.0
|
| 1318 |
+
},
|
| 1319 |
+
{
|
| 1320 |
+
"timestamp_ms": 1621422531401,
|
| 1321 |
+
"score": 0.0
|
| 1322 |
+
},
|
| 1323 |
+
{
|
| 1324 |
+
"timestamp_ms": 1621422660138,
|
| 1325 |
+
"score": 0.0
|
| 1326 |
+
},
|
| 1327 |
+
{
|
| 1328 |
+
"timestamp_ms": 1621422793997,
|
| 1329 |
+
"score": 0.0
|
| 1330 |
+
},
|
| 1331 |
+
{
|
| 1332 |
+
"timestamp_ms": 1621422912311,
|
| 1333 |
+
"score": 0.0
|
| 1334 |
+
},
|
| 1335 |
+
{
|
| 1336 |
+
"timestamp_ms": 1621423023214,
|
| 1337 |
+
"score": 0.0
|
| 1338 |
+
},
|
| 1339 |
+
{
|
| 1340 |
+
"timestamp_ms": 1621423090672,
|
| 1341 |
+
"score": 0.0
|
| 1342 |
+
},
|
| 1343 |
+
{
|
| 1344 |
+
"timestamp_ms": 1621423151990,
|
| 1345 |
+
"score": 0.0
|
| 1346 |
+
},
|
| 1347 |
+
{
|
| 1348 |
+
"timestamp_ms": 1621423220405,
|
| 1349 |
+
"score": 0.0
|
| 1350 |
+
},
|
| 1351 |
+
{
|
| 1352 |
+
"timestamp_ms": 1621423298325,
|
| 1353 |
+
"score": 0.0
|
| 1354 |
+
},
|
| 1355 |
+
{
|
| 1356 |
+
"timestamp_ms": 1621423344439,
|
| 1357 |
+
"score": 0.0
|
| 1358 |
+
},
|
| 1359 |
+
{
|
| 1360 |
+
"timestamp_ms": 1621423414083,
|
| 1361 |
+
"score": 0.0
|
| 1362 |
+
},
|
| 1363 |
+
{
|
| 1364 |
+
"timestamp_ms": 1621423465916,
|
| 1365 |
+
"score": 0.0
|
| 1366 |
+
},
|
| 1367 |
+
{
|
| 1368 |
+
"timestamp_ms": 1621423506022,
|
| 1369 |
+
"score": 0.0
|
| 1370 |
+
},
|
| 1371 |
+
{
|
| 1372 |
+
"timestamp_ms": 1621423566640,
|
| 1373 |
+
"score": 0.0
|
| 1374 |
+
},
|
| 1375 |
+
{
|
| 1376 |
+
"timestamp_ms": 1621423621008,
|
| 1377 |
+
"score": 0.0
|
| 1378 |
+
},
|
| 1379 |
+
{
|
| 1380 |
+
"timestamp_ms": 1621423639086,
|
| 1381 |
+
"score": 0.0
|
| 1382 |
+
},
|
| 1383 |
+
{
|
| 1384 |
+
"timestamp_ms": 1621423659477,
|
| 1385 |
+
"score": 0.0
|
| 1386 |
+
},
|
| 1387 |
+
{
|
| 1388 |
+
"timestamp_ms": 1621423690501,
|
| 1389 |
+
"score": 0.0
|
| 1390 |
+
},
|
| 1391 |
+
{
|
| 1392 |
+
"timestamp_ms": 1621423724007,
|
| 1393 |
+
"score": 0.0
|
| 1394 |
+
},
|
| 1395 |
+
{
|
| 1396 |
+
"timestamp_ms": 1621423764797,
|
| 1397 |
+
"score": 0.0
|
| 1398 |
+
},
|
| 1399 |
+
{
|
| 1400 |
+
"timestamp_ms": 1621423812693,
|
| 1401 |
+
"score": 0.0
|
| 1402 |
+
},
|
| 1403 |
+
{
|
| 1404 |
+
"timestamp_ms": 1621423820045,
|
| 1405 |
+
"score": 0.0
|
| 1406 |
+
},
|
| 1407 |
+
{
|
| 1408 |
+
"timestamp_ms": 1621423834419,
|
| 1409 |
+
"score": 0.0
|
| 1410 |
+
},
|
| 1411 |
+
{
|
| 1412 |
+
"timestamp_ms": 1621423852798,
|
| 1413 |
+
"score": 0.0
|
| 1414 |
+
},
|
| 1415 |
+
{
|
| 1416 |
+
"timestamp_ms": 1621423884868,
|
| 1417 |
+
"score": 0.0
|
| 1418 |
+
},
|
| 1419 |
+
{
|
| 1420 |
+
"timestamp_ms": 1621423908535,
|
| 1421 |
+
"score": 0.0
|
| 1422 |
+
},
|
| 1423 |
+
{
|
| 1424 |
+
"timestamp_ms": 1621423928711,
|
| 1425 |
+
"score": 0.0
|
| 1426 |
+
},
|
| 1427 |
+
{
|
| 1428 |
+
"timestamp_ms": 1621423950747,
|
| 1429 |
+
"score": 0.0
|
| 1430 |
+
},
|
| 1431 |
+
{
|
| 1432 |
+
"timestamp_ms": 1621423983555,
|
| 1433 |
+
"score": 0.0
|
| 1434 |
+
},
|
| 1435 |
+
{
|
| 1436 |
+
"timestamp_ms": 1621424010402,
|
| 1437 |
+
"score": 0.0
|
| 1438 |
+
},
|
| 1439 |
+
{
|
| 1440 |
+
"timestamp_ms": 1621424047339,
|
| 1441 |
+
"score": 0.0
|
| 1442 |
+
},
|
| 1443 |
+
{
|
| 1444 |
+
"timestamp_ms": 1621424081558,
|
| 1445 |
+
"score": 0.0
|
| 1446 |
+
},
|
| 1447 |
+
{
|
| 1448 |
+
"timestamp_ms": 1621424117160,
|
| 1449 |
+
"score": 0.0
|
| 1450 |
+
},
|
| 1451 |
+
{
|
| 1452 |
+
"timestamp_ms": 1621424150459,
|
| 1453 |
+
"score": 0.0
|
| 1454 |
+
},
|
| 1455 |
+
{
|
| 1456 |
+
"timestamp_ms": 1621424188971,
|
| 1457 |
+
"score": 0.0
|
| 1458 |
+
},
|
| 1459 |
+
{
|
| 1460 |
+
"timestamp_ms": 1621424230785,
|
| 1461 |
+
"score": 0.0
|
| 1462 |
+
},
|
| 1463 |
+
{
|
| 1464 |
+
"timestamp_ms": 1621424254336,
|
| 1465 |
+
"score": 0.0
|
| 1466 |
+
},
|
| 1467 |
+
{
|
| 1468 |
+
"timestamp_ms": 1621424285479,
|
| 1469 |
+
"score": 0.0
|
| 1470 |
+
},
|
| 1471 |
+
{
|
| 1472 |
+
"timestamp_ms": 1621424324574,
|
| 1473 |
+
"score": 0.0
|
| 1474 |
+
},
|
| 1475 |
+
{
|
| 1476 |
+
"timestamp_ms": 1621424367045,
|
| 1477 |
+
"score": 0.0
|
| 1478 |
+
},
|
| 1479 |
+
{
|
| 1480 |
+
"timestamp_ms": 1621424408497,
|
| 1481 |
+
"score": 0.0
|
| 1482 |
+
},
|
| 1483 |
+
{
|
| 1484 |
+
"timestamp_ms": 1621424449343,
|
| 1485 |
+
"score": 0.0
|
| 1486 |
+
},
|
| 1487 |
+
{
|
| 1488 |
+
"timestamp_ms": 1621424499854,
|
| 1489 |
+
"score": 0.0
|
| 1490 |
+
},
|
| 1491 |
+
{
|
| 1492 |
+
"timestamp_ms": 1621424542157,
|
| 1493 |
+
"score": 0.0
|
| 1494 |
+
},
|
| 1495 |
+
{
|
| 1496 |
+
"timestamp_ms": 1621424598443,
|
| 1497 |
+
"score": 0.0
|
| 1498 |
+
},
|
| 1499 |
+
{
|
| 1500 |
+
"timestamp_ms": 1621424652117,
|
| 1501 |
+
"score": 0.0
|
| 1502 |
+
},
|
| 1503 |
+
{
|
| 1504 |
+
"timestamp_ms": 1621424717910,
|
| 1505 |
+
"score": 0.0
|
| 1506 |
+
},
|
| 1507 |
+
{
|
| 1508 |
+
"timestamp_ms": 1621424767684,
|
| 1509 |
+
"score": 0.0
|
| 1510 |
+
},
|
| 1511 |
+
{
|
| 1512 |
+
"timestamp_ms": 1621424811067,
|
| 1513 |
+
"score": 0.0
|
| 1514 |
+
},
|
| 1515 |
+
{
|
| 1516 |
+
"timestamp_ms": 1621424860803,
|
| 1517 |
+
"score": 0.0
|
| 1518 |
+
},
|
| 1519 |
+
{
|
| 1520 |
+
"timestamp_ms": 1621424916149,
|
| 1521 |
+
"score": 0.0
|
| 1522 |
+
},
|
| 1523 |
+
{
|
| 1524 |
+
"timestamp_ms": 1621424963883,
|
| 1525 |
+
"score": 0.0
|
| 1526 |
+
},
|
| 1527 |
+
{
|
| 1528 |
+
"timestamp_ms": 1621425019268,
|
| 1529 |
+
"score": 0.0
|
| 1530 |
+
},
|
| 1531 |
+
{
|
| 1532 |
+
"timestamp_ms": 1621425072579,
|
| 1533 |
+
"score": 0.0
|
| 1534 |
+
},
|
| 1535 |
+
{
|
| 1536 |
+
"timestamp_ms": 1621425132112,
|
| 1537 |
+
"score": 0.0
|
| 1538 |
+
},
|
| 1539 |
+
{
|
| 1540 |
+
"timestamp_ms": 1621425191112,
|
| 1541 |
+
"score": 0.0
|
| 1542 |
+
},
|
| 1543 |
+
{
|
| 1544 |
+
"timestamp_ms": 1621425260505,
|
| 1545 |
+
"score": 0.0
|
| 1546 |
+
},
|
| 1547 |
+
{
|
| 1548 |
+
"timestamp_ms": 1621425326126,
|
| 1549 |
+
"score": 0.0
|
| 1550 |
+
},
|
| 1551 |
+
{
|
| 1552 |
+
"timestamp_ms": 1621425393348,
|
| 1553 |
+
"score": 0.0
|
| 1554 |
+
},
|
| 1555 |
+
{
|
| 1556 |
+
"timestamp_ms": 1621425466820,
|
| 1557 |
+
"score": 0.0
|
| 1558 |
+
},
|
| 1559 |
+
{
|
| 1560 |
+
"timestamp_ms": 1621425547840,
|
| 1561 |
+
"score": 0.0
|
| 1562 |
+
},
|
| 1563 |
+
{
|
| 1564 |
+
"timestamp_ms": 1621425623382,
|
| 1565 |
+
"score": 0.0
|
| 1566 |
+
},
|
| 1567 |
+
{
|
| 1568 |
+
"timestamp_ms": 1621425691922,
|
| 1569 |
+
"score": 0.0
|
| 1570 |
+
},
|
| 1571 |
+
{
|
| 1572 |
+
"timestamp_ms": 1621425763052,
|
| 1573 |
+
"score": 0.0
|
| 1574 |
+
},
|
| 1575 |
+
{
|
| 1576 |
+
"timestamp_ms": 1621425837056,
|
| 1577 |
+
"score": 0.0
|
| 1578 |
+
},
|
| 1579 |
+
{
|
| 1580 |
+
"timestamp_ms": 1621425879412,
|
| 1581 |
+
"score": 0.0
|
| 1582 |
+
},
|
| 1583 |
+
{
|
| 1584 |
+
"timestamp_ms": 1621425945811,
|
| 1585 |
+
"score": 0.0
|
| 1586 |
+
},
|
| 1587 |
+
{
|
| 1588 |
+
"timestamp_ms": 1621426027237,
|
| 1589 |
+
"score": 0.0
|
| 1590 |
+
},
|
| 1591 |
+
{
|
| 1592 |
+
"timestamp_ms": 1621426122992,
|
| 1593 |
+
"score": 0.0
|
| 1594 |
+
},
|
| 1595 |
+
{
|
| 1596 |
+
"timestamp_ms": 1621426203959,
|
| 1597 |
+
"score": 0.0
|
| 1598 |
+
},
|
| 1599 |
+
{
|
| 1600 |
+
"timestamp_ms": 1621426308211,
|
| 1601 |
+
"score": 0.0
|
| 1602 |
+
},
|
| 1603 |
+
{
|
| 1604 |
+
"timestamp_ms": 1621426406483,
|
| 1605 |
+
"score": 0.0
|
| 1606 |
+
},
|
| 1607 |
+
{
|
| 1608 |
+
"timestamp_ms": 1621426505583,
|
| 1609 |
+
"score": 0.0
|
| 1610 |
+
},
|
| 1611 |
+
{
|
| 1612 |
+
"timestamp_ms": 1621426594989,
|
| 1613 |
+
"score": 0.0
|
| 1614 |
+
},
|
| 1615 |
+
{
|
| 1616 |
+
"timestamp_ms": 1621426665200,
|
| 1617 |
+
"score": 0.0
|
| 1618 |
+
},
|
| 1619 |
+
{
|
| 1620 |
+
"timestamp_ms": 1621426724753,
|
| 1621 |
+
"score": 0.0
|
| 1622 |
+
},
|
| 1623 |
+
{
|
| 1624 |
+
"timestamp_ms": 1621426806358,
|
| 1625 |
+
"score": 0.0
|
| 1626 |
+
},
|
| 1627 |
+
{
|
| 1628 |
+
"timestamp_ms": 1621426919356,
|
| 1629 |
+
"score": 0.0
|
| 1630 |
+
},
|
| 1631 |
+
{
|
| 1632 |
+
"timestamp_ms": 1621427015260,
|
| 1633 |
+
"score": 0.0
|
| 1634 |
+
},
|
| 1635 |
+
{
|
| 1636 |
+
"timestamp_ms": 1621427112650,
|
| 1637 |
+
"score": 0.0
|
| 1638 |
+
},
|
| 1639 |
+
{
|
| 1640 |
+
"timestamp_ms": 1621427178095,
|
| 1641 |
+
"score": 0.0
|
| 1642 |
+
},
|
| 1643 |
+
{
|
| 1644 |
+
"timestamp_ms": 1621427256918,
|
| 1645 |
+
"score": 0.0
|
| 1646 |
+
},
|
| 1647 |
+
{
|
| 1648 |
+
"timestamp_ms": 1621427340611,
|
| 1649 |
+
"score": 0.0
|
| 1650 |
+
},
|
| 1651 |
+
{
|
| 1652 |
+
"timestamp_ms": 1621427419634,
|
| 1653 |
+
"score": 0.0
|
| 1654 |
+
},
|
| 1655 |
+
{
|
| 1656 |
+
"timestamp_ms": 1621427466711,
|
| 1657 |
+
"score": 0.0
|
| 1658 |
+
},
|
| 1659 |
+
{
|
| 1660 |
+
"timestamp_ms": 1621427510239,
|
| 1661 |
+
"score": 0.0
|
| 1662 |
+
},
|
| 1663 |
+
{
|
| 1664 |
+
"timestamp_ms": 1621427587653,
|
| 1665 |
+
"score": 0.0
|
| 1666 |
+
},
|
| 1667 |
+
{
|
| 1668 |
+
"timestamp_ms": 1621427647947,
|
| 1669 |
+
"score": 0.0
|
| 1670 |
+
},
|
| 1671 |
+
{
|
| 1672 |
+
"timestamp_ms": 1621427690692,
|
| 1673 |
+
"score": 0.0
|
| 1674 |
+
},
|
| 1675 |
+
{
|
| 1676 |
+
"timestamp_ms": 1621427733389,
|
| 1677 |
+
"score": 0.0
|
| 1678 |
+
},
|
| 1679 |
+
{
|
| 1680 |
+
"timestamp_ms": 1621427793993,
|
| 1681 |
+
"score": 0.0
|
| 1682 |
+
},
|
| 1683 |
+
{
|
| 1684 |
+
"timestamp_ms": 1621427865427,
|
| 1685 |
+
"score": 0.0
|
| 1686 |
+
},
|
| 1687 |
+
{
|
| 1688 |
+
"timestamp_ms": 1621427950881,
|
| 1689 |
+
"score": 0.0
|
| 1690 |
+
},
|
| 1691 |
+
{
|
| 1692 |
+
"timestamp_ms": 1621428015496,
|
| 1693 |
+
"score": 0.0
|
| 1694 |
+
},
|
| 1695 |
+
{
|
| 1696 |
+
"timestamp_ms": 1621428095137,
|
| 1697 |
+
"score": 0.0
|
| 1698 |
+
},
|
| 1699 |
+
{
|
| 1700 |
+
"timestamp_ms": 1621428139343,
|
| 1701 |
+
"score": 0.0
|
| 1702 |
+
},
|
| 1703 |
+
{
|
| 1704 |
+
"timestamp_ms": 1621428170192,
|
| 1705 |
+
"score": 0.0
|
| 1706 |
+
},
|
| 1707 |
+
{
|
| 1708 |
+
"timestamp_ms": 1621428196572,
|
| 1709 |
+
"score": 0.0
|
| 1710 |
+
},
|
| 1711 |
+
{
|
| 1712 |
+
"timestamp_ms": 1621428222908,
|
| 1713 |
+
"score": 0.0
|
| 1714 |
+
},
|
| 1715 |
+
{
|
| 1716 |
+
"timestamp_ms": 1621428250775,
|
| 1717 |
+
"score": 0.0
|
| 1718 |
+
},
|
| 1719 |
+
{
|
| 1720 |
+
"timestamp_ms": 1621428278490,
|
| 1721 |
+
"score": 0.0
|
| 1722 |
+
},
|
| 1723 |
+
{
|
| 1724 |
+
"timestamp_ms": 1621428297066,
|
| 1725 |
+
"score": 0.0
|
| 1726 |
+
},
|
| 1727 |
+
{
|
| 1728 |
+
"timestamp_ms": 1621428316630,
|
| 1729 |
+
"score": 0.0
|
| 1730 |
+
},
|
| 1731 |
+
{
|
| 1732 |
+
"timestamp_ms": 1621428341422,
|
| 1733 |
+
"score": 0.0
|
| 1734 |
+
},
|
| 1735 |
+
{
|
| 1736 |
+
"timestamp_ms": 1621428373102,
|
| 1737 |
+
"score": 0.0
|
| 1738 |
+
},
|
| 1739 |
+
{
|
| 1740 |
+
"timestamp_ms": 1621428410741,
|
| 1741 |
+
"score": 0.0
|
| 1742 |
+
},
|
| 1743 |
+
{
|
| 1744 |
+
"timestamp_ms": 1621428445092,
|
| 1745 |
+
"score": 0.0
|
| 1746 |
+
},
|
| 1747 |
+
{
|
| 1748 |
+
"timestamp_ms": 1621428477948,
|
| 1749 |
+
"score": 0.0
|
| 1750 |
+
},
|
| 1751 |
+
{
|
| 1752 |
+
"timestamp_ms": 1621428498373,
|
| 1753 |
+
"score": 0.0
|
| 1754 |
+
},
|
| 1755 |
+
{
|
| 1756 |
+
"timestamp_ms": 1621428519126,
|
| 1757 |
+
"score": 0.0
|
| 1758 |
+
},
|
| 1759 |
+
{
|
| 1760 |
+
"timestamp_ms": 1621428537576,
|
| 1761 |
+
"score": 0.0
|
| 1762 |
+
},
|
| 1763 |
+
{
|
| 1764 |
+
"timestamp_ms": 1621428552109,
|
| 1765 |
+
"score": 0.0
|
| 1766 |
+
},
|
| 1767 |
+
{
|
| 1768 |
+
"timestamp_ms": 1621428564496,
|
| 1769 |
+
"score": 0.0
|
| 1770 |
+
},
|
| 1771 |
+
{
|
| 1772 |
+
"timestamp_ms": 1621428579131,
|
| 1773 |
+
"score": 0.0
|
| 1774 |
+
},
|
| 1775 |
+
{
|
| 1776 |
+
"timestamp_ms": 1621428604460,
|
| 1777 |
+
"score": 0.0
|
| 1778 |
+
},
|
| 1779 |
+
{
|
| 1780 |
+
"timestamp_ms": 1621428618812,
|
| 1781 |
+
"score": 0.0
|
| 1782 |
+
},
|
| 1783 |
+
{
|
| 1784 |
+
"timestamp_ms": 1621428628570,
|
| 1785 |
+
"score": 0.0
|
| 1786 |
+
},
|
| 1787 |
+
{
|
| 1788 |
+
"timestamp_ms": 1621428645016,
|
| 1789 |
+
"score": 0.0
|
| 1790 |
+
},
|
| 1791 |
+
{
|
| 1792 |
+
"timestamp_ms": 1621428660501,
|
| 1793 |
+
"score": 0.0
|
| 1794 |
+
},
|
| 1795 |
+
{
|
| 1796 |
+
"timestamp_ms": 1621428677739,
|
| 1797 |
+
"score": 0.0
|
| 1798 |
+
},
|
| 1799 |
+
{
|
| 1800 |
+
"timestamp_ms": 1621428698825,
|
| 1801 |
+
"score": 0.0
|
| 1802 |
+
},
|
| 1803 |
+
{
|
| 1804 |
+
"timestamp_ms": 1621428718836,
|
| 1805 |
+
"score": 0.0
|
| 1806 |
+
},
|
| 1807 |
+
{
|
| 1808 |
+
"timestamp_ms": 1621428737830,
|
| 1809 |
+
"score": 0.0
|
| 1810 |
+
},
|
| 1811 |
+
{
|
| 1812 |
+
"timestamp_ms": 1621428761771,
|
| 1813 |
+
"score": 0.0
|
| 1814 |
+
},
|
| 1815 |
+
{
|
| 1816 |
+
"timestamp_ms": 1621428787023,
|
| 1817 |
+
"score": 0.0
|
| 1818 |
+
},
|
| 1819 |
+
{
|
| 1820 |
+
"timestamp_ms": 1621428806792,
|
| 1821 |
+
"score": 0.0
|
| 1822 |
+
},
|
| 1823 |
+
{
|
| 1824 |
+
"timestamp_ms": 1621428818478,
|
| 1825 |
+
"score": 0.0
|
| 1826 |
+
},
|
| 1827 |
+
{
|
| 1828 |
+
"timestamp_ms": 1621428836289,
|
| 1829 |
+
"score": 0.0
|
| 1830 |
+
},
|
| 1831 |
+
{
|
| 1832 |
+
"timestamp_ms": 1621428857418,
|
| 1833 |
+
"score": 0.0
|
| 1834 |
+
},
|
| 1835 |
+
{
|
| 1836 |
+
"timestamp_ms": 1621428869438,
|
| 1837 |
+
"score": 0.0
|
| 1838 |
+
},
|
| 1839 |
+
{
|
| 1840 |
+
"timestamp_ms": 1621428881761,
|
| 1841 |
+
"score": 0.0
|
| 1842 |
+
},
|
| 1843 |
+
{
|
| 1844 |
+
"timestamp_ms": 1621428896831,
|
| 1845 |
+
"score": 0.0
|
| 1846 |
+
},
|
| 1847 |
+
{
|
| 1848 |
+
"timestamp_ms": 1621428909679,
|
| 1849 |
+
"score": 0.0
|
| 1850 |
+
},
|
| 1851 |
+
{
|
| 1852 |
+
"timestamp_ms": 1621428929780,
|
| 1853 |
+
"score": 0.0
|
| 1854 |
+
},
|
| 1855 |
+
{
|
| 1856 |
+
"timestamp_ms": 1621428947743,
|
| 1857 |
+
"score": 0.0
|
| 1858 |
+
},
|
| 1859 |
+
{
|
| 1860 |
+
"timestamp_ms": 1621428965205,
|
| 1861 |
+
"score": 0.0
|
| 1862 |
+
},
|
| 1863 |
+
{
|
| 1864 |
+
"timestamp_ms": 1621428974635,
|
| 1865 |
+
"score": 0.0
|
| 1866 |
+
},
|
| 1867 |
+
{
|
| 1868 |
+
"timestamp_ms": 1621428985201,
|
| 1869 |
+
"score": 0.0
|
| 1870 |
+
},
|
| 1871 |
+
{
|
| 1872 |
+
"timestamp_ms": 1621428998799,
|
| 1873 |
+
"score": 0.0
|
| 1874 |
+
},
|
| 1875 |
+
{
|
| 1876 |
+
"timestamp_ms": 1621429015916,
|
| 1877 |
+
"score": 0.0
|
| 1878 |
+
},
|
| 1879 |
+
{
|
| 1880 |
+
"timestamp_ms": 1621429032273,
|
| 1881 |
+
"score": 0.0
|
| 1882 |
+
},
|
| 1883 |
+
{
|
| 1884 |
+
"timestamp_ms": 1621429045860,
|
| 1885 |
+
"score": 0.0
|
| 1886 |
+
},
|
| 1887 |
+
{
|
| 1888 |
+
"timestamp_ms": 1621429062967,
|
| 1889 |
+
"score": 0.0
|
| 1890 |
+
},
|
| 1891 |
+
{
|
| 1892 |
+
"timestamp_ms": 1621429083024,
|
| 1893 |
+
"score": 0.0
|
| 1894 |
+
},
|
| 1895 |
+
{
|
| 1896 |
+
"timestamp_ms": 1621429101838,
|
| 1897 |
+
"score": 0.0
|
| 1898 |
+
},
|
| 1899 |
+
{
|
| 1900 |
+
"timestamp_ms": 1621429122921,
|
| 1901 |
+
"score": 0.0
|
| 1902 |
+
},
|
| 1903 |
+
{
|
| 1904 |
+
"timestamp_ms": 1621429143187,
|
| 1905 |
+
"score": 0.0
|
| 1906 |
+
},
|
| 1907 |
+
{
|
| 1908 |
+
"timestamp_ms": 1621429167053,
|
| 1909 |
+
"score": 0.0
|
| 1910 |
+
},
|
| 1911 |
+
{
|
| 1912 |
+
"timestamp_ms": 1621429184831,
|
| 1913 |
+
"score": 0.0
|
| 1914 |
+
},
|
| 1915 |
+
{
|
| 1916 |
+
"timestamp_ms": 1621429200707,
|
| 1917 |
+
"score": 0.0
|
| 1918 |
+
},
|
| 1919 |
+
{
|
| 1920 |
+
"timestamp_ms": 1621429216621,
|
| 1921 |
+
"score": 0.0
|
| 1922 |
+
},
|
| 1923 |
+
{
|
| 1924 |
+
"timestamp_ms": 1621429238500,
|
| 1925 |
+
"score": 0.0
|
| 1926 |
+
},
|
| 1927 |
+
{
|
| 1928 |
+
"timestamp_ms": 1621429262884,
|
| 1929 |
+
"score": 0.0
|
| 1930 |
+
},
|
| 1931 |
+
{
|
| 1932 |
+
"timestamp_ms": 1621429292157,
|
| 1933 |
+
"score": 0.0
|
| 1934 |
+
},
|
| 1935 |
+
{
|
| 1936 |
+
"timestamp_ms": 1621429318869,
|
| 1937 |
+
"score": 0.0
|
| 1938 |
+
},
|
| 1939 |
+
{
|
| 1940 |
+
"timestamp_ms": 1621429349141,
|
| 1941 |
+
"score": 0.0
|
| 1942 |
+
},
|
| 1943 |
+
{
|
| 1944 |
+
"timestamp_ms": 1621429378600,
|
| 1945 |
+
"score": 0.0
|
| 1946 |
+
},
|
| 1947 |
+
{
|
| 1948 |
+
"timestamp_ms": 1621429398676,
|
| 1949 |
+
"score": 0.0
|
| 1950 |
+
},
|
| 1951 |
+
{
|
| 1952 |
+
"timestamp_ms": 1621429422916,
|
| 1953 |
+
"score": 0.0
|
| 1954 |
+
},
|
| 1955 |
+
{
|
| 1956 |
+
"timestamp_ms": 1621429446707,
|
| 1957 |
+
"score": 0.0
|
| 1958 |
+
},
|
| 1959 |
+
{
|
| 1960 |
+
"timestamp_ms": 1621429469386,
|
| 1961 |
+
"score": 0.0
|
| 1962 |
+
},
|
| 1963 |
+
{
|
| 1964 |
+
"timestamp_ms": 1621429503614,
|
| 1965 |
+
"score": 0.0
|
| 1966 |
+
},
|
| 1967 |
+
{
|
| 1968 |
+
"timestamp_ms": 1621429534171,
|
| 1969 |
+
"score": 0.0
|
| 1970 |
+
},
|
| 1971 |
+
{
|
| 1972 |
+
"timestamp_ms": 1621429569202,
|
| 1973 |
+
"score": 0.0
|
| 1974 |
+
},
|
| 1975 |
+
{
|
| 1976 |
+
"timestamp_ms": 1621429597464,
|
| 1977 |
+
"score": 0.0
|
| 1978 |
+
},
|
| 1979 |
+
{
|
| 1980 |
+
"timestamp_ms": 1621429628820,
|
| 1981 |
+
"score": 0.0
|
| 1982 |
+
},
|
| 1983 |
+
{
|
| 1984 |
+
"timestamp_ms": 1621429657520,
|
| 1985 |
+
"score": 0.0
|
| 1986 |
+
},
|
| 1987 |
+
{
|
| 1988 |
+
"timestamp_ms": 1621429673746,
|
| 1989 |
+
"score": 0.0
|
| 1990 |
+
},
|
| 1991 |
+
{
|
| 1992 |
+
"timestamp_ms": 1621429692097,
|
| 1993 |
+
"score": 0.0
|
| 1994 |
+
},
|
| 1995 |
+
{
|
| 1996 |
+
"timestamp_ms": 1621429705982,
|
| 1997 |
+
"score": 0.0
|
| 1998 |
+
},
|
| 1999 |
+
{
|
| 2000 |
+
"timestamp_ms": 1621429721650,
|
| 2001 |
+
"score": 0.0
|
| 2002 |
+
},
|
| 2003 |
+
{
|
| 2004 |
+
"timestamp_ms": 1621429736663,
|
| 2005 |
+
"score": 0.0
|
| 2006 |
+
},
|
| 2007 |
+
{
|
| 2008 |
+
"timestamp_ms": 1621429759173,
|
| 2009 |
+
"score": 0.0
|
| 2010 |
+
},
|
| 2011 |
+
{
|
| 2012 |
+
"timestamp_ms": 1621429773928,
|
| 2013 |
+
"score": 0.0
|
| 2014 |
+
},
|
| 2015 |
+
{
|
| 2016 |
+
"timestamp_ms": 1621429790785,
|
| 2017 |
+
"score": 0.0
|
| 2018 |
+
},
|
| 2019 |
+
{
|
| 2020 |
+
"timestamp_ms": 1621429806577,
|
| 2021 |
+
"score": 0.0
|
| 2022 |
+
},
|
| 2023 |
+
{
|
| 2024 |
+
"timestamp_ms": 1621429822099,
|
| 2025 |
+
"score": 0.0
|
| 2026 |
+
},
|
| 2027 |
+
{
|
| 2028 |
+
"timestamp_ms": 1621429834023,
|
| 2029 |
+
"score": 0.0
|
| 2030 |
+
},
|
| 2031 |
+
{
|
| 2032 |
+
"timestamp_ms": 1621429849559,
|
| 2033 |
+
"score": 0.0
|
| 2034 |
+
},
|
| 2035 |
+
{
|
| 2036 |
+
"timestamp_ms": 1621429864160,
|
| 2037 |
+
"score": 0.0
|
| 2038 |
+
},
|
| 2039 |
+
{
|
| 2040 |
+
"timestamp_ms": 1621429879947,
|
| 2041 |
+
"score": 0.0
|
| 2042 |
+
},
|
| 2043 |
+
{
|
| 2044 |
+
"timestamp_ms": 1621429902618,
|
| 2045 |
+
"score": 0.0
|
| 2046 |
+
},
|
| 2047 |
+
{
|
| 2048 |
+
"timestamp_ms": 1621429921582,
|
| 2049 |
+
"score": 0.0
|
| 2050 |
+
},
|
| 2051 |
+
{
|
| 2052 |
+
"timestamp_ms": 1621429941155,
|
| 2053 |
+
"score": 0.0
|
| 2054 |
+
},
|
| 2055 |
+
{
|
| 2056 |
+
"timestamp_ms": 1621429967781,
|
| 2057 |
+
"score": 0.0
|
| 2058 |
+
},
|
| 2059 |
+
{
|
| 2060 |
+
"timestamp_ms": 1621429993753,
|
| 2061 |
+
"score": 0.0
|
| 2062 |
+
},
|
| 2063 |
+
{
|
| 2064 |
+
"timestamp_ms": 1621430017623,
|
| 2065 |
+
"score": 0.0
|
| 2066 |
+
},
|
| 2067 |
+
{
|
| 2068 |
+
"timestamp_ms": 1621430050875,
|
| 2069 |
+
"score": 0.0
|
| 2070 |
+
},
|
| 2071 |
+
{
|
| 2072 |
+
"timestamp_ms": 1621430085854,
|
| 2073 |
+
"score": 0.0
|
| 2074 |
+
},
|
| 2075 |
+
{
|
| 2076 |
+
"timestamp_ms": 1621430114280,
|
| 2077 |
+
"score": 0.0
|
| 2078 |
+
},
|
| 2079 |
+
{
|
| 2080 |
+
"timestamp_ms": 1621430138814,
|
| 2081 |
+
"score": 0.0
|
| 2082 |
+
},
|
| 2083 |
+
{
|
| 2084 |
+
"timestamp_ms": 1621430161171,
|
| 2085 |
+
"score": 0.0
|
| 2086 |
+
},
|
| 2087 |
+
{
|
| 2088 |
+
"timestamp_ms": 1621430192399,
|
| 2089 |
+
"score": 0.0
|
| 2090 |
+
},
|
| 2091 |
+
{
|
| 2092 |
+
"timestamp_ms": 1621430220954,
|
| 2093 |
+
"score": 0.0
|
| 2094 |
+
},
|
| 2095 |
+
{
|
| 2096 |
+
"timestamp_ms": 1621430245725,
|
| 2097 |
+
"score": 0.0
|
| 2098 |
+
},
|
| 2099 |
+
{
|
| 2100 |
+
"timestamp_ms": 1621430275183,
|
| 2101 |
+
"score": 0.0
|
| 2102 |
+
},
|
| 2103 |
+
{
|
| 2104 |
+
"timestamp_ms": 1621430304662,
|
| 2105 |
+
"score": 0.0
|
| 2106 |
+
},
|
| 2107 |
+
{
|
| 2108 |
+
"timestamp_ms": 1621430333057,
|
| 2109 |
+
"score": 0.0
|
| 2110 |
+
},
|
| 2111 |
+
{
|
| 2112 |
+
"timestamp_ms": 1621430352161,
|
| 2113 |
+
"score": 0.0
|
| 2114 |
+
},
|
| 2115 |
+
{
|
| 2116 |
+
"timestamp_ms": 1621430375958,
|
| 2117 |
+
"score": 0.0
|
| 2118 |
+
},
|
| 2119 |
+
{
|
| 2120 |
+
"timestamp_ms": 1621430404417,
|
| 2121 |
+
"score": 0.0
|
| 2122 |
+
},
|
| 2123 |
+
{
|
| 2124 |
+
"timestamp_ms": 1621430430060,
|
| 2125 |
+
"score": 0.0
|
| 2126 |
+
},
|
| 2127 |
+
{
|
| 2128 |
+
"timestamp_ms": 1621430457324,
|
| 2129 |
+
"score": 0.0
|
| 2130 |
+
},
|
| 2131 |
+
{
|
| 2132 |
+
"timestamp_ms": 1621430481341,
|
| 2133 |
+
"score": 0.0
|
| 2134 |
+
},
|
| 2135 |
+
{
|
| 2136 |
+
"timestamp_ms": 1621430501064,
|
| 2137 |
+
"score": 0.0
|
| 2138 |
+
},
|
| 2139 |
+
{
|
| 2140 |
+
"timestamp_ms": 1621430527588,
|
| 2141 |
+
"score": 0.0
|
| 2142 |
+
},
|
| 2143 |
+
{
|
| 2144 |
+
"timestamp_ms": 1621430553277,
|
| 2145 |
+
"score": 0.0
|
| 2146 |
+
},
|
| 2147 |
+
{
|
| 2148 |
+
"timestamp_ms": 1621430585398,
|
| 2149 |
+
"score": 0.0
|
| 2150 |
+
},
|
| 2151 |
+
{
|
| 2152 |
+
"timestamp_ms": 1621430618258,
|
| 2153 |
+
"score": 0.0
|
| 2154 |
+
},
|
| 2155 |
+
{
|
| 2156 |
+
"timestamp_ms": 1621430648765,
|
| 2157 |
+
"score": 0.0
|
| 2158 |
+
},
|
| 2159 |
+
{
|
| 2160 |
+
"timestamp_ms": 1621430682041,
|
| 2161 |
+
"score": 0.0
|
| 2162 |
+
},
|
| 2163 |
+
{
|
| 2164 |
+
"timestamp_ms": 1621430709064,
|
| 2165 |
+
"score": 0.0
|
| 2166 |
+
},
|
| 2167 |
+
{
|
| 2168 |
+
"timestamp_ms": 1621430738583,
|
| 2169 |
+
"score": 0.0
|
| 2170 |
+
},
|
| 2171 |
+
{
|
| 2172 |
+
"timestamp_ms": 1621430767845,
|
| 2173 |
+
"score": 0.0
|
| 2174 |
+
},
|
| 2175 |
+
{
|
| 2176 |
+
"timestamp_ms": 1621430809547,
|
| 2177 |
+
"score": 0.0
|
| 2178 |
+
},
|
| 2179 |
+
{
|
| 2180 |
+
"timestamp_ms": 1621430856628,
|
| 2181 |
+
"score": 0.0
|
| 2182 |
+
},
|
| 2183 |
+
{
|
| 2184 |
+
"timestamp_ms": 1621430893284,
|
| 2185 |
+
"score": 0.0
|
| 2186 |
+
},
|
| 2187 |
+
{
|
| 2188 |
+
"timestamp_ms": 1621430920236,
|
| 2189 |
+
"score": 0.0
|
| 2190 |
+
},
|
| 2191 |
+
{
|
| 2192 |
+
"timestamp_ms": 1621430953101,
|
| 2193 |
+
"score": 0.0
|
| 2194 |
+
},
|
| 2195 |
+
{
|
| 2196 |
+
"timestamp_ms": 1621430984251,
|
| 2197 |
+
"score": 0.0
|
| 2198 |
+
},
|
| 2199 |
+
{
|
| 2200 |
+
"timestamp_ms": 1621431018064,
|
| 2201 |
+
"score": 0.0
|
| 2202 |
+
},
|
| 2203 |
+
{
|
| 2204 |
+
"timestamp_ms": 1621431048112,
|
| 2205 |
+
"score": 0.0
|
| 2206 |
+
},
|
| 2207 |
+
{
|
| 2208 |
+
"timestamp_ms": 1621431079372,
|
| 2209 |
+
"score": 0.0
|
| 2210 |
+
},
|
| 2211 |
+
{
|
| 2212 |
+
"timestamp_ms": 1621431105969,
|
| 2213 |
+
"score": 0.0
|
| 2214 |
+
},
|
| 2215 |
+
{
|
| 2216 |
+
"timestamp_ms": 1621431135147,
|
| 2217 |
+
"score": 0.0
|
| 2218 |
+
},
|
| 2219 |
+
{
|
| 2220 |
+
"timestamp_ms": 1621431171144,
|
| 2221 |
+
"score": 0.0
|
| 2222 |
+
},
|
| 2223 |
+
{
|
| 2224 |
+
"timestamp_ms": 1621431199106,
|
| 2225 |
+
"score": 0.0
|
| 2226 |
+
},
|
| 2227 |
+
{
|
| 2228 |
+
"timestamp_ms": 1621431227167,
|
| 2229 |
+
"score": 0.0
|
| 2230 |
+
},
|
| 2231 |
+
{
|
| 2232 |
+
"timestamp_ms": 1621431253122,
|
| 2233 |
+
"score": 0.0
|
| 2234 |
+
},
|
| 2235 |
+
{
|
| 2236 |
+
"timestamp_ms": 1621431281440,
|
| 2237 |
+
"score": 0.0
|
| 2238 |
+
},
|
| 2239 |
+
{
|
| 2240 |
+
"timestamp_ms": 1621431303384,
|
| 2241 |
+
"score": 0.0
|
| 2242 |
+
},
|
| 2243 |
+
{
|
| 2244 |
+
"timestamp_ms": 1621431329298,
|
| 2245 |
+
"score": 0.0
|
| 2246 |
+
},
|
| 2247 |
+
{
|
| 2248 |
+
"timestamp_ms": 1621431363609,
|
| 2249 |
+
"score": 0.0
|
| 2250 |
+
},
|
| 2251 |
+
{
|
| 2252 |
+
"timestamp_ms": 1621431394696,
|
| 2253 |
+
"score": 0.0
|
| 2254 |
+
},
|
| 2255 |
+
{
|
| 2256 |
+
"timestamp_ms": 1621431430441,
|
| 2257 |
+
"score": 0.0
|
| 2258 |
+
},
|
| 2259 |
+
{
|
| 2260 |
+
"timestamp_ms": 1621431473124,
|
| 2261 |
+
"score": 0.0
|
| 2262 |
+
},
|
| 2263 |
+
{
|
| 2264 |
+
"timestamp_ms": 1621431506846,
|
| 2265 |
+
"score": 0.0
|
| 2266 |
+
},
|
| 2267 |
+
{
|
| 2268 |
+
"timestamp_ms": 1621431540411,
|
| 2269 |
+
"score": 0.0
|
| 2270 |
+
},
|
| 2271 |
+
{
|
| 2272 |
+
"timestamp_ms": 1621431566660,
|
| 2273 |
+
"score": 0.0
|
| 2274 |
+
},
|
| 2275 |
+
{
|
| 2276 |
+
"timestamp_ms": 1621431595295,
|
| 2277 |
+
"score": 0.0
|
| 2278 |
+
},
|
| 2279 |
+
{
|
| 2280 |
+
"timestamp_ms": 1621431628983,
|
| 2281 |
+
"score": 0.0
|
| 2282 |
+
},
|
| 2283 |
+
{
|
| 2284 |
+
"timestamp_ms": 1621431661501,
|
| 2285 |
+
"score": 0.0
|
| 2286 |
+
},
|
| 2287 |
+
{
|
| 2288 |
+
"timestamp_ms": 1621431690667,
|
| 2289 |
+
"score": 0.0
|
| 2290 |
+
},
|
| 2291 |
+
{
|
| 2292 |
+
"timestamp_ms": 1621431724761,
|
| 2293 |
+
"score": 0.0
|
| 2294 |
+
},
|
| 2295 |
+
{
|
| 2296 |
+
"timestamp_ms": 1621431757924,
|
| 2297 |
+
"score": 0.0
|
| 2298 |
+
},
|
| 2299 |
+
{
|
| 2300 |
+
"timestamp_ms": 1621431790770,
|
| 2301 |
+
"score": 0.0
|
| 2302 |
+
},
|
| 2303 |
+
{
|
| 2304 |
+
"timestamp_ms": 1621431821739,
|
| 2305 |
+
"score": 0.0
|
| 2306 |
+
},
|
| 2307 |
+
{
|
| 2308 |
+
"timestamp_ms": 1621431845825,
|
| 2309 |
+
"score": 0.0
|
| 2310 |
+
},
|
| 2311 |
+
{
|
| 2312 |
+
"timestamp_ms": 1621431871796,
|
| 2313 |
+
"score": 0.0
|
| 2314 |
+
},
|
| 2315 |
+
{
|
| 2316 |
+
"timestamp_ms": 1621431896302,
|
| 2317 |
+
"score": 0.0
|
| 2318 |
+
},
|
| 2319 |
+
{
|
| 2320 |
+
"timestamp_ms": 1621431920906,
|
| 2321 |
+
"score": 0.0
|
| 2322 |
+
},
|
| 2323 |
+
{
|
| 2324 |
+
"timestamp_ms": 1621431944626,
|
| 2325 |
+
"score": 0.0
|
| 2326 |
+
},
|
| 2327 |
+
{
|
| 2328 |
+
"timestamp_ms": 1621431966004,
|
| 2329 |
+
"score": 0.0
|
| 2330 |
+
},
|
| 2331 |
+
{
|
| 2332 |
+
"timestamp_ms": 1621431988811,
|
| 2333 |
+
"score": 0.0
|
| 2334 |
+
},
|
| 2335 |
+
{
|
| 2336 |
+
"timestamp_ms": 1621432011193,
|
| 2337 |
+
"score": 0.0
|
| 2338 |
+
},
|
| 2339 |
+
{
|
| 2340 |
+
"timestamp_ms": 1621432035200,
|
| 2341 |
+
"score": 0.0
|
| 2342 |
+
},
|
| 2343 |
+
{
|
| 2344 |
+
"timestamp_ms": 1621432064297,
|
| 2345 |
+
"score": 0.0
|
| 2346 |
+
},
|
| 2347 |
+
{
|
| 2348 |
+
"timestamp_ms": 1621432099909,
|
| 2349 |
+
"score": 0.0
|
| 2350 |
+
},
|
| 2351 |
+
{
|
| 2352 |
+
"timestamp_ms": 1621432129892,
|
| 2353 |
+
"score": 0.0
|
| 2354 |
+
},
|
| 2355 |
+
{
|
| 2356 |
+
"timestamp_ms": 1621432165430,
|
| 2357 |
+
"score": 0.0
|
| 2358 |
+
},
|
| 2359 |
+
{
|
| 2360 |
+
"timestamp_ms": 1621432201707,
|
| 2361 |
+
"score": 0.0
|
| 2362 |
+
},
|
| 2363 |
+
{
|
| 2364 |
+
"timestamp_ms": 1621432239952,
|
| 2365 |
+
"score": 0.0
|
| 2366 |
+
},
|
| 2367 |
+
{
|
| 2368 |
+
"timestamp_ms": 1621432276675,
|
| 2369 |
+
"score": 0.0
|
| 2370 |
+
},
|
| 2371 |
+
{
|
| 2372 |
+
"timestamp_ms": 1621432310972,
|
| 2373 |
+
"score": 0.0
|
| 2374 |
+
},
|
| 2375 |
+
{
|
| 2376 |
+
"timestamp_ms": 1621432342085,
|
| 2377 |
+
"score": 0.0
|
| 2378 |
+
},
|
| 2379 |
+
{
|
| 2380 |
+
"timestamp_ms": 1621432377207,
|
| 2381 |
+
"score": 0.0
|
| 2382 |
+
},
|
| 2383 |
+
{
|
| 2384 |
+
"timestamp_ms": 1621432411785,
|
| 2385 |
+
"score": 0.0
|
| 2386 |
+
},
|
| 2387 |
+
{
|
| 2388 |
+
"timestamp_ms": 1621432441590,
|
| 2389 |
+
"score": 0.0
|
| 2390 |
+
},
|
| 2391 |
+
{
|
| 2392 |
+
"timestamp_ms": 1621432483452,
|
| 2393 |
+
"score": 0.0
|
| 2394 |
+
},
|
| 2395 |
+
{
|
| 2396 |
+
"timestamp_ms": 1621432526605,
|
| 2397 |
+
"score": 0.0
|
| 2398 |
+
},
|
| 2399 |
+
{
|
| 2400 |
+
"timestamp_ms": 1621432570052,
|
| 2401 |
+
"score": 0.0
|
| 2402 |
+
},
|
| 2403 |
+
{
|
| 2404 |
+
"timestamp_ms": 1621432610057,
|
| 2405 |
+
"score": 0.0
|
| 2406 |
+
},
|
| 2407 |
+
{
|
| 2408 |
+
"timestamp_ms": 1621432646319,
|
| 2409 |
+
"score": 0.0
|
| 2410 |
+
},
|
| 2411 |
+
{
|
| 2412 |
+
"timestamp_ms": 1621432682088,
|
| 2413 |
+
"score": 0.0
|
| 2414 |
+
},
|
| 2415 |
+
{
|
| 2416 |
+
"timestamp_ms": 1621432730006,
|
| 2417 |
+
"score": 0.0
|
| 2418 |
+
},
|
| 2419 |
+
{
|
| 2420 |
+
"timestamp_ms": 1621432776189,
|
| 2421 |
+
"score": 0.0
|
| 2422 |
+
},
|
| 2423 |
+
{
|
| 2424 |
+
"timestamp_ms": 1621432822905,
|
| 2425 |
+
"score": 0.0
|
| 2426 |
+
},
|
| 2427 |
+
{
|
| 2428 |
+
"timestamp_ms": 1621432860339,
|
| 2429 |
+
"score": 0.0
|
| 2430 |
+
},
|
| 2431 |
+
{
|
| 2432 |
+
"timestamp_ms": 1621432904558,
|
| 2433 |
+
"score": 0.0
|
| 2434 |
+
},
|
| 2435 |
+
{
|
| 2436 |
+
"timestamp_ms": 1621432945183,
|
| 2437 |
+
"score": 0.0
|
| 2438 |
+
},
|
| 2439 |
+
{
|
| 2440 |
+
"timestamp_ms": 1621432989093,
|
| 2441 |
+
"score": 0.0
|
| 2442 |
+
},
|
| 2443 |
+
{
|
| 2444 |
+
"timestamp_ms": 1621433024184,
|
| 2445 |
+
"score": 0.0
|
| 2446 |
+
},
|
| 2447 |
+
{
|
| 2448 |
+
"timestamp_ms": 1621433060358,
|
| 2449 |
+
"score": 0.0
|
| 2450 |
+
},
|
| 2451 |
+
{
|
| 2452 |
+
"timestamp_ms": 1621433097617,
|
| 2453 |
+
"score": 0.0
|
| 2454 |
+
},
|
| 2455 |
+
{
|
| 2456 |
+
"timestamp_ms": 1621433128230,
|
| 2457 |
+
"score": 0.0
|
| 2458 |
+
},
|
| 2459 |
+
{
|
| 2460 |
+
"timestamp_ms": 1621433155943,
|
| 2461 |
+
"score": 0.0
|
| 2462 |
+
},
|
| 2463 |
+
{
|
| 2464 |
+
"timestamp_ms": 1621433190163,
|
| 2465 |
+
"score": 0.0
|
| 2466 |
+
},
|
| 2467 |
+
{
|
| 2468 |
+
"timestamp_ms": 1621433225281,
|
| 2469 |
+
"score": 0.0
|
| 2470 |
+
},
|
| 2471 |
+
{
|
| 2472 |
+
"timestamp_ms": 1621433265679,
|
| 2473 |
+
"score": 0.0
|
| 2474 |
+
},
|
| 2475 |
+
{
|
| 2476 |
+
"timestamp_ms": 1621433308893,
|
| 2477 |
+
"score": 0.0
|
| 2478 |
+
},
|
| 2479 |
+
{
|
| 2480 |
+
"timestamp_ms": 1621433350639,
|
| 2481 |
+
"score": 0.0
|
| 2482 |
+
},
|
| 2483 |
+
{
|
| 2484 |
+
"timestamp_ms": 1621433399308,
|
| 2485 |
+
"score": 0.0
|
| 2486 |
+
},
|
| 2487 |
+
{
|
| 2488 |
+
"timestamp_ms": 1621433463648,
|
| 2489 |
+
"score": 0.0
|
| 2490 |
+
},
|
| 2491 |
+
{
|
| 2492 |
+
"timestamp_ms": 1621433519303,
|
| 2493 |
+
"score": 0.0
|
| 2494 |
+
},
|
| 2495 |
+
{
|
| 2496 |
+
"timestamp_ms": 1621433573657,
|
| 2497 |
+
"score": 0.0
|
| 2498 |
+
},
|
| 2499 |
+
{
|
| 2500 |
+
"timestamp_ms": 1621433620547,
|
| 2501 |
+
"score": 0.0
|
| 2502 |
+
},
|
| 2503 |
+
{
|
| 2504 |
+
"timestamp_ms": 1621433664925,
|
| 2505 |
+
"score": 0.0
|
| 2506 |
+
},
|
| 2507 |
+
{
|
| 2508 |
+
"timestamp_ms": 1621433729073,
|
| 2509 |
+
"score": 0.0
|
| 2510 |
+
},
|
| 2511 |
+
{
|
| 2512 |
+
"timestamp_ms": 1621433790441,
|
| 2513 |
+
"score": 0.0
|
| 2514 |
+
},
|
| 2515 |
+
{
|
| 2516 |
+
"timestamp_ms": 1621433854933,
|
| 2517 |
+
"score": 0.0
|
| 2518 |
+
},
|
| 2519 |
+
{
|
| 2520 |
+
"timestamp_ms": 1621433926107,
|
| 2521 |
+
"score": 0.0
|
| 2522 |
+
},
|
| 2523 |
+
{
|
| 2524 |
+
"timestamp_ms": 1621433988723,
|
| 2525 |
+
"score": 0.0
|
| 2526 |
+
},
|
| 2527 |
+
{
|
| 2528 |
+
"timestamp_ms": 1621434047176,
|
| 2529 |
+
"score": 0.0
|
| 2530 |
+
},
|
| 2531 |
+
{
|
| 2532 |
+
"timestamp_ms": 1621434101973,
|
| 2533 |
+
"score": 0.0
|
| 2534 |
+
},
|
| 2535 |
+
{
|
| 2536 |
+
"timestamp_ms": 1621434156401,
|
| 2537 |
+
"score": 0.0
|
| 2538 |
+
},
|
| 2539 |
+
{
|
| 2540 |
+
"timestamp_ms": 1621434212747,
|
| 2541 |
+
"score": 0.0
|
| 2542 |
+
},
|
| 2543 |
+
{
|
| 2544 |
+
"timestamp_ms": 1621434265093,
|
| 2545 |
+
"score": 0.0
|
| 2546 |
+
},
|
| 2547 |
+
{
|
| 2548 |
+
"timestamp_ms": 1621434327361,
|
| 2549 |
+
"score": 0.0
|
| 2550 |
+
},
|
| 2551 |
+
{
|
| 2552 |
+
"timestamp_ms": 1621434389720,
|
| 2553 |
+
"score": 0.0
|
| 2554 |
+
},
|
| 2555 |
+
{
|
| 2556 |
+
"timestamp_ms": 1621434455270,
|
| 2557 |
+
"score": 0.0
|
| 2558 |
+
},
|
| 2559 |
+
{
|
| 2560 |
+
"timestamp_ms": 1621434525832,
|
| 2561 |
+
"score": 0.0
|
| 2562 |
+
},
|
| 2563 |
+
{
|
| 2564 |
+
"timestamp_ms": 1621434586529,
|
| 2565 |
+
"score": 0.0
|
| 2566 |
+
},
|
| 2567 |
+
{
|
| 2568 |
+
"timestamp_ms": 1621434640039,
|
| 2569 |
+
"score": 0.0
|
| 2570 |
+
},
|
| 2571 |
+
{
|
| 2572 |
+
"timestamp_ms": 1621434700923,
|
| 2573 |
+
"score": 0.0
|
| 2574 |
+
},
|
| 2575 |
+
{
|
| 2576 |
+
"timestamp_ms": 1621434762921,
|
| 2577 |
+
"score": 0.0
|
| 2578 |
+
},
|
| 2579 |
+
{
|
| 2580 |
+
"timestamp_ms": 1621434843520,
|
| 2581 |
+
"score": 0.0
|
| 2582 |
+
},
|
| 2583 |
+
{
|
| 2584 |
+
"timestamp_ms": 1621434926822,
|
| 2585 |
+
"score": 0.0
|
| 2586 |
+
},
|
| 2587 |
+
{
|
| 2588 |
+
"timestamp_ms": 1621434968497,
|
| 2589 |
+
"score": 0.0
|
| 2590 |
+
},
|
| 2591 |
+
{
|
| 2592 |
+
"timestamp_ms": 1621435030445,
|
| 2593 |
+
"score": 0.0
|
| 2594 |
+
},
|
| 2595 |
+
{
|
| 2596 |
+
"timestamp_ms": 1621435103091,
|
| 2597 |
+
"score": 0.0
|
| 2598 |
+
},
|
| 2599 |
+
{
|
| 2600 |
+
"timestamp_ms": 1621435172451,
|
| 2601 |
+
"score": 0.0
|
| 2602 |
+
},
|
| 2603 |
+
{
|
| 2604 |
+
"timestamp_ms": 1621435277880,
|
| 2605 |
+
"score": 0.0
|
| 2606 |
+
},
|
| 2607 |
+
{
|
| 2608 |
+
"timestamp_ms": 1621435359422,
|
| 2609 |
+
"score": 0.0
|
| 2610 |
+
},
|
| 2611 |
+
{
|
| 2612 |
+
"timestamp_ms": 1621435414779,
|
| 2613 |
+
"score": 0.0
|
| 2614 |
+
},
|
| 2615 |
+
{
|
| 2616 |
+
"timestamp_ms": 1621435473372,
|
| 2617 |
+
"score": 0.0
|
| 2618 |
+
},
|
| 2619 |
+
{
|
| 2620 |
+
"timestamp_ms": 1621435519491,
|
| 2621 |
+
"score": 0.0
|
| 2622 |
+
},
|
| 2623 |
+
{
|
| 2624 |
+
"timestamp_ms": 1621435549306,
|
| 2625 |
+
"score": 0.0
|
| 2626 |
+
},
|
| 2627 |
+
{
|
| 2628 |
+
"timestamp_ms": 1621435579969,
|
| 2629 |
+
"score": 0.0
|
| 2630 |
+
},
|
| 2631 |
+
{
|
| 2632 |
+
"timestamp_ms": 1621435610539,
|
| 2633 |
+
"score": 0.0
|
| 2634 |
+
},
|
| 2635 |
+
{
|
| 2636 |
+
"timestamp_ms": 1621435643007,
|
| 2637 |
+
"score": 0.0
|
| 2638 |
+
},
|
| 2639 |
+
{
|
| 2640 |
+
"timestamp_ms": 1621435690805,
|
| 2641 |
+
"score": 0.0
|
| 2642 |
+
},
|
| 2643 |
+
{
|
| 2644 |
+
"timestamp_ms": 1621435743875,
|
| 2645 |
+
"score": 0.0
|
| 2646 |
+
},
|
| 2647 |
+
{
|
| 2648 |
+
"timestamp_ms": 1621435803651,
|
| 2649 |
+
"score": 0.0
|
| 2650 |
+
},
|
| 2651 |
+
{
|
| 2652 |
+
"timestamp_ms": 1621435852588,
|
| 2653 |
+
"score": 0.0
|
| 2654 |
+
},
|
| 2655 |
+
{
|
| 2656 |
+
"timestamp_ms": 1621435908521,
|
| 2657 |
+
"score": 0.0
|
| 2658 |
+
},
|
| 2659 |
+
{
|
| 2660 |
+
"timestamp_ms": 1621435966192,
|
| 2661 |
+
"score": 0.0
|
| 2662 |
+
},
|
| 2663 |
+
{
|
| 2664 |
+
"timestamp_ms": 1621436029302,
|
| 2665 |
+
"score": 0.0
|
| 2666 |
+
},
|
| 2667 |
+
{
|
| 2668 |
+
"timestamp_ms": 1621436090560,
|
| 2669 |
+
"score": 0.0
|
| 2670 |
+
},
|
| 2671 |
+
{
|
| 2672 |
+
"timestamp_ms": 1621436137259,
|
| 2673 |
+
"score": 0.0
|
| 2674 |
+
},
|
| 2675 |
+
{
|
| 2676 |
+
"timestamp_ms": 1621436175549,
|
| 2677 |
+
"score": 0.0
|
| 2678 |
+
},
|
| 2679 |
+
{
|
| 2680 |
+
"timestamp_ms": 1621436219839,
|
| 2681 |
+
"score": 0.0
|
| 2682 |
+
},
|
| 2683 |
+
{
|
| 2684 |
+
"timestamp_ms": 1621436269025,
|
| 2685 |
+
"score": 0.0
|
| 2686 |
+
},
|
| 2687 |
+
{
|
| 2688 |
+
"timestamp_ms": 1621436317134,
|
| 2689 |
+
"score": 0.0
|
| 2690 |
+
},
|
| 2691 |
+
{
|
| 2692 |
+
"timestamp_ms": 1621436359822,
|
| 2693 |
+
"score": 0.0
|
| 2694 |
+
},
|
| 2695 |
+
{
|
| 2696 |
+
"timestamp_ms": 1621436403644,
|
| 2697 |
+
"score": 0.0
|
| 2698 |
+
},
|
| 2699 |
+
{
|
| 2700 |
+
"timestamp_ms": 1621436443901,
|
| 2701 |
+
"score": 0.0
|
| 2702 |
+
},
|
| 2703 |
+
{
|
| 2704 |
+
"timestamp_ms": 1621436479723,
|
| 2705 |
+
"score": 0.0
|
| 2706 |
+
},
|
| 2707 |
+
{
|
| 2708 |
+
"timestamp_ms": 1621436510289,
|
| 2709 |
+
"score": 0.0
|
| 2710 |
+
},
|
| 2711 |
+
{
|
| 2712 |
+
"timestamp_ms": 1621436555480,
|
| 2713 |
+
"score": 0.0
|
| 2714 |
+
},
|
| 2715 |
+
{
|
| 2716 |
+
"timestamp_ms": 1621436603395,
|
| 2717 |
+
"score": 0.0
|
| 2718 |
+
},
|
| 2719 |
+
{
|
| 2720 |
+
"timestamp_ms": 1621436656217,
|
| 2721 |
+
"score": 0.0
|
| 2722 |
+
},
|
| 2723 |
+
{
|
| 2724 |
+
"timestamp_ms": 1621436722625,
|
| 2725 |
+
"score": 0.0
|
| 2726 |
+
},
|
| 2727 |
+
{
|
| 2728 |
+
"timestamp_ms": 1621436788380,
|
| 2729 |
+
"score": 0.0
|
| 2730 |
+
},
|
| 2731 |
+
{
|
| 2732 |
+
"timestamp_ms": 1621436846245,
|
| 2733 |
+
"score": 0.0
|
| 2734 |
+
},
|
| 2735 |
+
{
|
| 2736 |
+
"timestamp_ms": 1621436904704,
|
| 2737 |
+
"score": 0.0
|
| 2738 |
+
},
|
| 2739 |
+
{
|
| 2740 |
+
"timestamp_ms": 1621436950503,
|
| 2741 |
+
"score": 0.0
|
| 2742 |
+
},
|
| 2743 |
+
{
|
| 2744 |
+
"timestamp_ms": 1621436998837,
|
| 2745 |
+
"score": 0.0
|
| 2746 |
+
},
|
| 2747 |
+
{
|
| 2748 |
+
"timestamp_ms": 1621437042949,
|
| 2749 |
+
"score": 0.0
|
| 2750 |
+
},
|
| 2751 |
+
{
|
| 2752 |
+
"timestamp_ms": 1621437091452,
|
| 2753 |
+
"score": 0.0
|
| 2754 |
+
},
|
| 2755 |
+
{
|
| 2756 |
+
"timestamp_ms": 1621437142367,
|
| 2757 |
+
"score": 0.0
|
| 2758 |
+
},
|
| 2759 |
+
{
|
| 2760 |
+
"timestamp_ms": 1621437192154,
|
| 2761 |
+
"score": 0.0
|
| 2762 |
+
},
|
| 2763 |
+
{
|
| 2764 |
+
"timestamp_ms": 1621437258355,
|
| 2765 |
+
"score": 0.0
|
| 2766 |
+
},
|
| 2767 |
+
{
|
| 2768 |
+
"timestamp_ms": 1621437309710,
|
| 2769 |
+
"score": 0.0
|
| 2770 |
+
},
|
| 2771 |
+
{
|
| 2772 |
+
"timestamp_ms": 1621437364931,
|
| 2773 |
+
"score": 0.0
|
| 2774 |
+
},
|
| 2775 |
+
{
|
| 2776 |
+
"timestamp_ms": 1621437414406,
|
| 2777 |
+
"score": 0.0
|
| 2778 |
+
},
|
| 2779 |
+
{
|
| 2780 |
+
"timestamp_ms": 1621437458896,
|
| 2781 |
+
"score": 0.0
|
| 2782 |
+
},
|
| 2783 |
+
{
|
| 2784 |
+
"timestamp_ms": 1621437517572,
|
| 2785 |
+
"score": 0.0
|
| 2786 |
+
},
|
| 2787 |
+
{
|
| 2788 |
+
"timestamp_ms": 1621437567070,
|
| 2789 |
+
"score": 0.0
|
| 2790 |
+
},
|
| 2791 |
+
{
|
| 2792 |
+
"timestamp_ms": 1621437603046,
|
| 2793 |
+
"score": 0.0
|
| 2794 |
+
},
|
| 2795 |
+
{
|
| 2796 |
+
"timestamp_ms": 1621437653148,
|
| 2797 |
+
"score": 0.0
|
| 2798 |
+
},
|
| 2799 |
+
{
|
| 2800 |
+
"timestamp_ms": 1621437696915,
|
| 2801 |
+
"score": 0.0
|
| 2802 |
+
},
|
| 2803 |
+
{
|
| 2804 |
+
"timestamp_ms": 1621437750344,
|
| 2805 |
+
"score": 0.0
|
| 2806 |
+
},
|
| 2807 |
+
{
|
| 2808 |
+
"timestamp_ms": 1621437809061,
|
| 2809 |
+
"score": 0.0
|
| 2810 |
+
},
|
| 2811 |
+
{
|
| 2812 |
+
"timestamp_ms": 1621437859415,
|
| 2813 |
+
"score": 0.0
|
| 2814 |
+
},
|
| 2815 |
+
{
|
| 2816 |
+
"timestamp_ms": 1621437895835,
|
| 2817 |
+
"score": 0.0
|
| 2818 |
+
},
|
| 2819 |
+
{
|
| 2820 |
+
"timestamp_ms": 1621437945500,
|
| 2821 |
+
"score": 0.0
|
| 2822 |
+
},
|
| 2823 |
+
{
|
| 2824 |
+
"timestamp_ms": 1621438004469,
|
| 2825 |
+
"score": 0.0
|
| 2826 |
+
},
|
| 2827 |
+
{
|
| 2828 |
+
"timestamp_ms": 1621438080351,
|
| 2829 |
+
"score": 0.0
|
| 2830 |
+
},
|
| 2831 |
+
{
|
| 2832 |
+
"timestamp_ms": 1621438133378,
|
| 2833 |
+
"score": 0.0
|
| 2834 |
+
},
|
| 2835 |
+
{
|
| 2836 |
+
"timestamp_ms": 1621438194522,
|
| 2837 |
+
"score": 0.0
|
| 2838 |
+
},
|
| 2839 |
+
{
|
| 2840 |
+
"timestamp_ms": 1621438274211,
|
| 2841 |
+
"score": 0.0
|
| 2842 |
+
},
|
| 2843 |
+
{
|
| 2844 |
+
"timestamp_ms": 1621438325732,
|
| 2845 |
+
"score": 0.0
|
| 2846 |
+
},
|
| 2847 |
+
{
|
| 2848 |
+
"timestamp_ms": 1621438401277,
|
| 2849 |
+
"score": 0.0
|
| 2850 |
+
},
|
| 2851 |
+
{
|
| 2852 |
+
"timestamp_ms": 1621438476799,
|
| 2853 |
+
"score": 0.0
|
| 2854 |
+
},
|
| 2855 |
+
{
|
| 2856 |
+
"timestamp_ms": 1621438548647,
|
| 2857 |
+
"score": 0.0
|
| 2858 |
+
},
|
| 2859 |
+
{
|
| 2860 |
+
"timestamp_ms": 1621438620684,
|
| 2861 |
+
"score": 0.0
|
| 2862 |
+
},
|
| 2863 |
+
{
|
| 2864 |
+
"timestamp_ms": 1621438686360,
|
| 2865 |
+
"score": 0.0
|
| 2866 |
+
},
|
| 2867 |
+
{
|
| 2868 |
+
"timestamp_ms": 1621438764386,
|
| 2869 |
+
"score": 0.0
|
| 2870 |
+
},
|
| 2871 |
+
{
|
| 2872 |
+
"timestamp_ms": 1621438816976,
|
| 2873 |
+
"score": 0.0
|
| 2874 |
+
},
|
| 2875 |
+
{
|
| 2876 |
+
"timestamp_ms": 1621438882843,
|
| 2877 |
+
"score": 0.0
|
| 2878 |
+
},
|
| 2879 |
+
{
|
| 2880 |
+
"timestamp_ms": 1621438951376,
|
| 2881 |
+
"score": 0.0
|
| 2882 |
+
},
|
| 2883 |
+
{
|
| 2884 |
+
"timestamp_ms": 1621439018912,
|
| 2885 |
+
"score": 0.0
|
| 2886 |
+
},
|
| 2887 |
+
{
|
| 2888 |
+
"timestamp_ms": 1621439094612,
|
| 2889 |
+
"score": 0.0
|
| 2890 |
+
},
|
| 2891 |
+
{
|
| 2892 |
+
"timestamp_ms": 1621439159408,
|
| 2893 |
+
"score": 0.0
|
| 2894 |
+
},
|
| 2895 |
+
{
|
| 2896 |
+
"timestamp_ms": 1621439228061,
|
| 2897 |
+
"score": 0.0
|
| 2898 |
+
},
|
| 2899 |
+
{
|
| 2900 |
+
"timestamp_ms": 1621439296665,
|
| 2901 |
+
"score": 0.0
|
| 2902 |
+
},
|
| 2903 |
+
{
|
| 2904 |
+
"timestamp_ms": 1621439359092,
|
| 2905 |
+
"score": 0.0
|
| 2906 |
+
},
|
| 2907 |
+
{
|
| 2908 |
+
"timestamp_ms": 1621439409037,
|
| 2909 |
+
"score": 0.0
|
| 2910 |
+
},
|
| 2911 |
+
{
|
| 2912 |
+
"timestamp_ms": 1621439460760,
|
| 2913 |
+
"score": 0.0
|
| 2914 |
+
},
|
| 2915 |
+
{
|
| 2916 |
+
"timestamp_ms": 1621439511402,
|
| 2917 |
+
"score": 0.0
|
| 2918 |
+
},
|
| 2919 |
+
{
|
| 2920 |
+
"timestamp_ms": 1621439570649,
|
| 2921 |
+
"score": 0.0
|
| 2922 |
+
},
|
| 2923 |
+
{
|
| 2924 |
+
"timestamp_ms": 1621439629732,
|
| 2925 |
+
"score": 0.0
|
| 2926 |
+
},
|
| 2927 |
+
{
|
| 2928 |
+
"timestamp_ms": 1621439693133,
|
| 2929 |
+
"score": 0.0
|
| 2930 |
+
},
|
| 2931 |
+
{
|
| 2932 |
+
"timestamp_ms": 1621439786477,
|
| 2933 |
+
"score": 0.0
|
| 2934 |
+
},
|
| 2935 |
+
{
|
| 2936 |
+
"timestamp_ms": 1621439872616,
|
| 2937 |
+
"score": 0.0
|
| 2938 |
+
},
|
| 2939 |
+
{
|
| 2940 |
+
"timestamp_ms": 1621439962977,
|
| 2941 |
+
"score": 0.0
|
| 2942 |
+
},
|
| 2943 |
+
{
|
| 2944 |
+
"timestamp_ms": 1621440031531,
|
| 2945 |
+
"score": 0.0
|
| 2946 |
+
},
|
| 2947 |
+
{
|
| 2948 |
+
"timestamp_ms": 1621440086361,
|
| 2949 |
+
"score": 0.0
|
| 2950 |
+
},
|
| 2951 |
+
{
|
| 2952 |
+
"timestamp_ms": 1621440138029,
|
| 2953 |
+
"score": 0.0
|
| 2954 |
+
},
|
| 2955 |
+
{
|
| 2956 |
+
"timestamp_ms": 1621440192032,
|
| 2957 |
+
"score": 0.0
|
| 2958 |
+
},
|
| 2959 |
+
{
|
| 2960 |
+
"timestamp_ms": 1621440211877,
|
| 2961 |
+
"score": 0.0
|
| 2962 |
+
},
|
| 2963 |
+
{
|
| 2964 |
+
"timestamp_ms": 1621440265890,
|
| 2965 |
+
"score": 0.0
|
| 2966 |
+
},
|
| 2967 |
+
{
|
| 2968 |
+
"timestamp_ms": 1621440336232,
|
| 2969 |
+
"score": 0.0
|
| 2970 |
+
},
|
| 2971 |
+
{
|
| 2972 |
+
"timestamp_ms": 1621440394844,
|
| 2973 |
+
"score": 0.0
|
| 2974 |
+
},
|
| 2975 |
+
{
|
| 2976 |
+
"timestamp_ms": 1621440466236,
|
| 2977 |
+
"score": 0.0
|
| 2978 |
+
},
|
| 2979 |
+
{
|
| 2980 |
+
"timestamp_ms": 1621440553653,
|
| 2981 |
+
"score": 0.0
|
| 2982 |
+
},
|
| 2983 |
+
{
|
| 2984 |
+
"timestamp_ms": 1621440648206,
|
| 2985 |
+
"score": 0.0
|
| 2986 |
+
},
|
| 2987 |
+
{
|
| 2988 |
+
"timestamp_ms": 1621440736066,
|
| 2989 |
+
"score": 0.0
|
| 2990 |
+
},
|
| 2991 |
+
{
|
| 2992 |
+
"timestamp_ms": 1621440800688,
|
| 2993 |
+
"score": 0.0
|
| 2994 |
+
},
|
| 2995 |
+
{
|
| 2996 |
+
"timestamp_ms": 1621440834711,
|
| 2997 |
+
"score": 0.0
|
| 2998 |
+
},
|
| 2999 |
+
{
|
| 3000 |
+
"timestamp_ms": 1621440899037,
|
| 3001 |
+
"score": 0.0
|
| 3002 |
+
},
|
| 3003 |
+
{
|
| 3004 |
+
"timestamp_ms": 1621440963456,
|
| 3005 |
+
"score": 0.0
|
| 3006 |
+
},
|
| 3007 |
+
{
|
| 3008 |
+
"timestamp_ms": 1621441041538,
|
| 3009 |
+
"score": 0.0
|
| 3010 |
+
},
|
| 3011 |
+
{
|
| 3012 |
+
"timestamp_ms": 1621441126111,
|
| 3013 |
+
"score": 0.0
|
| 3014 |
+
},
|
| 3015 |
+
{
|
| 3016 |
+
"timestamp_ms": 1621441193350,
|
| 3017 |
+
"score": 0.0
|
| 3018 |
+
},
|
| 3019 |
+
{
|
| 3020 |
+
"timestamp_ms": 1621441275780,
|
| 3021 |
+
"score": 0.0
|
| 3022 |
+
},
|
| 3023 |
+
{
|
| 3024 |
+
"timestamp_ms": 1621441361157,
|
| 3025 |
+
"score": 0.0
|
| 3026 |
+
},
|
| 3027 |
+
{
|
| 3028 |
+
"timestamp_ms": 1621441444349,
|
| 3029 |
+
"score": 0.0
|
| 3030 |
+
},
|
| 3031 |
+
{
|
| 3032 |
+
"timestamp_ms": 1621441524798,
|
| 3033 |
+
"score": 0.0
|
| 3034 |
+
},
|
| 3035 |
+
{
|
| 3036 |
+
"timestamp_ms": 1621441613203,
|
| 3037 |
+
"score": 0.0
|
| 3038 |
+
},
|
| 3039 |
+
{
|
| 3040 |
+
"timestamp_ms": 1621441704552,
|
| 3041 |
+
"score": 0.0
|
| 3042 |
+
},
|
| 3043 |
+
{
|
| 3044 |
+
"timestamp_ms": 1621441793478,
|
| 3045 |
+
"score": 0.0
|
| 3046 |
+
},
|
| 3047 |
+
{
|
| 3048 |
+
"timestamp_ms": 1621441849956,
|
| 3049 |
+
"score": 0.0
|
| 3050 |
+
},
|
| 3051 |
+
{
|
| 3052 |
+
"timestamp_ms": 1621441890498,
|
| 3053 |
+
"score": 0.0
|
| 3054 |
+
},
|
| 3055 |
+
{
|
| 3056 |
+
"timestamp_ms": 1621441964613,
|
| 3057 |
+
"score": 0.0
|
| 3058 |
+
},
|
| 3059 |
+
{
|
| 3060 |
+
"timestamp_ms": 1621442036501,
|
| 3061 |
+
"score": 0.0
|
| 3062 |
+
},
|
| 3063 |
+
{
|
| 3064 |
+
"timestamp_ms": 1621442100908,
|
| 3065 |
+
"score": 0.0
|
| 3066 |
+
},
|
| 3067 |
+
{
|
| 3068 |
+
"timestamp_ms": 1621442145051,
|
| 3069 |
+
"score": 0.0
|
| 3070 |
+
},
|
| 3071 |
+
{
|
| 3072 |
+
"timestamp_ms": 1621442196130,
|
| 3073 |
+
"score": 0.0
|
| 3074 |
+
},
|
| 3075 |
+
{
|
| 3076 |
+
"timestamp_ms": 1621442263629,
|
| 3077 |
+
"score": 0.0
|
| 3078 |
+
},
|
| 3079 |
+
{
|
| 3080 |
+
"timestamp_ms": 1621442315360,
|
| 3081 |
+
"score": 0.0
|
| 3082 |
+
},
|
| 3083 |
+
{
|
| 3084 |
+
"timestamp_ms": 1621442387345,
|
| 3085 |
+
"score": 0.0
|
| 3086 |
+
},
|
| 3087 |
+
{
|
| 3088 |
+
"timestamp_ms": 1621442454592,
|
| 3089 |
+
"score": 0.0
|
| 3090 |
+
},
|
| 3091 |
+
{
|
| 3092 |
+
"timestamp_ms": 1621442502328,
|
| 3093 |
+
"score": 0.0
|
| 3094 |
+
},
|
| 3095 |
+
{
|
| 3096 |
+
"timestamp_ms": 1621442547509,
|
| 3097 |
+
"score": 0.0
|
| 3098 |
+
},
|
| 3099 |
+
{
|
| 3100 |
+
"timestamp_ms": 1621442587054,
|
| 3101 |
+
"score": 0.0
|
| 3102 |
+
},
|
| 3103 |
+
{
|
| 3104 |
+
"timestamp_ms": 1621442636690,
|
| 3105 |
+
"score": 0.0
|
| 3106 |
+
},
|
| 3107 |
+
{
|
| 3108 |
+
"timestamp_ms": 1621442689646,
|
| 3109 |
+
"score": 0.0
|
| 3110 |
+
},
|
| 3111 |
+
{
|
| 3112 |
+
"timestamp_ms": 1621442733319,
|
| 3113 |
+
"score": 0.0
|
| 3114 |
+
},
|
| 3115 |
+
{
|
| 3116 |
+
"timestamp_ms": 1621442788635,
|
| 3117 |
+
"score": 0.0
|
| 3118 |
+
},
|
| 3119 |
+
{
|
| 3120 |
+
"timestamp_ms": 1621442838384,
|
| 3121 |
+
"score": 0.0
|
| 3122 |
+
},
|
| 3123 |
+
{
|
| 3124 |
+
"timestamp_ms": 1621442866899,
|
| 3125 |
+
"score": 0.0
|
| 3126 |
+
},
|
| 3127 |
+
{
|
| 3128 |
+
"timestamp_ms": 1621442912673,
|
| 3129 |
+
"score": 0.0
|
| 3130 |
+
},
|
| 3131 |
+
{
|
| 3132 |
+
"timestamp_ms": 1621442947077,
|
| 3133 |
+
"score": 0.0
|
| 3134 |
+
},
|
| 3135 |
+
{
|
| 3136 |
+
"timestamp_ms": 1621443005647,
|
| 3137 |
+
"score": 0.0
|
| 3138 |
+
},
|
| 3139 |
+
{
|
| 3140 |
+
"timestamp_ms": 1621443060453,
|
| 3141 |
+
"score": 0.0
|
| 3142 |
+
},
|
| 3143 |
+
{
|
| 3144 |
+
"timestamp_ms": 1621443111331,
|
| 3145 |
+
"score": 0.0
|
| 3146 |
+
},
|
| 3147 |
+
{
|
| 3148 |
+
"timestamp_ms": 1621443157203,
|
| 3149 |
+
"score": 0.0
|
| 3150 |
+
},
|
| 3151 |
+
{
|
| 3152 |
+
"timestamp_ms": 1621443219828,
|
| 3153 |
+
"score": 0.0
|
| 3154 |
+
},
|
| 3155 |
+
{
|
| 3156 |
+
"timestamp_ms": 1621443262592,
|
| 3157 |
+
"score": 0.0
|
| 3158 |
+
},
|
| 3159 |
+
{
|
| 3160 |
+
"timestamp_ms": 1621443327202,
|
| 3161 |
+
"score": 0.0
|
| 3162 |
+
},
|
| 3163 |
+
{
|
| 3164 |
+
"timestamp_ms": 1621443378221,
|
| 3165 |
+
"score": 0.0
|
| 3166 |
+
},
|
| 3167 |
+
{
|
| 3168 |
+
"timestamp_ms": 1621443439772,
|
| 3169 |
+
"score": 0.0
|
| 3170 |
+
},
|
| 3171 |
+
{
|
| 3172 |
+
"timestamp_ms": 1621443492169,
|
| 3173 |
+
"score": 0.0
|
| 3174 |
+
},
|
| 3175 |
+
{
|
| 3176 |
+
"timestamp_ms": 1621443544039,
|
| 3177 |
+
"score": 0.0
|
| 3178 |
+
},
|
| 3179 |
+
{
|
| 3180 |
+
"timestamp_ms": 1621443614939,
|
| 3181 |
+
"score": 0.0
|
| 3182 |
+
},
|
| 3183 |
+
{
|
| 3184 |
+
"timestamp_ms": 1621443673070,
|
| 3185 |
+
"score": 0.0
|
| 3186 |
+
},
|
| 3187 |
+
{
|
| 3188 |
+
"timestamp_ms": 1621443706346,
|
| 3189 |
+
"score": 0.0
|
| 3190 |
+
},
|
| 3191 |
+
{
|
| 3192 |
+
"timestamp_ms": 1621443768253,
|
| 3193 |
+
"score": 0.0
|
| 3194 |
+
},
|
| 3195 |
+
{
|
| 3196 |
+
"timestamp_ms": 1621443827011,
|
| 3197 |
+
"score": 0.0
|
| 3198 |
+
},
|
| 3199 |
+
{
|
| 3200 |
+
"timestamp_ms": 1621443873823,
|
| 3201 |
+
"score": 0.0
|
| 3202 |
+
},
|
| 3203 |
+
{
|
| 3204 |
+
"timestamp_ms": 1621443935708,
|
| 3205 |
+
"score": 0.0
|
| 3206 |
+
},
|
| 3207 |
+
{
|
| 3208 |
+
"timestamp_ms": 1621444015071,
|
| 3209 |
+
"score": 0.0
|
| 3210 |
+
},
|
| 3211 |
+
{
|
| 3212 |
+
"timestamp_ms": 1621444112771,
|
| 3213 |
+
"score": 0.0
|
| 3214 |
+
},
|
| 3215 |
+
{
|
| 3216 |
+
"timestamp_ms": 1621444207432,
|
| 3217 |
+
"score": 0.0
|
| 3218 |
+
},
|
| 3219 |
+
{
|
| 3220 |
+
"timestamp_ms": 1621444282418,
|
| 3221 |
+
"score": 0.0
|
| 3222 |
+
},
|
| 3223 |
+
{
|
| 3224 |
+
"timestamp_ms": 1621444394548,
|
| 3225 |
+
"score": 0.0
|
| 3226 |
+
},
|
| 3227 |
+
{
|
| 3228 |
+
"timestamp_ms": 1621444470455,
|
| 3229 |
+
"score": 0.0
|
| 3230 |
+
},
|
| 3231 |
+
{
|
| 3232 |
+
"timestamp_ms": 1621444569529,
|
| 3233 |
+
"score": 0.0
|
| 3234 |
+
},
|
| 3235 |
+
{
|
| 3236 |
+
"timestamp_ms": 1621444667268,
|
| 3237 |
+
"score": 0.0
|
| 3238 |
+
},
|
| 3239 |
+
{
|
| 3240 |
+
"timestamp_ms": 1621444724419,
|
| 3241 |
+
"score": 0.0
|
| 3242 |
+
},
|
| 3243 |
+
{
|
| 3244 |
+
"timestamp_ms": 1621444793818,
|
| 3245 |
+
"score": 0.0
|
| 3246 |
+
},
|
| 3247 |
+
{
|
| 3248 |
+
"timestamp_ms": 1621444857339,
|
| 3249 |
+
"score": 0.0
|
| 3250 |
+
},
|
| 3251 |
+
{
|
| 3252 |
+
"timestamp_ms": 1621444935236,
|
| 3253 |
+
"score": 0.0
|
| 3254 |
+
},
|
| 3255 |
+
{
|
| 3256 |
+
"timestamp_ms": 1621445019976,
|
| 3257 |
+
"score": 0.0
|
| 3258 |
+
},
|
| 3259 |
+
{
|
| 3260 |
+
"timestamp_ms": 1621445096207,
|
| 3261 |
+
"score": 0.0
|
| 3262 |
+
},
|
| 3263 |
+
{
|
| 3264 |
+
"timestamp_ms": 1621445188144,
|
| 3265 |
+
"score": 0.0
|
| 3266 |
+
},
|
| 3267 |
+
{
|
| 3268 |
+
"timestamp_ms": 1621445298311,
|
| 3269 |
+
"score": 0.0
|
| 3270 |
+
},
|
| 3271 |
+
{
|
| 3272 |
+
"timestamp_ms": 1621445396677,
|
| 3273 |
+
"score": 0.0
|
| 3274 |
+
},
|
| 3275 |
+
{
|
| 3276 |
+
"timestamp_ms": 1621445503557,
|
| 3277 |
+
"score": 0.0
|
| 3278 |
+
},
|
| 3279 |
+
{
|
| 3280 |
+
"timestamp_ms": 1621445579911,
|
| 3281 |
+
"score": 0.0
|
| 3282 |
+
},
|
| 3283 |
+
{
|
| 3284 |
+
"timestamp_ms": 1621445661300,
|
| 3285 |
+
"score": 0.0
|
| 3286 |
+
},
|
| 3287 |
+
{
|
| 3288 |
+
"timestamp_ms": 1621445735897,
|
| 3289 |
+
"score": 0.0
|
| 3290 |
+
},
|
| 3291 |
+
{
|
| 3292 |
+
"timestamp_ms": 1621445832286,
|
| 3293 |
+
"score": 0.0
|
| 3294 |
+
},
|
| 3295 |
+
{
|
| 3296 |
+
"timestamp_ms": 1621445924628,
|
| 3297 |
+
"score": 0.0
|
| 3298 |
+
},
|
| 3299 |
+
{
|
| 3300 |
+
"timestamp_ms": 1621446034624,
|
| 3301 |
+
"score": 0.0
|
| 3302 |
+
},
|
| 3303 |
+
{
|
| 3304 |
+
"timestamp_ms": 1621446142275,
|
| 3305 |
+
"score": 0.0
|
| 3306 |
+
},
|
| 3307 |
+
{
|
| 3308 |
+
"timestamp_ms": 1621446207557,
|
| 3309 |
+
"score": 0.0
|
| 3310 |
+
},
|
| 3311 |
+
{
|
| 3312 |
+
"timestamp_ms": 1621446262281,
|
| 3313 |
+
"score": 0.0
|
| 3314 |
+
},
|
| 3315 |
+
{
|
| 3316 |
+
"timestamp_ms": 1621446354151,
|
| 3317 |
+
"score": 0.0
|
| 3318 |
+
},
|
| 3319 |
+
{
|
| 3320 |
+
"timestamp_ms": 1621446449864,
|
| 3321 |
+
"score": 0.0
|
| 3322 |
+
},
|
| 3323 |
+
{
|
| 3324 |
+
"timestamp_ms": 1621446526970,
|
| 3325 |
+
"score": 0.0
|
| 3326 |
+
},
|
| 3327 |
+
{
|
| 3328 |
+
"timestamp_ms": 1621446625789,
|
| 3329 |
+
"score": 0.0
|
| 3330 |
+
},
|
| 3331 |
+
{
|
| 3332 |
+
"timestamp_ms": 1621446736524,
|
| 3333 |
+
"score": 0.0
|
| 3334 |
+
},
|
| 3335 |
+
{
|
| 3336 |
+
"timestamp_ms": 1621446857728,
|
| 3337 |
+
"score": 0.0
|
| 3338 |
+
},
|
| 3339 |
+
{
|
| 3340 |
+
"timestamp_ms": 1621446965836,
|
| 3341 |
+
"score": 0.0
|
| 3342 |
+
},
|
| 3343 |
+
{
|
| 3344 |
+
"timestamp_ms": 1621447094911,
|
| 3345 |
+
"score": 0.0
|
| 3346 |
+
},
|
| 3347 |
+
{
|
| 3348 |
+
"timestamp_ms": 1621447233323,
|
| 3349 |
+
"score": 0.0
|
| 3350 |
+
},
|
| 3351 |
+
{
|
| 3352 |
+
"timestamp_ms": 1621447347125,
|
| 3353 |
+
"score": 0.0
|
| 3354 |
+
},
|
| 3355 |
+
{
|
| 3356 |
+
"timestamp_ms": 1621447458357,
|
| 3357 |
+
"score": 0.0
|
| 3358 |
+
},
|
| 3359 |
+
{
|
| 3360 |
+
"timestamp_ms": 1621447530370,
|
| 3361 |
+
"score": 0.0
|
| 3362 |
+
},
|
| 3363 |
+
{
|
| 3364 |
+
"timestamp_ms": 1621447573532,
|
| 3365 |
+
"score": 0.0
|
| 3366 |
+
},
|
| 3367 |
+
{
|
| 3368 |
+
"timestamp_ms": 1621447639387,
|
| 3369 |
+
"score": 0.0
|
| 3370 |
+
},
|
| 3371 |
+
{
|
| 3372 |
+
"timestamp_ms": 1621447733021,
|
| 3373 |
+
"score": 0.0
|
| 3374 |
+
},
|
| 3375 |
+
{
|
| 3376 |
+
"timestamp_ms": 1621447802153,
|
| 3377 |
+
"score": 0.0
|
| 3378 |
+
},
|
| 3379 |
+
{
|
| 3380 |
+
"timestamp_ms": 1621447884345,
|
| 3381 |
+
"score": 0.0
|
| 3382 |
+
},
|
| 3383 |
+
{
|
| 3384 |
+
"timestamp_ms": 1621447966450,
|
| 3385 |
+
"score": 0.0
|
| 3386 |
+
},
|
| 3387 |
+
{
|
| 3388 |
+
"timestamp_ms": 1621448065311,
|
| 3389 |
+
"score": 0.0
|
| 3390 |
+
},
|
| 3391 |
+
{
|
| 3392 |
+
"timestamp_ms": 1621448163175,
|
| 3393 |
+
"score": 0.0
|
| 3394 |
+
},
|
| 3395 |
+
{
|
| 3396 |
+
"timestamp_ms": 1621448251702,
|
| 3397 |
+
"score": 0.0
|
| 3398 |
+
},
|
| 3399 |
+
{
|
| 3400 |
+
"timestamp_ms": 1621448302047,
|
| 3401 |
+
"score": 0.0
|
| 3402 |
+
},
|
| 3403 |
+
{
|
| 3404 |
+
"timestamp_ms": 1621448397944,
|
| 3405 |
+
"score": 0.0
|
| 3406 |
+
},
|
| 3407 |
+
{
|
| 3408 |
+
"timestamp_ms": 1621448474460,
|
| 3409 |
+
"score": 0.0
|
| 3410 |
+
},
|
| 3411 |
+
{
|
| 3412 |
+
"timestamp_ms": 1621448548034,
|
| 3413 |
+
"score": 0.0
|
| 3414 |
+
},
|
| 3415 |
+
{
|
| 3416 |
+
"timestamp_ms": 1621448641808,
|
| 3417 |
+
"score": 0.0
|
| 3418 |
+
},
|
| 3419 |
+
{
|
| 3420 |
+
"timestamp_ms": 1621448742876,
|
| 3421 |
+
"score": 0.0
|
| 3422 |
+
},
|
| 3423 |
+
{
|
| 3424 |
+
"timestamp_ms": 1621448854143,
|
| 3425 |
+
"score": 0.0
|
| 3426 |
+
},
|
| 3427 |
+
{
|
| 3428 |
+
"timestamp_ms": 1621448976620,
|
| 3429 |
+
"score": 0.0
|
| 3430 |
+
},
|
| 3431 |
+
{
|
| 3432 |
+
"timestamp_ms": 1621449105872,
|
| 3433 |
+
"score": 0.0
|
| 3434 |
+
},
|
| 3435 |
+
{
|
| 3436 |
+
"timestamp_ms": 1621449244888,
|
| 3437 |
+
"score": 0.0
|
| 3438 |
+
},
|
| 3439 |
+
{
|
| 3440 |
+
"timestamp_ms": 1621449366876,
|
| 3441 |
+
"score": 0.0
|
| 3442 |
+
},
|
| 3443 |
+
{
|
| 3444 |
+
"timestamp_ms": 1621449520104,
|
| 3445 |
+
"score": 0.0
|
| 3446 |
+
},
|
| 3447 |
+
{
|
| 3448 |
+
"timestamp_ms": 1621449634552,
|
| 3449 |
+
"score": 0.0
|
| 3450 |
+
},
|
| 3451 |
+
{
|
| 3452 |
+
"timestamp_ms": 1621449759686,
|
| 3453 |
+
"score": 0.0
|
| 3454 |
+
},
|
| 3455 |
+
{
|
| 3456 |
+
"timestamp_ms": 1621449854107,
|
| 3457 |
+
"score": 0.0
|
| 3458 |
+
},
|
| 3459 |
+
{
|
| 3460 |
+
"timestamp_ms": 1621449911979,
|
| 3461 |
+
"score": 0.0
|
| 3462 |
+
},
|
| 3463 |
+
{
|
| 3464 |
+
"timestamp_ms": 1621450002469,
|
| 3465 |
+
"score": 0.0
|
| 3466 |
+
},
|
| 3467 |
+
{
|
| 3468 |
+
"timestamp_ms": 1621450092712,
|
| 3469 |
+
"score": 0.0
|
| 3470 |
+
},
|
| 3471 |
+
{
|
| 3472 |
+
"timestamp_ms": 1621450232668,
|
| 3473 |
+
"score": 0.0
|
| 3474 |
+
},
|
| 3475 |
+
{
|
| 3476 |
+
"timestamp_ms": 1621450363716,
|
| 3477 |
+
"score": 0.0
|
| 3478 |
+
},
|
| 3479 |
+
{
|
| 3480 |
+
"timestamp_ms": 1621450507804,
|
| 3481 |
+
"score": 0.0
|
| 3482 |
+
},
|
| 3483 |
+
{
|
| 3484 |
+
"timestamp_ms": 1621450679074,
|
| 3485 |
+
"score": 0.0
|
| 3486 |
+
},
|
| 3487 |
+
{
|
| 3488 |
+
"timestamp_ms": 1621450827897,
|
| 3489 |
+
"score": 0.0
|
| 3490 |
+
},
|
| 3491 |
+
{
|
| 3492 |
+
"timestamp_ms": 1621450941709,
|
| 3493 |
+
"score": 0.0
|
| 3494 |
+
},
|
| 3495 |
+
{
|
| 3496 |
+
"timestamp_ms": 1621451027989,
|
| 3497 |
+
"score": 0.0
|
| 3498 |
+
},
|
| 3499 |
+
{
|
| 3500 |
+
"timestamp_ms": 1621451113439,
|
| 3501 |
+
"score": 0.0
|
| 3502 |
+
},
|
| 3503 |
+
{
|
| 3504 |
+
"timestamp_ms": 1621451214195,
|
| 3505 |
+
"score": 0.0
|
| 3506 |
+
},
|
| 3507 |
+
{
|
| 3508 |
+
"timestamp_ms": 1621451313433,
|
| 3509 |
+
"score": 0.0
|
| 3510 |
+
},
|
| 3511 |
+
{
|
| 3512 |
+
"timestamp_ms": 1621451439793,
|
| 3513 |
+
"score": 0.0
|
| 3514 |
+
},
|
| 3515 |
+
{
|
| 3516 |
+
"timestamp_ms": 1621451591017,
|
| 3517 |
+
"score": 0.0
|
| 3518 |
+
},
|
| 3519 |
+
{
|
| 3520 |
+
"timestamp_ms": 1621451725712,
|
| 3521 |
+
"score": 0.0
|
| 3522 |
+
},
|
| 3523 |
+
{
|
| 3524 |
+
"timestamp_ms": 1621451856532,
|
| 3525 |
+
"score": 0.0
|
| 3526 |
+
},
|
| 3527 |
+
{
|
| 3528 |
+
"timestamp_ms": 1621451988874,
|
| 3529 |
+
"score": 0.0
|
| 3530 |
+
},
|
| 3531 |
+
{
|
| 3532 |
+
"timestamp_ms": 1621452130349,
|
| 3533 |
+
"score": 0.0
|
| 3534 |
+
},
|
| 3535 |
+
{
|
| 3536 |
+
"timestamp_ms": 1621452261934,
|
| 3537 |
+
"score": 0.0
|
| 3538 |
+
},
|
| 3539 |
+
{
|
| 3540 |
+
"timestamp_ms": 1621452351453,
|
| 3541 |
+
"score": 0.0
|
| 3542 |
+
},
|
| 3543 |
+
{
|
| 3544 |
+
"timestamp_ms": 1621452472685,
|
| 3545 |
+
"score": 0.0
|
| 3546 |
+
},
|
| 3547 |
+
{
|
| 3548 |
+
"timestamp_ms": 1621452622803,
|
| 3549 |
+
"score": 0.0
|
| 3550 |
+
},
|
| 3551 |
+
{
|
| 3552 |
+
"timestamp_ms": 1621452758762,
|
| 3553 |
+
"score": 0.0
|
| 3554 |
+
},
|
| 3555 |
+
{
|
| 3556 |
+
"timestamp_ms": 1621452896575,
|
| 3557 |
+
"score": 0.0
|
| 3558 |
+
},
|
| 3559 |
+
{
|
| 3560 |
+
"timestamp_ms": 1621453046941,
|
| 3561 |
+
"score": 0.0
|
| 3562 |
+
},
|
| 3563 |
+
{
|
| 3564 |
+
"timestamp_ms": 1621453179108,
|
| 3565 |
+
"score": 0.0
|
| 3566 |
+
},
|
| 3567 |
+
{
|
| 3568 |
+
"timestamp_ms": 1621453293123,
|
| 3569 |
+
"score": 0.0
|
| 3570 |
+
},
|
| 3571 |
+
{
|
| 3572 |
+
"timestamp_ms": 1621453435950,
|
| 3573 |
+
"score": 0.0
|
| 3574 |
+
},
|
| 3575 |
+
{
|
| 3576 |
+
"timestamp_ms": 1621453526682,
|
| 3577 |
+
"score": 0.0
|
| 3578 |
+
},
|
| 3579 |
+
{
|
| 3580 |
+
"timestamp_ms": 1621453633636,
|
| 3581 |
+
"score": 0.0
|
| 3582 |
+
},
|
| 3583 |
+
{
|
| 3584 |
+
"timestamp_ms": 1621453752039,
|
| 3585 |
+
"score": 0.0
|
| 3586 |
+
},
|
| 3587 |
+
{
|
| 3588 |
+
"timestamp_ms": 1621453876144,
|
| 3589 |
+
"score": 0.0
|
| 3590 |
+
},
|
| 3591 |
+
{
|
| 3592 |
+
"timestamp_ms": 1621453990378,
|
| 3593 |
+
"score": 0.0
|
| 3594 |
+
},
|
| 3595 |
+
{
|
| 3596 |
+
"timestamp_ms": 1621454071879,
|
| 3597 |
+
"score": 0.0
|
| 3598 |
+
},
|
| 3599 |
+
{
|
| 3600 |
+
"timestamp_ms": 1621454156143,
|
| 3601 |
+
"score": 0.0
|
| 3602 |
+
},
|
| 3603 |
+
{
|
| 3604 |
+
"timestamp_ms": 1621454297665,
|
| 3605 |
+
"score": 0.0
|
| 3606 |
+
},
|
| 3607 |
+
{
|
| 3608 |
+
"timestamp_ms": 1621454410908,
|
| 3609 |
+
"score": 0.0
|
| 3610 |
+
},
|
| 3611 |
+
{
|
| 3612 |
+
"timestamp_ms": 1621454489029,
|
| 3613 |
+
"score": 0.0
|
| 3614 |
+
},
|
| 3615 |
+
{
|
| 3616 |
+
"timestamp_ms": 1621454576685,
|
| 3617 |
+
"score": 0.0
|
| 3618 |
+
},
|
| 3619 |
+
{
|
| 3620 |
+
"timestamp_ms": 1621454634101,
|
| 3621 |
+
"score": 0.0
|
| 3622 |
+
},
|
| 3623 |
+
{
|
| 3624 |
+
"timestamp_ms": 1621454717605,
|
| 3625 |
+
"score": 0.0
|
| 3626 |
+
},
|
| 3627 |
+
{
|
| 3628 |
+
"timestamp_ms": 1621454789803,
|
| 3629 |
+
"score": 0.0
|
| 3630 |
+
},
|
| 3631 |
+
{
|
| 3632 |
+
"timestamp_ms": 1621454901197,
|
| 3633 |
+
"score": 0.0
|
| 3634 |
+
},
|
| 3635 |
+
{
|
| 3636 |
+
"timestamp_ms": 1621454991808,
|
| 3637 |
+
"score": 0.0
|
| 3638 |
+
},
|
| 3639 |
+
{
|
| 3640 |
+
"timestamp_ms": 1621455096252,
|
| 3641 |
+
"score": 0.0
|
| 3642 |
+
},
|
| 3643 |
+
{
|
| 3644 |
+
"timestamp_ms": 1621455214677,
|
| 3645 |
+
"score": 0.0
|
| 3646 |
+
},
|
| 3647 |
+
{
|
| 3648 |
+
"timestamp_ms": 1621455342662,
|
| 3649 |
+
"score": 0.0
|
| 3650 |
+
},
|
| 3651 |
+
{
|
| 3652 |
+
"timestamp_ms": 1621455471800,
|
| 3653 |
+
"score": 0.0
|
| 3654 |
+
},
|
| 3655 |
+
{
|
| 3656 |
+
"timestamp_ms": 1621455584837,
|
| 3657 |
+
"score": 0.0
|
| 3658 |
+
},
|
| 3659 |
+
{
|
| 3660 |
+
"timestamp_ms": 1621455725070,
|
| 3661 |
+
"score": 0.0
|
| 3662 |
+
},
|
| 3663 |
+
{
|
| 3664 |
+
"timestamp_ms": 1621455844775,
|
| 3665 |
+
"score": 0.0
|
| 3666 |
+
},
|
| 3667 |
+
{
|
| 3668 |
+
"timestamp_ms": 1621456005588,
|
| 3669 |
+
"score": 0.0
|
| 3670 |
+
},
|
| 3671 |
+
{
|
| 3672 |
+
"timestamp_ms": 1621456157125,
|
| 3673 |
+
"score": 0.0
|
| 3674 |
+
},
|
| 3675 |
+
{
|
| 3676 |
+
"timestamp_ms": 1621456294042,
|
| 3677 |
+
"score": 0.0
|
| 3678 |
+
},
|
| 3679 |
+
{
|
| 3680 |
+
"timestamp_ms": 1621456441411,
|
| 3681 |
+
"score": 0.0
|
| 3682 |
+
},
|
| 3683 |
+
{
|
| 3684 |
+
"timestamp_ms": 1621456577168,
|
| 3685 |
+
"score": 0.0
|
| 3686 |
+
},
|
| 3687 |
+
{
|
| 3688 |
+
"timestamp_ms": 1621456653780,
|
| 3689 |
+
"score": 0.0
|
| 3690 |
+
},
|
| 3691 |
+
{
|
| 3692 |
+
"timestamp_ms": 1621456783056,
|
| 3693 |
+
"score": 0.0
|
| 3694 |
+
},
|
| 3695 |
+
{
|
| 3696 |
+
"timestamp_ms": 1621456894418,
|
| 3697 |
+
"score": 0.0
|
| 3698 |
+
},
|
| 3699 |
+
{
|
| 3700 |
+
"timestamp_ms": 1621457060018,
|
| 3701 |
+
"score": 0.0
|
| 3702 |
+
},
|
| 3703 |
+
{
|
| 3704 |
+
"timestamp_ms": 1621457190503,
|
| 3705 |
+
"score": 0.0
|
| 3706 |
+
},
|
| 3707 |
+
{
|
| 3708 |
+
"timestamp_ms": 1621457360578,
|
| 3709 |
+
"score": 0.0
|
| 3710 |
+
},
|
| 3711 |
+
{
|
| 3712 |
+
"timestamp_ms": 1621457511876,
|
| 3713 |
+
"score": 0.0
|
| 3714 |
+
},
|
| 3715 |
+
{
|
| 3716 |
+
"timestamp_ms": 1621457606848,
|
| 3717 |
+
"score": 0.0
|
| 3718 |
+
},
|
| 3719 |
+
{
|
| 3720 |
+
"timestamp_ms": 1621457664904,
|
| 3721 |
+
"score": 0.0
|
| 3722 |
+
},
|
| 3723 |
+
{
|
| 3724 |
+
"timestamp_ms": 1621457759325,
|
| 3725 |
+
"score": 0.0
|
| 3726 |
+
},
|
| 3727 |
+
{
|
| 3728 |
+
"timestamp_ms": 1621457899571,
|
| 3729 |
+
"score": 0.0
|
| 3730 |
+
},
|
| 3731 |
+
{
|
| 3732 |
+
"timestamp_ms": 1621458052614,
|
| 3733 |
+
"score": 0.0
|
| 3734 |
+
},
|
| 3735 |
+
{
|
| 3736 |
+
"timestamp_ms": 1621458199105,
|
| 3737 |
+
"score": 0.0
|
| 3738 |
+
},
|
| 3739 |
+
{
|
| 3740 |
+
"timestamp_ms": 1621458331443,
|
| 3741 |
+
"score": 0.0
|
| 3742 |
+
},
|
| 3743 |
+
{
|
| 3744 |
+
"timestamp_ms": 1621458499750,
|
| 3745 |
+
"score": 0.0
|
| 3746 |
+
},
|
| 3747 |
+
{
|
| 3748 |
+
"timestamp_ms": 1621458612401,
|
| 3749 |
+
"score": 0.0
|
| 3750 |
+
},
|
| 3751 |
+
{
|
| 3752 |
+
"timestamp_ms": 1621458721459,
|
| 3753 |
+
"score": 0.0
|
| 3754 |
+
},
|
| 3755 |
+
{
|
| 3756 |
+
"timestamp_ms": 1621458815912,
|
| 3757 |
+
"score": 0.0
|
| 3758 |
+
},
|
| 3759 |
+
{
|
| 3760 |
+
"timestamp_ms": 1621458910489,
|
| 3761 |
+
"score": 0.0
|
| 3762 |
+
},
|
| 3763 |
+
{
|
| 3764 |
+
"timestamp_ms": 1621458937365,
|
| 3765 |
+
"score": 0.0
|
| 3766 |
+
},
|
| 3767 |
+
{
|
| 3768 |
+
"timestamp_ms": 1621458990866,
|
| 3769 |
+
"score": 0.0
|
| 3770 |
+
},
|
| 3771 |
+
{
|
| 3772 |
+
"timestamp_ms": 1621459051813,
|
| 3773 |
+
"score": 0.0
|
| 3774 |
+
},
|
| 3775 |
+
{
|
| 3776 |
+
"timestamp_ms": 1621459121426,
|
| 3777 |
+
"score": 0.0
|
| 3778 |
+
},
|
| 3779 |
+
{
|
| 3780 |
+
"timestamp_ms": 1621459201222,
|
| 3781 |
+
"score": 0.0
|
| 3782 |
+
},
|
| 3783 |
+
{
|
| 3784 |
+
"timestamp_ms": 1621459285250,
|
| 3785 |
+
"score": 0.0
|
| 3786 |
+
},
|
| 3787 |
+
{
|
| 3788 |
+
"timestamp_ms": 1621459380052,
|
| 3789 |
+
"score": 0.0
|
| 3790 |
+
},
|
| 3791 |
+
{
|
| 3792 |
+
"timestamp_ms": 1621459466259,
|
| 3793 |
+
"score": 0.0
|
| 3794 |
+
},
|
| 3795 |
+
{
|
| 3796 |
+
"timestamp_ms": 1621459569578,
|
| 3797 |
+
"score": 0.0
|
| 3798 |
+
},
|
| 3799 |
+
{
|
| 3800 |
+
"timestamp_ms": 1621459715344,
|
| 3801 |
+
"score": 0.0
|
| 3802 |
+
},
|
| 3803 |
+
{
|
| 3804 |
+
"timestamp_ms": 1621459884193,
|
| 3805 |
+
"score": 0.0
|
| 3806 |
+
},
|
| 3807 |
+
{
|
| 3808 |
+
"timestamp_ms": 1621460044876,
|
| 3809 |
+
"score": 0.0
|
| 3810 |
+
},
|
| 3811 |
+
{
|
| 3812 |
+
"timestamp_ms": 1621460191129,
|
| 3813 |
+
"score": 0.0
|
| 3814 |
+
},
|
| 3815 |
+
{
|
| 3816 |
+
"timestamp_ms": 1621460382838,
|
| 3817 |
+
"score": 0.0
|
| 3818 |
+
},
|
| 3819 |
+
{
|
| 3820 |
+
"timestamp_ms": 1621460518962,
|
| 3821 |
+
"score": 0.0
|
| 3822 |
+
},
|
| 3823 |
+
{
|
| 3824 |
+
"timestamp_ms": 1621460654747,
|
| 3825 |
+
"score": 0.0
|
| 3826 |
+
},
|
| 3827 |
+
{
|
| 3828 |
+
"timestamp_ms": 1621460763511,
|
| 3829 |
+
"score": 0.0
|
| 3830 |
+
},
|
| 3831 |
+
{
|
| 3832 |
+
"timestamp_ms": 1621460939779,
|
| 3833 |
+
"score": 0.0
|
| 3834 |
+
},
|
| 3835 |
+
{
|
| 3836 |
+
"timestamp_ms": 1621461136872,
|
| 3837 |
+
"score": 0.0
|
| 3838 |
+
},
|
| 3839 |
+
{
|
| 3840 |
+
"timestamp_ms": 1621461385282,
|
| 3841 |
+
"score": 0.0
|
| 3842 |
+
},
|
| 3843 |
+
{
|
| 3844 |
+
"timestamp_ms": 1621461621124,
|
| 3845 |
+
"score": 0.0
|
| 3846 |
+
},
|
| 3847 |
+
{
|
| 3848 |
+
"timestamp_ms": 1621461739890,
|
| 3849 |
+
"score": 0.0
|
| 3850 |
+
},
|
| 3851 |
+
{
|
| 3852 |
+
"timestamp_ms": 1621461875643,
|
| 3853 |
+
"score": 0.0
|
| 3854 |
+
},
|
| 3855 |
+
{
|
| 3856 |
+
"timestamp_ms": 1621461981061,
|
| 3857 |
+
"score": 0.0
|
| 3858 |
+
},
|
| 3859 |
+
{
|
| 3860 |
+
"timestamp_ms": 1621462055199,
|
| 3861 |
+
"score": 0.0
|
| 3862 |
+
},
|
| 3863 |
+
{
|
| 3864 |
+
"timestamp_ms": 1621462197986,
|
| 3865 |
+
"score": 0.0
|
| 3866 |
+
},
|
| 3867 |
+
{
|
| 3868 |
+
"timestamp_ms": 1621462300941,
|
| 3869 |
+
"score": 0.0
|
| 3870 |
+
},
|
| 3871 |
+
{
|
| 3872 |
+
"timestamp_ms": 1621462421583,
|
| 3873 |
+
"score": 0.0
|
| 3874 |
+
},
|
| 3875 |
+
{
|
| 3876 |
+
"timestamp_ms": 1621462601362,
|
| 3877 |
+
"score": 0.0
|
| 3878 |
+
},
|
| 3879 |
+
{
|
| 3880 |
+
"timestamp_ms": 1621462691328,
|
| 3881 |
+
"score": 0.0
|
| 3882 |
+
},
|
| 3883 |
+
{
|
| 3884 |
+
"timestamp_ms": 1621462829969,
|
| 3885 |
+
"score": 0.0
|
| 3886 |
+
},
|
| 3887 |
+
{
|
| 3888 |
+
"timestamp_ms": 1621463008263,
|
| 3889 |
+
"score": 0.0
|
| 3890 |
+
},
|
| 3891 |
+
{
|
| 3892 |
+
"timestamp_ms": 1621463213294,
|
| 3893 |
+
"score": 0.0
|
| 3894 |
+
},
|
| 3895 |
+
{
|
| 3896 |
+
"timestamp_ms": 1621463415376,
|
| 3897 |
+
"score": 0.0
|
| 3898 |
+
},
|
| 3899 |
+
{
|
| 3900 |
+
"timestamp_ms": 1621463586495,
|
| 3901 |
+
"score": 0.0
|
| 3902 |
+
},
|
| 3903 |
+
{
|
| 3904 |
+
"timestamp_ms": 1621463756465,
|
| 3905 |
+
"score": 0.0
|
| 3906 |
+
},
|
| 3907 |
+
{
|
| 3908 |
+
"timestamp_ms": 1621463887324,
|
| 3909 |
+
"score": 0.0
|
| 3910 |
+
},
|
| 3911 |
+
{
|
| 3912 |
+
"timestamp_ms": 1621464045923,
|
| 3913 |
+
"score": 0.0
|
| 3914 |
+
},
|
| 3915 |
+
{
|
| 3916 |
+
"timestamp_ms": 1621464276526,
|
| 3917 |
+
"score": 0.0
|
| 3918 |
+
},
|
| 3919 |
+
{
|
| 3920 |
+
"timestamp_ms": 1621464436926,
|
| 3921 |
+
"score": 0.0
|
| 3922 |
+
},
|
| 3923 |
+
{
|
| 3924 |
+
"timestamp_ms": 1621464658066,
|
| 3925 |
+
"score": 0.0
|
| 3926 |
+
},
|
| 3927 |
+
{
|
| 3928 |
+
"timestamp_ms": 1621464867942,
|
| 3929 |
+
"score": 0.0
|
| 3930 |
+
},
|
| 3931 |
+
{
|
| 3932 |
+
"timestamp_ms": 1621465047247,
|
| 3933 |
+
"score": 0.0
|
| 3934 |
+
},
|
| 3935 |
+
{
|
| 3936 |
+
"timestamp_ms": 1621465274124,
|
| 3937 |
+
"score": 0.0
|
| 3938 |
+
},
|
| 3939 |
+
{
|
| 3940 |
+
"timestamp_ms": 1621465444745,
|
| 3941 |
+
"score": 0.0
|
| 3942 |
+
},
|
| 3943 |
+
{
|
| 3944 |
+
"timestamp_ms": 1621465511294,
|
| 3945 |
+
"score": 0.0
|
| 3946 |
+
},
|
| 3947 |
+
{
|
| 3948 |
+
"timestamp_ms": 1621465631748,
|
| 3949 |
+
"score": 0.0
|
| 3950 |
+
},
|
| 3951 |
+
{
|
| 3952 |
+
"timestamp_ms": 1621465724624,
|
| 3953 |
+
"score": 0.0
|
| 3954 |
+
},
|
| 3955 |
+
{
|
| 3956 |
+
"timestamp_ms": 1621465738859,
|
| 3957 |
+
"score": 0.0
|
| 3958 |
+
},
|
| 3959 |
+
{
|
| 3960 |
+
"timestamp_ms": 1621465805694,
|
| 3961 |
+
"score": 0.0
|
| 3962 |
+
},
|
| 3963 |
+
{
|
| 3964 |
+
"timestamp_ms": 1621465868921,
|
| 3965 |
+
"score": 0.0
|
| 3966 |
+
},
|
| 3967 |
+
{
|
| 3968 |
+
"timestamp_ms": 1621465922894,
|
| 3969 |
+
"score": 0.0
|
| 3970 |
+
},
|
| 3971 |
+
{
|
| 3972 |
+
"timestamp_ms": 1621466020932,
|
| 3973 |
+
"score": 0.0
|
| 3974 |
+
},
|
| 3975 |
+
{
|
| 3976 |
+
"timestamp_ms": 1621466115683,
|
| 3977 |
+
"score": 0.0
|
| 3978 |
+
},
|
| 3979 |
+
{
|
| 3980 |
+
"timestamp_ms": 1621466198166,
|
| 3981 |
+
"score": 0.0
|
| 3982 |
+
},
|
| 3983 |
+
{
|
| 3984 |
+
"timestamp_ms": 1621466296639,
|
| 3985 |
+
"score": 0.0
|
| 3986 |
+
},
|
| 3987 |
+
{
|
| 3988 |
+
"timestamp_ms": 1621466447136,
|
| 3989 |
+
"score": 0.0
|
| 3990 |
+
},
|
| 3991 |
+
{
|
| 3992 |
+
"timestamp_ms": 1621466602784,
|
| 3993 |
+
"score": 0.0
|
| 3994 |
+
},
|
| 3995 |
+
{
|
| 3996 |
+
"timestamp_ms": 1621466768475,
|
| 3997 |
+
"score": 0.0
|
| 3998 |
+
},
|
| 3999 |
+
{
|
| 4000 |
+
"timestamp_ms": 1621466946902,
|
| 4001 |
+
"score": 0.0
|
| 4002 |
+
},
|
| 4003 |
+
{
|
| 4004 |
+
"timestamp_ms": 1621467073657,
|
| 4005 |
+
"score": 0.0
|
| 4006 |
+
},
|
| 4007 |
+
{
|
| 4008 |
+
"timestamp_ms": 1621467260811,
|
| 4009 |
+
"score": 0.0
|
| 4010 |
+
},
|
| 4011 |
+
{
|
| 4012 |
+
"timestamp_ms": 1621467460958,
|
| 4013 |
+
"score": 0.0
|
| 4014 |
+
},
|
| 4015 |
+
{
|
| 4016 |
+
"timestamp_ms": 1621467649703,
|
| 4017 |
+
"score": 0.0
|
| 4018 |
+
},
|
| 4019 |
+
{
|
| 4020 |
+
"timestamp_ms": 1621467812635,
|
| 4021 |
+
"score": 0.0
|
| 4022 |
+
},
|
| 4023 |
+
{
|
| 4024 |
+
"timestamp_ms": 1621467901433,
|
| 4025 |
+
"score": 0.0
|
| 4026 |
+
},
|
| 4027 |
+
{
|
| 4028 |
+
"timestamp_ms": 1621467952675,
|
| 4029 |
+
"score": 0.0
|
| 4030 |
+
},
|
| 4031 |
+
{
|
| 4032 |
+
"timestamp_ms": 1621468011178,
|
| 4033 |
+
"score": 0.0
|
| 4034 |
+
},
|
| 4035 |
+
{
|
| 4036 |
+
"timestamp_ms": 1621468080914,
|
| 4037 |
+
"score": 0.0
|
| 4038 |
+
},
|
| 4039 |
+
{
|
| 4040 |
+
"timestamp_ms": 1621468203122,
|
| 4041 |
+
"score": 0.0
|
| 4042 |
+
},
|
| 4043 |
+
{
|
| 4044 |
+
"timestamp_ms": 1621468324410,
|
| 4045 |
+
"score": 0.0
|
| 4046 |
+
},
|
| 4047 |
+
{
|
| 4048 |
+
"timestamp_ms": 1621468386059,
|
| 4049 |
+
"score": 0.0
|
| 4050 |
+
},
|
| 4051 |
+
{
|
| 4052 |
+
"timestamp_ms": 1621468493019,
|
| 4053 |
+
"score": 0.0
|
| 4054 |
+
},
|
| 4055 |
+
{
|
| 4056 |
+
"timestamp_ms": 1621468598319,
|
| 4057 |
+
"score": 0.0
|
| 4058 |
+
},
|
| 4059 |
+
{
|
| 4060 |
+
"timestamp_ms": 1621468743265,
|
| 4061 |
+
"score": 0.0
|
| 4062 |
+
}
|
| 4063 |
+
]
|
| 4064 |
+
},
|
| 4065 |
+
"baseline": {
|
| 4066 |
+
"true_positives": 243,
|
| 4067 |
+
"false_positives": 0,
|
| 4068 |
+
"false_negatives": 0,
|
| 4069 |
+
"precision": 1.0,
|
| 4070 |
+
"recall": 1.0,
|
| 4071 |
+
"f1": 1.0,
|
| 4072 |
+
"ttd_ms": [
|
| 4073 |
+
0,
|
| 4074 |
+
0,
|
| 4075 |
+
0,
|
| 4076 |
+
0,
|
| 4077 |
+
0,
|
| 4078 |
+
0,
|
| 4079 |
+
0,
|
| 4080 |
+
0,
|
| 4081 |
+
0,
|
| 4082 |
+
0,
|
| 4083 |
+
0,
|
| 4084 |
+
0,
|
| 4085 |
+
0,
|
| 4086 |
+
0,
|
| 4087 |
+
0,
|
| 4088 |
+
0,
|
| 4089 |
+
0,
|
| 4090 |
+
0,
|
| 4091 |
+
0,
|
| 4092 |
+
0,
|
| 4093 |
+
0,
|
| 4094 |
+
0,
|
| 4095 |
+
0,
|
| 4096 |
+
0,
|
| 4097 |
+
0,
|
| 4098 |
+
0,
|
| 4099 |
+
0,
|
| 4100 |
+
0,
|
| 4101 |
+
0,
|
| 4102 |
+
0,
|
| 4103 |
+
0,
|
| 4104 |
+
0,
|
| 4105 |
+
0,
|
| 4106 |
+
0,
|
| 4107 |
+
0,
|
| 4108 |
+
0,
|
| 4109 |
+
0,
|
| 4110 |
+
0,
|
| 4111 |
+
0,
|
| 4112 |
+
0,
|
| 4113 |
+
0,
|
| 4114 |
+
0,
|
| 4115 |
+
0,
|
| 4116 |
+
0,
|
| 4117 |
+
0,
|
| 4118 |
+
0,
|
| 4119 |
+
0,
|
| 4120 |
+
0,
|
| 4121 |
+
0,
|
| 4122 |
+
0,
|
| 4123 |
+
0,
|
| 4124 |
+
0,
|
| 4125 |
+
0,
|
| 4126 |
+
0,
|
| 4127 |
+
0,
|
| 4128 |
+
0,
|
| 4129 |
+
0,
|
| 4130 |
+
0,
|
| 4131 |
+
0,
|
| 4132 |
+
0,
|
| 4133 |
+
0,
|
| 4134 |
+
0,
|
| 4135 |
+
0,
|
| 4136 |
+
0,
|
| 4137 |
+
0,
|
| 4138 |
+
0,
|
| 4139 |
+
0,
|
| 4140 |
+
0,
|
| 4141 |
+
0,
|
| 4142 |
+
0,
|
| 4143 |
+
0,
|
| 4144 |
+
0,
|
| 4145 |
+
0,
|
| 4146 |
+
0,
|
| 4147 |
+
0,
|
| 4148 |
+
0,
|
| 4149 |
+
0,
|
| 4150 |
+
0,
|
| 4151 |
+
0,
|
| 4152 |
+
0,
|
| 4153 |
+
0,
|
| 4154 |
+
0,
|
| 4155 |
+
0,
|
| 4156 |
+
0,
|
| 4157 |
+
0,
|
| 4158 |
+
0,
|
| 4159 |
+
0,
|
| 4160 |
+
0,
|
| 4161 |
+
0,
|
| 4162 |
+
0,
|
| 4163 |
+
0,
|
| 4164 |
+
0,
|
| 4165 |
+
0,
|
| 4166 |
+
0,
|
| 4167 |
+
0,
|
| 4168 |
+
0,
|
| 4169 |
+
0,
|
| 4170 |
+
0,
|
| 4171 |
+
0,
|
| 4172 |
+
0,
|
| 4173 |
+
0,
|
| 4174 |
+
0,
|
| 4175 |
+
0,
|
| 4176 |
+
0,
|
| 4177 |
+
0,
|
| 4178 |
+
0,
|
| 4179 |
+
0,
|
| 4180 |
+
0,
|
| 4181 |
+
0,
|
| 4182 |
+
0,
|
| 4183 |
+
0,
|
| 4184 |
+
0,
|
| 4185 |
+
0,
|
| 4186 |
+
0,
|
| 4187 |
+
0,
|
| 4188 |
+
0,
|
| 4189 |
+
0,
|
| 4190 |
+
0,
|
| 4191 |
+
0,
|
| 4192 |
+
0,
|
| 4193 |
+
0,
|
| 4194 |
+
0,
|
| 4195 |
+
0,
|
| 4196 |
+
0,
|
| 4197 |
+
0,
|
| 4198 |
+
0,
|
| 4199 |
+
0,
|
| 4200 |
+
0,
|
| 4201 |
+
0,
|
| 4202 |
+
0,
|
| 4203 |
+
0,
|
| 4204 |
+
0,
|
| 4205 |
+
0,
|
| 4206 |
+
0,
|
| 4207 |
+
0,
|
| 4208 |
+
0,
|
| 4209 |
+
0,
|
| 4210 |
+
0,
|
| 4211 |
+
0,
|
| 4212 |
+
0,
|
| 4213 |
+
0,
|
| 4214 |
+
0,
|
| 4215 |
+
0,
|
| 4216 |
+
0,
|
| 4217 |
+
0,
|
| 4218 |
+
0,
|
| 4219 |
+
0,
|
| 4220 |
+
0,
|
| 4221 |
+
0,
|
| 4222 |
+
0,
|
| 4223 |
+
0,
|
| 4224 |
+
0,
|
| 4225 |
+
0,
|
| 4226 |
+
0,
|
| 4227 |
+
0,
|
| 4228 |
+
0,
|
| 4229 |
+
0,
|
| 4230 |
+
0,
|
| 4231 |
+
0,
|
| 4232 |
+
0,
|
| 4233 |
+
0,
|
| 4234 |
+
0,
|
| 4235 |
+
0,
|
| 4236 |
+
0,
|
| 4237 |
+
0,
|
| 4238 |
+
0,
|
| 4239 |
+
0,
|
| 4240 |
+
0,
|
| 4241 |
+
0,
|
| 4242 |
+
0,
|
| 4243 |
+
0,
|
| 4244 |
+
0,
|
| 4245 |
+
0,
|
| 4246 |
+
0,
|
| 4247 |
+
0,
|
| 4248 |
+
0,
|
| 4249 |
+
0,
|
| 4250 |
+
0,
|
| 4251 |
+
0,
|
| 4252 |
+
0,
|
| 4253 |
+
0,
|
| 4254 |
+
0,
|
| 4255 |
+
0,
|
| 4256 |
+
0,
|
| 4257 |
+
0,
|
| 4258 |
+
0,
|
| 4259 |
+
0,
|
| 4260 |
+
0,
|
| 4261 |
+
0,
|
| 4262 |
+
0,
|
| 4263 |
+
0,
|
| 4264 |
+
0,
|
| 4265 |
+
0,
|
| 4266 |
+
0,
|
| 4267 |
+
0,
|
| 4268 |
+
0,
|
| 4269 |
+
0,
|
| 4270 |
+
0,
|
| 4271 |
+
0,
|
| 4272 |
+
0,
|
| 4273 |
+
0,
|
| 4274 |
+
0,
|
| 4275 |
+
0,
|
| 4276 |
+
0,
|
| 4277 |
+
0,
|
| 4278 |
+
0,
|
| 4279 |
+
0,
|
| 4280 |
+
0,
|
| 4281 |
+
0,
|
| 4282 |
+
0,
|
| 4283 |
+
0,
|
| 4284 |
+
0,
|
| 4285 |
+
0,
|
| 4286 |
+
0,
|
| 4287 |
+
0,
|
| 4288 |
+
0,
|
| 4289 |
+
0,
|
| 4290 |
+
0,
|
| 4291 |
+
0,
|
| 4292 |
+
0,
|
| 4293 |
+
0,
|
| 4294 |
+
0,
|
| 4295 |
+
0,
|
| 4296 |
+
0,
|
| 4297 |
+
0,
|
| 4298 |
+
0,
|
| 4299 |
+
0,
|
| 4300 |
+
0,
|
| 4301 |
+
0,
|
| 4302 |
+
0,
|
| 4303 |
+
0,
|
| 4304 |
+
0,
|
| 4305 |
+
0,
|
| 4306 |
+
0,
|
| 4307 |
+
0,
|
| 4308 |
+
0,
|
| 4309 |
+
0,
|
| 4310 |
+
0,
|
| 4311 |
+
0,
|
| 4312 |
+
0,
|
| 4313 |
+
0,
|
| 4314 |
+
0,
|
| 4315 |
+
0
|
| 4316 |
+
],
|
| 4317 |
+
"median_ttd_ms": 0.0,
|
| 4318 |
+
"mean_ttd_ms": 0.0,
|
| 4319 |
+
"n_ticks": 500000,
|
| 4320 |
+
"n_crashes": 243,
|
| 4321 |
+
"n_alerts": 243
|
| 4322 |
+
}
|
| 4323 |
+
}
|
scripts/backtest_windows.py
ADDED
|
@@ -0,0 +1,291 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Backtest the trained TCN on real crash data using the window approach.
|
| 3 |
+
|
| 4 |
+
Slides the trained TCN over crash-day data and fires alerts when it
|
| 5 |
+
predicts "crash" with high confidence. Compares against a naive
|
| 6 |
+
threshold baseline.
|
| 7 |
+
|
| 8 |
+
Usage:
|
| 9 |
+
python scripts/backtest_windows.py \
|
| 10 |
+
--data data/parquet/BTCUSDT_2021-05-19.parquet \
|
| 11 |
+
--model models/stage3_tcn_trained.pt \
|
| 12 |
+
--output results/window_backtest.json
|
| 13 |
+
"""
|
| 14 |
+
import argparse
|
| 15 |
+
import json
|
| 16 |
+
import logging
|
| 17 |
+
import sys
|
| 18 |
+
import time
|
| 19 |
+
from collections import deque
|
| 20 |
+
from pathlib import Path
|
| 21 |
+
|
| 22 |
+
import numpy as np
|
| 23 |
+
import pandas as pd
|
| 24 |
+
import torch
|
| 25 |
+
|
| 26 |
+
ML_DIR = Path(__file__).resolve().parent.parent / "ml"
|
| 27 |
+
sys.path.insert(0, str(ML_DIR))
|
| 28 |
+
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
| 29 |
+
sys.path.insert(0, str(PROJECT_ROOT))
|
| 30 |
+
|
| 31 |
+
from flash_crash_watchdog.data.historical_loader import df_to_ticks, load_parquet
|
| 32 |
+
from flash_crash_watchdog.data.labels import label_crashes
|
| 33 |
+
from flash_crash_watchdog.features import FEATURE_NAMES, FeatureExtractor
|
| 34 |
+
from flash_crash_watchdog.models.stage3_tcn import TCNDetector, TCNConfig
|
| 35 |
+
|
| 36 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 37 |
+
logger = logging.getLogger(__name__)
|
| 38 |
+
|
| 39 |
+
TCN_FEATURES = FEATURE_NAMES[:17]
|
| 40 |
+
WINDOW_SIZE = 200
|
| 41 |
+
ALERT_THRESHOLD = 0.6 # TCN score above this = alert
|
| 42 |
+
BASELINE_DROP_PCT = 2.0 # baseline: alert if price drops 2% in 60s
|
| 43 |
+
BASELINE_WINDOW_MS = 60_000
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def load_trained_tcn(model_path: str, device: str = "auto") -> TCNDetector:
|
| 47 |
+
"""Load a trained TCN from disk."""
|
| 48 |
+
if device == "auto":
|
| 49 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 50 |
+
|
| 51 |
+
data = torch.load(model_path, map_location=device, weights_only=False)
|
| 52 |
+
config = data["config"]
|
| 53 |
+
model = TCNDetector(config).to(device)
|
| 54 |
+
model.load_state_dict(data["model_state"])
|
| 55 |
+
model.eval()
|
| 56 |
+
logger.info("Loaded TCN from %s (device=%s)", model_path, device)
|
| 57 |
+
return model
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def run_tcn_backtest(
|
| 61 |
+
model: TCNDetector,
|
| 62 |
+
df: pd.DataFrame,
|
| 63 |
+
max_ticks: int = 500_000,
|
| 64 |
+
device: str = "cpu",
|
| 65 |
+
) -> dict:
|
| 66 |
+
"""Slide the TCN over crash-day data, fire alerts, measure TTD."""
|
| 67 |
+
if max_ticks > 0 and len(df) > max_ticks:
|
| 68 |
+
indices = np.linspace(0, len(df) - 1, max_ticks, dtype=int)
|
| 69 |
+
df = df.iloc[indices].copy()
|
| 70 |
+
logger.info("Sampled to %d ticks", len(df))
|
| 71 |
+
|
| 72 |
+
extractor = FeatureExtractor()
|
| 73 |
+
feature_window = deque(maxlen=WINDOW_SIZE)
|
| 74 |
+
|
| 75 |
+
# Extract ground-truth crash labels
|
| 76 |
+
ticks = list(df_to_ticks(df, symbol="BACKTEST"))
|
| 77 |
+
crashes = label_crashes(ticks, drop_threshold_pct=BASELINE_DROP_PCT,
|
| 78 |
+
window_ms=BASELINE_WINDOW_MS)
|
| 79 |
+
logger.info("Found %d ground-truth crash windows", len(crashes))
|
| 80 |
+
|
| 81 |
+
# Run TCN
|
| 82 |
+
alerts = []
|
| 83 |
+
tcn_scores = []
|
| 84 |
+
t0 = time.time()
|
| 85 |
+
|
| 86 |
+
for i, tick in enumerate(ticks):
|
| 87 |
+
if i % 50000 == 0:
|
| 88 |
+
elapsed = time.time() - t0
|
| 89 |
+
rate = (i + 1) / max(1, elapsed)
|
| 90 |
+
logger.info(" Processing tick %d/%d (%.0f/sec, %.0fs elapsed)",
|
| 91 |
+
i, len(ticks), rate, elapsed)
|
| 92 |
+
|
| 93 |
+
features = extractor.extract(tick)
|
| 94 |
+
vec = np.array([features.get(f, 0.0) for f in TCN_FEATURES])
|
| 95 |
+
feature_window.append(vec)
|
| 96 |
+
|
| 97 |
+
if len(feature_window) < WINDOW_SIZE:
|
| 98 |
+
continue
|
| 99 |
+
|
| 100 |
+
# Score the window
|
| 101 |
+
window_array = np.array(list(feature_window))
|
| 102 |
+
with torch.no_grad():
|
| 103 |
+
x = torch.FloatTensor(window_array).T.unsqueeze(0).to(device)
|
| 104 |
+
scores = model(x)
|
| 105 |
+
score = float(scores[0, -1].item())
|
| 106 |
+
|
| 107 |
+
tcn_scores.append({"timestamp_ms": tick.timestamp_ms, "score": score})
|
| 108 |
+
|
| 109 |
+
if score >= ALERT_THRESHOLD:
|
| 110 |
+
alerts.append({
|
| 111 |
+
"timestamp_ms": tick.timestamp_ms,
|
| 112 |
+
"score": score,
|
| 113 |
+
"mid_price": tick.book.mid_price,
|
| 114 |
+
})
|
| 115 |
+
|
| 116 |
+
logger.info("TCN backtest: %d ticks, %d alerts, %.1fs",
|
| 117 |
+
len(ticks), len(alerts), time.time() - t0)
|
| 118 |
+
|
| 119 |
+
# Evaluate against ground truth
|
| 120 |
+
results = evaluate_alerts(alerts, crashes)
|
| 121 |
+
results["n_ticks"] = len(ticks)
|
| 122 |
+
results["n_crashes"] = len(crashes)
|
| 123 |
+
results["n_alerts"] = len(alerts)
|
| 124 |
+
results["tcn_scores_sample"] = tcn_scores[::max(1, len(tcn_scores) // 1000)] # downsample
|
| 125 |
+
|
| 126 |
+
return results
|
| 127 |
+
|
| 128 |
+
|
| 129 |
+
def run_baseline_backtest(df: pd.DataFrame, max_ticks: int = 500_000) -> dict:
|
| 130 |
+
"""Run a naive threshold-based baseline detector.
|
| 131 |
+
|
| 132 |
+
Fires an alert when the mid-price drops ≥ 2% within 60 seconds.
|
| 133 |
+
This is what production circuit breakers do.
|
| 134 |
+
"""
|
| 135 |
+
if max_ticks > 0 and len(df) > max_ticks:
|
| 136 |
+
indices = np.linspace(0, len(df) - 1, max_ticks, dtype=int)
|
| 137 |
+
df = df.iloc[indices].copy()
|
| 138 |
+
|
| 139 |
+
ticks = list(df_to_ticks(df, symbol="BASELINE"))
|
| 140 |
+
crashes = label_crashes(ticks, drop_threshold_pct=BASELINE_DROP_PCT,
|
| 141 |
+
window_ms=BASELINE_WINDOW_MS)
|
| 142 |
+
|
| 143 |
+
# Baseline: alert at the moment the price has dropped ≥ threshold
|
| 144 |
+
alerts = []
|
| 145 |
+
peak_price = ticks[0].book.mid_price or 0.0
|
| 146 |
+
peak_ts = ticks[0].timestamp_ms
|
| 147 |
+
|
| 148 |
+
for tick in ticks:
|
| 149 |
+
mid = tick.book.mid_price
|
| 150 |
+
if mid is None or mid <= 0:
|
| 151 |
+
continue
|
| 152 |
+
|
| 153 |
+
ts = tick.timestamp_ms
|
| 154 |
+
if ts - peak_ts > BASELINE_WINDOW_MS:
|
| 155 |
+
peak_price = mid
|
| 156 |
+
peak_ts = ts
|
| 157 |
+
continue
|
| 158 |
+
|
| 159 |
+
if mid > peak_price:
|
| 160 |
+
peak_price = mid
|
| 161 |
+
peak_ts = ts
|
| 162 |
+
|
| 163 |
+
if peak_price > 0:
|
| 164 |
+
drop_pct = (peak_price - mid) / peak_price * 100
|
| 165 |
+
if drop_pct >= BASELINE_DROP_PCT:
|
| 166 |
+
alerts.append({
|
| 167 |
+
"timestamp_ms": ts,
|
| 168 |
+
"drop_pct": drop_pct,
|
| 169 |
+
"mid_price": mid,
|
| 170 |
+
})
|
| 171 |
+
peak_price = mid
|
| 172 |
+
peak_ts = ts
|
| 173 |
+
|
| 174 |
+
results = evaluate_alerts(alerts, crashes)
|
| 175 |
+
results["n_ticks"] = len(ticks)
|
| 176 |
+
results["n_crashes"] = len(crashes)
|
| 177 |
+
results["n_alerts"] = len(alerts)
|
| 178 |
+
return results
|
| 179 |
+
|
| 180 |
+
|
| 181 |
+
def evaluate_alerts(alerts: list[dict], crashes: list) -> dict:
|
| 182 |
+
"""Evaluate alerts against ground-truth crash windows."""
|
| 183 |
+
true_positives = 0
|
| 184 |
+
false_positives = 0
|
| 185 |
+
ttd_ms = []
|
| 186 |
+
matched_crashes = set()
|
| 187 |
+
|
| 188 |
+
for alert in alerts:
|
| 189 |
+
alert_ts = alert["timestamp_ms"]
|
| 190 |
+
matched = False
|
| 191 |
+
for j, crash in enumerate(crashes):
|
| 192 |
+
if j in matched_crashes:
|
| 193 |
+
continue
|
| 194 |
+
# Alert fires within the crash window or up to 5s before
|
| 195 |
+
if crash.start_ts - 5000 <= alert_ts <= crash.end_ts:
|
| 196 |
+
true_positives += 1
|
| 197 |
+
matched_crashes.add(j)
|
| 198 |
+
ttd = crash.end_ts - alert_ts # positive = before crash
|
| 199 |
+
ttd_ms.append(ttd)
|
| 200 |
+
matched = True
|
| 201 |
+
break
|
| 202 |
+
if not matched:
|
| 203 |
+
false_positives += 1
|
| 204 |
+
|
| 205 |
+
false_negatives = len(crashes) - true_positives
|
| 206 |
+
precision = true_positives / max(1, true_positives + false_positives)
|
| 207 |
+
recall = true_positives / max(1, len(crashes))
|
| 208 |
+
f1 = 2 * precision * recall / max(1e-6, precision + recall)
|
| 209 |
+
|
| 210 |
+
return {
|
| 211 |
+
"true_positives": true_positives,
|
| 212 |
+
"false_positives": false_positives,
|
| 213 |
+
"false_negatives": false_negatives,
|
| 214 |
+
"precision": precision,
|
| 215 |
+
"recall": recall,
|
| 216 |
+
"f1": f1,
|
| 217 |
+
"ttd_ms": ttd_ms,
|
| 218 |
+
"median_ttd_ms": float(np.median(ttd_ms)) if ttd_ms else 0.0,
|
| 219 |
+
"mean_ttd_ms": float(np.mean(ttd_ms)) if ttd_ms else 0.0,
|
| 220 |
+
}
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
def main() -> int:
|
| 224 |
+
global ALERT_THRESHOLD
|
| 225 |
+
parser = argparse.ArgumentParser(description="Window-based backtest with trained TCN")
|
| 226 |
+
parser.add_argument("--data", required=True, help="Parquet file of crash data")
|
| 227 |
+
parser.add_argument("--model", required=True, help="Trained TCN model path")
|
| 228 |
+
parser.add_argument("--output", default="results/window_backtest.json")
|
| 229 |
+
parser.add_argument("--max-ticks", type=int, default=500_000)
|
| 230 |
+
parser.add_argument("--threshold", type=float, default=ALERT_THRESHOLD)
|
| 231 |
+
args = parser.parse_args()
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
ALERT_THRESHOLD = args.threshold
|
| 235 |
+
|
| 236 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 237 |
+
|
| 238 |
+
# Load data
|
| 239 |
+
df = load_parquet(args.data)
|
| 240 |
+
logger.info("Loaded %d ticks", len(df))
|
| 241 |
+
|
| 242 |
+
# Load model
|
| 243 |
+
model = load_trained_tcn(args.model, device=device)
|
| 244 |
+
|
| 245 |
+
# Run TCN backtest
|
| 246 |
+
logger.info("\n" + "=" * 60)
|
| 247 |
+
logger.info("TCN DETECTOR BACKTEST")
|
| 248 |
+
logger.info("=" * 60)
|
| 249 |
+
tcn_results = run_tcn_backtest(model, df, max_ticks=args.max_ticks, device=device)
|
| 250 |
+
|
| 251 |
+
# Run baseline
|
| 252 |
+
logger.info("\n" + "=" * 60)
|
| 253 |
+
logger.info("BASELINE (threshold circuit breaker)")
|
| 254 |
+
logger.info("=" * 60)
|
| 255 |
+
baseline_results = run_baseline_backtest(df, max_ticks=args.max_ticks)
|
| 256 |
+
|
| 257 |
+
# Print comparison
|
| 258 |
+
logger.info("\n" + "=" * 60)
|
| 259 |
+
logger.info("RESULTS COMPARISON")
|
| 260 |
+
logger.info("=" * 60)
|
| 261 |
+
logger.info("%-25s %-15s %-15s", "", "TCN Detector", "Baseline")
|
| 262 |
+
logger.info("-" * 60)
|
| 263 |
+
logger.info("%-25s %-15d %-15d", "Alerts", tcn_results["n_alerts"], baseline_results["n_alerts"])
|
| 264 |
+
logger.info("%-25s %-15d %-15d", "True positives", tcn_results["true_positives"], baseline_results["true_positives"])
|
| 265 |
+
logger.info("%-25s %-15d %-15d", "False positives", tcn_results["false_positives"], baseline_results["false_positives"])
|
| 266 |
+
logger.info("%-25s %-15d %-15d", "False negatives", tcn_results["false_negatives"], baseline_results["false_negatives"])
|
| 267 |
+
logger.info("%-25s %-15.3f %-15.3f", "Precision", tcn_results["precision"], baseline_results["precision"])
|
| 268 |
+
logger.info("%-25s %-15.3f %-15.3f", "Recall", tcn_results["recall"], baseline_results["recall"])
|
| 269 |
+
logger.info("%-25s %-15.3f %-15.3f", "F1", tcn_results["f1"], baseline_results["f1"])
|
| 270 |
+
logger.info("%-25s %-15.1f %-15.1f", "Median TTD (ms)", tcn_results["median_ttd_ms"], baseline_results["median_ttd_ms"])
|
| 271 |
+
logger.info("=" * 60)
|
| 272 |
+
|
| 273 |
+
if tcn_results["median_ttd_ms"] > 0:
|
| 274 |
+
logger.info("TCN fires %.1f ms BEFORE the crash (early warning!)", tcn_results["median_ttd_ms"])
|
| 275 |
+
if baseline_results["median_ttd_ms"] > 0:
|
| 276 |
+
logger.info("Baseline fires %.1f ms AFTER the crash (too late)", -baseline_results["median_ttd_ms"])
|
| 277 |
+
|
| 278 |
+
# Save
|
| 279 |
+
output_path = Path(args.output)
|
| 280 |
+
output_path.parent.mkdir(parents=True, exist_ok=True)
|
| 281 |
+
with open(output_path, "w") as f:
|
| 282 |
+
json.dump({
|
| 283 |
+
"tcn": tcn_results,
|
| 284 |
+
"baseline": baseline_results,
|
| 285 |
+
}, f, indent=2, default=str)
|
| 286 |
+
logger.info("Saved to %s", output_path)
|
| 287 |
+
return 0
|
| 288 |
+
|
| 289 |
+
|
| 290 |
+
if __name__ == "__main__":
|
| 291 |
+
raise SystemExit(main())
|
scripts/capture_cross_exchange.py
ADDED
|
@@ -0,0 +1,366 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Live WebSocket capture for Coinbase + Kraken — cross-exchange depth.
|
| 3 |
+
|
| 4 |
+
Records L2 order book snapshots from Coinbase and Kraken simultaneously,
|
| 5 |
+
so you can compute cross-exchange spreads (the Stage 4 Transformer signal).
|
| 6 |
+
|
| 7 |
+
Usage:
|
| 8 |
+
# Record Coinbase BTC-USD depth for 2 hours
|
| 9 |
+
python scripts/capture_cross_exchange.py --exchange coinbase --hours 2
|
| 10 |
+
|
| 11 |
+
# Record Kraken XBT-USD depth for 30 minutes
|
| 12 |
+
python scripts/capture_cross_exchange.py --exchange kraken --minutes 30
|
| 13 |
+
|
| 14 |
+
# Record both exchanges simultaneously
|
| 15 |
+
python scripts/capture_cross_exchange.py --exchange both --hours 2
|
| 16 |
+
"""
|
| 17 |
+
import argparse
|
| 18 |
+
import asyncio
|
| 19 |
+
import json
|
| 20 |
+
import logging
|
| 21 |
+
import signal
|
| 22 |
+
import time
|
| 23 |
+
from datetime import datetime
|
| 24 |
+
from pathlib import Path
|
| 25 |
+
|
| 26 |
+
import pandas as pd
|
| 27 |
+
|
| 28 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 29 |
+
logger = logging.getLogger(__name__)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
class CoinbaseDepthRecorder:
|
| 33 |
+
"""Records L2 depth from Coinbase Advanced Trade WebSocket.
|
| 34 |
+
|
| 35 |
+
Coinbase uses a different protocol — subscribes to level2_batch channel.
|
| 36 |
+
"""
|
| 37 |
+
|
| 38 |
+
WS_URL = "wss://ws-feed.exchange.coinbase.com"
|
| 39 |
+
|
| 40 |
+
def __init__(self, product_ids: list[str], out_path: Path) -> None:
|
| 41 |
+
self.product_ids = product_ids
|
| 42 |
+
self.out_path = out_path
|
| 43 |
+
self.records: list[dict] = []
|
| 44 |
+
self._running = False
|
| 45 |
+
self._start_time = 0.0
|
| 46 |
+
self._last_save = 0.0
|
| 47 |
+
|
| 48 |
+
async def run(self, duration_seconds: float) -> None:
|
| 49 |
+
self._running = True
|
| 50 |
+
self._start_time = time.time()
|
| 51 |
+
|
| 52 |
+
def signal_handler(sig, frame):
|
| 53 |
+
self._running = False
|
| 54 |
+
signal.signal(signal.SIGINT, signal_handler)
|
| 55 |
+
|
| 56 |
+
logger.info("=" * 70)
|
| 57 |
+
logger.info(" COINBASE DEPTH CAPTURE")
|
| 58 |
+
logger.info(" Products: %s", ", ".join(self.product_ids))
|
| 59 |
+
logger.info(" Duration: %.0f seconds", duration_seconds)
|
| 60 |
+
logger.info(" Output: %s", self.out_path)
|
| 61 |
+
logger.info("=" * 70)
|
| 62 |
+
|
| 63 |
+
import websockets
|
| 64 |
+
|
| 65 |
+
subscribe_msg = {
|
| 66 |
+
"type": "subscribe",
|
| 67 |
+
"product_ids": self.product_ids,
|
| 68 |
+
"channels": ["level2_batch"],
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
while self._running and (time.time() - self._start_time) < duration_seconds:
|
| 72 |
+
try:
|
| 73 |
+
# max_size=16MB — Coinbase level2_batch can be large
|
| 74 |
+
async with websockets.connect(self.WS_URL, ping_interval=10, max_size=16 * 1024 * 1024) as ws:
|
| 75 |
+
await ws.send(json.dumps(subscribe_msg))
|
| 76 |
+
logger.info("Connected to Coinbase WebSocket. Recording...")
|
| 77 |
+
|
| 78 |
+
while self._running and (time.time() - self._start_time) < duration_seconds:
|
| 79 |
+
try:
|
| 80 |
+
raw = await asyncio.wait_for(ws.recv(), timeout=5.0)
|
| 81 |
+
msg = json.loads(raw)
|
| 82 |
+
self._handle_message(msg)
|
| 83 |
+
except asyncio.TimeoutError:
|
| 84 |
+
pass
|
| 85 |
+
|
| 86 |
+
if time.time() - self._last_save > 60:
|
| 87 |
+
self._save()
|
| 88 |
+
elapsed = time.time() - self._start_time
|
| 89 |
+
rate = len(self.records) / max(1, elapsed)
|
| 90 |
+
logger.info(" %d records (%.1f rec/sec, %.0fs elapsed)",
|
| 91 |
+
len(self.records), rate, elapsed)
|
| 92 |
+
except Exception as e:
|
| 93 |
+
logger.error("Coinbase WebSocket error: %s — reconnecting in 2s...", e)
|
| 94 |
+
await asyncio.sleep(2)
|
| 95 |
+
|
| 96 |
+
self._save()
|
| 97 |
+
logger.info("Capture complete: %d records -> %s", len(self.records), self.out_path)
|
| 98 |
+
|
| 99 |
+
def _handle_message(self, msg) -> None:
|
| 100 |
+
"""Handle Coinbase level2_batch messages.
|
| 101 |
+
|
| 102 |
+
Coinbase sends several message types:
|
| 103 |
+
- Subscriptions confirmations (dict with type='subscriptions')
|
| 104 |
+
- Heartbeats (dict with type='heartbeat')
|
| 105 |
+
- Tickers (dict with type='ticker')
|
| 106 |
+
- Level2 snapshots (dict with type='snapshot')
|
| 107 |
+
- Level2 updates (dict with type='l2update')
|
| 108 |
+
- Some messages come as lists (arrays) — skip those
|
| 109 |
+
|
| 110 |
+
Defensive: every .get() call is preceded by an isinstance check.
|
| 111 |
+
"""
|
| 112 |
+
# Skip non-dict messages (Coinbase sometimes sends arrays)
|
| 113 |
+
if not isinstance(msg, dict):
|
| 114 |
+
return
|
| 115 |
+
|
| 116 |
+
msg_type = msg.get("type")
|
| 117 |
+
ts = int(time.time() * 1000)
|
| 118 |
+
product = msg.get("product_id", "")
|
| 119 |
+
|
| 120 |
+
# Only process level2 data — skip subscriptions, heartbeats, tickers
|
| 121 |
+
if msg_type not in ("snapshot", "l2update"):
|
| 122 |
+
return
|
| 123 |
+
|
| 124 |
+
try:
|
| 125 |
+
if msg_type == "snapshot":
|
| 126 |
+
# Initial full book snapshot
|
| 127 |
+
# Format: {"type": "snapshot", "product_id": "BTC-USD",
|
| 128 |
+
# "bids": [["price", "size"], ...], "asks": [["price", "size"], ...]}
|
| 129 |
+
bids = msg.get("bids", [])[:10]
|
| 130 |
+
asks = msg.get("asks", [])[:10]
|
| 131 |
+
self._record_snapshot(ts, product, bids, asks)
|
| 132 |
+
elif msg_type == "l2update":
|
| 133 |
+
# Incremental update
|
| 134 |
+
# Format: {"type": "l2update", "product_id": "BTC-USD",
|
| 135 |
+
# "changes": [["side", "price", "size"], ...]}
|
| 136 |
+
# NOTE: changes is a list of LISTS, not dicts!
|
| 137 |
+
changes = msg.get("changes", [])
|
| 138 |
+
bids = []
|
| 139 |
+
asks = []
|
| 140 |
+
for change in changes:
|
| 141 |
+
if not isinstance(change, (list, tuple)) or len(change) < 3:
|
| 142 |
+
continue
|
| 143 |
+
side, price, size = change[0], change[1], change[2]
|
| 144 |
+
if side == "buy":
|
| 145 |
+
bids.append([price, size])
|
| 146 |
+
elif side == "sell":
|
| 147 |
+
asks.append([price, size])
|
| 148 |
+
bids = bids[:10]
|
| 149 |
+
asks = asks[:10]
|
| 150 |
+
if bids or asks:
|
| 151 |
+
self._record_snapshot(ts, product, bids, asks)
|
| 152 |
+
except Exception as e:
|
| 153 |
+
logger.debug("Handle message error: %s", e)
|
| 154 |
+
|
| 155 |
+
def _record_snapshot(self, ts: int, product: str, bids: list, asks: list) -> None:
|
| 156 |
+
try:
|
| 157 |
+
best_bid = float(bids[0][0]) if bids else 0.0
|
| 158 |
+
best_ask = float(asks[0][0]) if asks else 0.0
|
| 159 |
+
bid_depth_10 = sum(float(b[1]) for b in bids[:10])
|
| 160 |
+
ask_depth_10 = sum(float(a[1]) for a in asks[:10])
|
| 161 |
+
obi = (bid_depth_10 - ask_depth_10) / (bid_depth_10 + ask_depth_10) if (bid_depth_10 + ask_depth_10) > 0 else 0.0
|
| 162 |
+
mid = (best_bid + best_ask) / 2.0 if best_bid and best_ask else 0.0
|
| 163 |
+
spread_bps = ((best_ask - best_bid) / mid * 10_000) if mid > 0 else 0.0
|
| 164 |
+
|
| 165 |
+
self.records.append({
|
| 166 |
+
"timestamp_ms": ts,
|
| 167 |
+
"exchange": "coinbase",
|
| 168 |
+
"symbol": product,
|
| 169 |
+
"best_bid": best_bid,
|
| 170 |
+
"best_ask": best_ask,
|
| 171 |
+
"bid_depth_10": bid_depth_10,
|
| 172 |
+
"ask_depth_10": ask_depth_10,
|
| 173 |
+
"obi_10": obi,
|
| 174 |
+
"mid_price": mid,
|
| 175 |
+
"spread_bps": spread_bps,
|
| 176 |
+
})
|
| 177 |
+
except (ValueError, IndexError, TypeError):
|
| 178 |
+
pass
|
| 179 |
+
|
| 180 |
+
def _save(self) -> None:
|
| 181 |
+
if not self.records:
|
| 182 |
+
return
|
| 183 |
+
self.out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 184 |
+
df = pd.DataFrame(self.records)
|
| 185 |
+
df.to_parquet(self.out_path, index=False)
|
| 186 |
+
self._last_save = time.time()
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
class KrakenDepthRecorder:
|
| 190 |
+
"""Records L2 depth from Kraken WebSocket.
|
| 191 |
+
|
| 192 |
+
Kraken uses the 'book' channel with depth parameter.
|
| 193 |
+
"""
|
| 194 |
+
|
| 195 |
+
WS_URL = "wss://ws.kraken.com"
|
| 196 |
+
|
| 197 |
+
def __init__(self, pairs: list[str], out_path: Path) -> None:
|
| 198 |
+
self.pairs = pairs
|
| 199 |
+
self.out_path = out_path
|
| 200 |
+
self.records: list[dict] = []
|
| 201 |
+
self._running = False
|
| 202 |
+
self._start_time = 0.0
|
| 203 |
+
self._last_save = 0.0
|
| 204 |
+
|
| 205 |
+
async def run(self, duration_seconds: float) -> None:
|
| 206 |
+
self._running = True
|
| 207 |
+
self._start_time = time.time()
|
| 208 |
+
|
| 209 |
+
def signal_handler(sig, frame):
|
| 210 |
+
self._running = False
|
| 211 |
+
signal.signal(signal.SIGINT, signal_handler)
|
| 212 |
+
|
| 213 |
+
logger.info("=" * 70)
|
| 214 |
+
logger.info(" KRAKEN DEPTH CAPTURE")
|
| 215 |
+
logger.info(" Pairs: %s", ", ".join(self.pairs))
|
| 216 |
+
logger.info(" Duration: %.0f seconds", duration_seconds)
|
| 217 |
+
logger.info(" Output: %s", self.out_path)
|
| 218 |
+
logger.info("=" * 70)
|
| 219 |
+
|
| 220 |
+
import websockets
|
| 221 |
+
|
| 222 |
+
# Kraken subscription format
|
| 223 |
+
subscribe_msg = {
|
| 224 |
+
"event": "subscribe",
|
| 225 |
+
"pair": self.pairs,
|
| 226 |
+
"subscription": {"name": "book", "depth": 10},
|
| 227 |
+
}
|
| 228 |
+
|
| 229 |
+
while self._running and (time.time() - self._start_time) < duration_seconds:
|
| 230 |
+
try:
|
| 231 |
+
# max_size=16MB + longer ping interval for Kraken
|
| 232 |
+
async with websockets.connect(
|
| 233 |
+
self.WS_URL,
|
| 234 |
+
ping_interval=30,
|
| 235 |
+
ping_timeout=60,
|
| 236 |
+
max_size=16 * 1024 * 1024,
|
| 237 |
+
close_timeout=10,
|
| 238 |
+
) as ws:
|
| 239 |
+
await ws.send(json.dumps(subscribe_msg))
|
| 240 |
+
logger.info("Connected to Kraken WebSocket. Recording...")
|
| 241 |
+
|
| 242 |
+
while self._running and (time.time() - self._start_time) < duration_seconds:
|
| 243 |
+
try:
|
| 244 |
+
raw = await asyncio.wait_for(ws.recv(), timeout=5.0)
|
| 245 |
+
self._handle_message(raw)
|
| 246 |
+
except asyncio.TimeoutError:
|
| 247 |
+
pass
|
| 248 |
+
|
| 249 |
+
if time.time() - self._last_save > 60:
|
| 250 |
+
self._save()
|
| 251 |
+
elapsed = time.time() - self._start_time
|
| 252 |
+
rate = len(self.records) / max(1, elapsed)
|
| 253 |
+
logger.info(" %d records (%.1f rec/sec, %.0fs elapsed)",
|
| 254 |
+
len(self.records), rate, elapsed)
|
| 255 |
+
except Exception as e:
|
| 256 |
+
logger.error("Kraken WebSocket error: %s — reconnecting in 2s...", e)
|
| 257 |
+
await asyncio.sleep(2)
|
| 258 |
+
|
| 259 |
+
self._save()
|
| 260 |
+
logger.info("Capture complete: %d records -> %s", len(self.records), self.out_path)
|
| 261 |
+
|
| 262 |
+
def _handle_message(self, raw: str) -> None:
|
| 263 |
+
"""Handle Kraken book messages (array format)."""
|
| 264 |
+
try:
|
| 265 |
+
msg = json.loads(raw)
|
| 266 |
+
if not isinstance(msg, list) or len(msg) < 4:
|
| 267 |
+
return
|
| 268 |
+
# Kraken book format: [channelID, [bids], [asks], pair]
|
| 269 |
+
_, book_data, _, pair = msg[0], msg[1], msg[2], msg[-1]
|
| 270 |
+
ts = int(time.time() * 1000)
|
| 271 |
+
|
| 272 |
+
# book_data can be {"bs": [...], "as": [...]} or {"b": [...], "a": [...]}
|
| 273 |
+
bids = book_data.get("bs") or book_data.get("b") or []
|
| 274 |
+
asks = book_data.get("as") or book_data.get("a") or []
|
| 275 |
+
|
| 276 |
+
if not bids or not asks:
|
| 277 |
+
return
|
| 278 |
+
|
| 279 |
+
best_bid = float(bids[0][0])
|
| 280 |
+
best_ask = float(asks[0][0])
|
| 281 |
+
bid_depth_10 = sum(float(b[1]) for b in bids[:10])
|
| 282 |
+
ask_depth_10 = sum(float(a[1]) for a in asks[:10])
|
| 283 |
+
obi = (bid_depth_10 - ask_depth_10) / (bid_depth_10 + ask_depth_10) if (bid_depth_10 + ask_depth_10) > 0 else 0.0
|
| 284 |
+
mid = (best_bid + best_ask) / 2.0
|
| 285 |
+
spread_bps = ((best_ask - best_bid) / mid * 10_000) if mid > 0 else 0.0
|
| 286 |
+
|
| 287 |
+
self.records.append({
|
| 288 |
+
"timestamp_ms": ts,
|
| 289 |
+
"exchange": "kraken",
|
| 290 |
+
"symbol": pair,
|
| 291 |
+
"best_bid": best_bid,
|
| 292 |
+
"best_ask": best_ask,
|
| 293 |
+
"bid_depth_10": bid_depth_10,
|
| 294 |
+
"ask_depth_10": ask_depth_10,
|
| 295 |
+
"obi_10": obi,
|
| 296 |
+
"mid_price": mid,
|
| 297 |
+
"spread_bps": spread_bps,
|
| 298 |
+
})
|
| 299 |
+
except Exception:
|
| 300 |
+
pass
|
| 301 |
+
|
| 302 |
+
def _save(self) -> None:
|
| 303 |
+
if not self.records:
|
| 304 |
+
return
|
| 305 |
+
self.out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 306 |
+
df = pd.DataFrame(self.records)
|
| 307 |
+
df.to_parquet(self.out_path, index=False)
|
| 308 |
+
self._last_save = time.time()
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
async def run_both(duration: float, out_dir: Path) -> None:
|
| 312 |
+
"""Record both Coinbase and Kraken simultaneously."""
|
| 313 |
+
ts_str = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 314 |
+
coinbase_recorder = CoinbaseDepthRecorder(
|
| 315 |
+
["BTC-USD", "ETH-USD"],
|
| 316 |
+
out_dir / f"coinbase_depth_{ts_str}.parquet",
|
| 317 |
+
)
|
| 318 |
+
kraken_recorder = KrakenDepthRecorder(
|
| 319 |
+
["XBT/USD", "ETH/USD"],
|
| 320 |
+
out_dir / f"kraken_depth_{ts_str}.parquet",
|
| 321 |
+
)
|
| 322 |
+
await asyncio.gather(
|
| 323 |
+
coinbase_recorder.run(duration),
|
| 324 |
+
kraken_recorder.run(duration),
|
| 325 |
+
)
|
| 326 |
+
|
| 327 |
+
|
| 328 |
+
def main() -> int:
|
| 329 |
+
parser = argparse.ArgumentParser(description="Capture cross-exchange depth data")
|
| 330 |
+
parser.add_argument("--exchange", default="coinbase", choices=["coinbase", "kraken", "both"])
|
| 331 |
+
parser.add_argument("--hours", type=float, default=2.0)
|
| 332 |
+
parser.add_argument("--minutes", type=float, default=0)
|
| 333 |
+
parser.add_argument("--out", default=None)
|
| 334 |
+
args = parser.parse_args()
|
| 335 |
+
|
| 336 |
+
if args.minutes > 0:
|
| 337 |
+
duration = args.minutes * 60
|
| 338 |
+
elif args.hours > 0:
|
| 339 |
+
duration = args.hours * 3600
|
| 340 |
+
else:
|
| 341 |
+
duration = float("inf")
|
| 342 |
+
|
| 343 |
+
out_dir = Path(args.out) if args.out else Path("data")
|
| 344 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 345 |
+
|
| 346 |
+
if args.exchange == "both":
|
| 347 |
+
asyncio.run(run_both(duration, out_dir))
|
| 348 |
+
elif args.exchange == "coinbase":
|
| 349 |
+
ts_str = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 350 |
+
recorder = CoinbaseDepthRecorder(
|
| 351 |
+
["BTC-USD", "ETH-USD"],
|
| 352 |
+
out_dir / f"coinbase_depth_{ts_str}.parquet",
|
| 353 |
+
)
|
| 354 |
+
asyncio.run(recorder.run(duration))
|
| 355 |
+
elif args.exchange == "kraken":
|
| 356 |
+
ts_str = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 357 |
+
recorder = KrakenDepthRecorder(
|
| 358 |
+
["XBT/USD", "ETH/USD"],
|
| 359 |
+
out_dir / f"kraken_depth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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Live WebSocket depth capture — records L2 order book snapshots to parquet.
|
| 3 |
+
|
| 4 |
+
Records Binance depth20 @ 100ms updates for one or more symbols.
|
| 5 |
+
|
| 6 |
+
Usage:
|
| 7 |
+
python scripts/capture_depth_live.py --symbols BTCUSDT,ETHUSDT --hours 2
|
| 8 |
+
python scripts/capture_depth_live.py --symbols BTCUSDT --minutes 30
|
| 9 |
+
python scripts/capture_depth_live.py --symbols BTCUSDT --hours 0 # until Ctrl+C
|
| 10 |
+
"""
|
| 11 |
+
import argparse
|
| 12 |
+
import asyncio
|
| 13 |
+
import json
|
| 14 |
+
import logging
|
| 15 |
+
import signal
|
| 16 |
+
import time
|
| 17 |
+
from datetime import datetime
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
|
| 20 |
+
import pandas as pd
|
| 21 |
+
|
| 22 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 23 |
+
logger = logging.getLogger(__name__)
|
| 24 |
+
|
| 25 |
+
BINANCE_WS_BASE = "wss://stream.binance.com:9443/stream?streams="
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
class DepthRecorder:
|
| 29 |
+
"""Records L2 depth snapshots from Binance WebSocket."""
|
| 30 |
+
|
| 31 |
+
def __init__(self, symbols: list[str], out_path: Path) -> None:
|
| 32 |
+
self.symbols = [s.lower() for s in symbols]
|
| 33 |
+
self.out_path = out_path
|
| 34 |
+
self.records: list[dict] = []
|
| 35 |
+
self._running = False
|
| 36 |
+
self._start_time = 0.0
|
| 37 |
+
self._last_save = 0.0
|
| 38 |
+
self._save_interval = 30.0 # save every 30 seconds
|
| 39 |
+
|
| 40 |
+
async def run(self, duration_seconds: float) -> None:
|
| 41 |
+
"""Record depth for a fixed duration."""
|
| 42 |
+
self._running = True
|
| 43 |
+
self._start_time = time.time()
|
| 44 |
+
|
| 45 |
+
# Binance combined stream URL — using /stream?streams= format
|
| 46 |
+
# This format auto-subscribes without needing a separate SUBSCRIBE message
|
| 47 |
+
streams = [f"{s}@depth20@100ms" for s in self.symbols]
|
| 48 |
+
url = BINANCE_WS_BASE + "/".join(streams)
|
| 49 |
+
|
| 50 |
+
def signal_handler(sig, frame):
|
| 51 |
+
logger.info("\nStopping capture...")
|
| 52 |
+
self._running = False
|
| 53 |
+
signal.signal(signal.SIGINT, signal_handler)
|
| 54 |
+
|
| 55 |
+
logger.info("=" * 70)
|
| 56 |
+
logger.info(" LIVE DEPTH CAPTURE")
|
| 57 |
+
logger.info(" Symbols: %s", ", ".join(self.symbols).upper())
|
| 58 |
+
logger.info(" Duration: %.0f seconds (%.1f minutes)", duration_seconds, duration_seconds / 60)
|
| 59 |
+
logger.info(" Output: %s", self.out_path)
|
| 60 |
+
logger.info(" Press Ctrl+C to stop early (partial data is saved)")
|
| 61 |
+
logger.info("=" * 70)
|
| 62 |
+
|
| 63 |
+
import websockets
|
| 64 |
+
|
| 65 |
+
while self._running and (duration_seconds == float("inf") or (time.time() - self._start_time) < duration_seconds):
|
| 66 |
+
try:
|
| 67 |
+
# max_size=8MB to handle large depth snapshots
|
| 68 |
+
async with websockets.connect(url, ping_interval=10, max_size=8 * 1024 * 1024) as ws:
|
| 69 |
+
logger.info("Connected to Binance WebSocket. Recording...")
|
| 70 |
+
while self._running and (duration_seconds == float("inf") or (time.time() - self._start_time) < duration_seconds):
|
| 71 |
+
try:
|
| 72 |
+
raw = await asyncio.wait_for(ws.recv(), timeout=5.0)
|
| 73 |
+
msg = json.loads(raw)
|
| 74 |
+
self._handle_message(msg)
|
| 75 |
+
except asyncio.TimeoutError:
|
| 76 |
+
pass # check duration periodically
|
| 77 |
+
|
| 78 |
+
# Periodic save + progress
|
| 79 |
+
if time.time() - self._last_save > self._save_interval:
|
| 80 |
+
self._save()
|
| 81 |
+
elapsed = time.time() - self._start_time
|
| 82 |
+
rate = len(self.records) / max(1, elapsed)
|
| 83 |
+
logger.info(" %d records (%.1f rec/sec, %.0fs elapsed)",
|
| 84 |
+
len(self.records), rate, elapsed)
|
| 85 |
+
except Exception as e:
|
| 86 |
+
logger.error("WebSocket error: %s — reconnecting in 2s...", e)
|
| 87 |
+
await asyncio.sleep(2)
|
| 88 |
+
|
| 89 |
+
self._save()
|
| 90 |
+
logger.info("=" * 70)
|
| 91 |
+
logger.info(" CAPTURE COMPLETE")
|
| 92 |
+
logger.info(" Total records: %d", len(self.records))
|
| 93 |
+
logger.info(" Duration: %.1f seconds", time.time() - self._start_time)
|
| 94 |
+
logger.info(" Output: %s", self.out_path)
|
| 95 |
+
logger.info("=" * 70)
|
| 96 |
+
|
| 97 |
+
def _handle_message(self, msg: dict) -> None:
|
| 98 |
+
"""Parse a depth message and append to records.
|
| 99 |
+
|
| 100 |
+
Binance combined stream format:
|
| 101 |
+
{"stream": "btcusdt@depth20@100ms", "data": {...}}
|
| 102 |
+
"""
|
| 103 |
+
# Combined stream wraps in {"stream": ..., "data": ...}
|
| 104 |
+
if "data" in msg:
|
| 105 |
+
data = msg["data"]
|
| 106 |
+
stream = msg.get("stream", "")
|
| 107 |
+
else:
|
| 108 |
+
data = msg
|
| 109 |
+
stream = msg.get("stream", "")
|
| 110 |
+
|
| 111 |
+
# Extract symbol from stream name (e.g., "btcusdt@depth20@100ms" -> "BTCUSDT")
|
| 112 |
+
symbol = ""
|
| 113 |
+
if stream:
|
| 114 |
+
symbol = stream.split("@")[0].upper()
|
| 115 |
+
elif "s" in data: # Binance uses "s" for symbol in some messages
|
| 116 |
+
symbol = data["s"]
|
| 117 |
+
elif "symbol" in data:
|
| 118 |
+
symbol = data["symbol"]
|
| 119 |
+
|
| 120 |
+
if not symbol:
|
| 121 |
+
return
|
| 122 |
+
|
| 123 |
+
# Depth20 messages have "bids" and "asks" arrays
|
| 124 |
+
bids = data.get("bids") or data.get("b") or []
|
| 125 |
+
asks = data.get("asks") or data.get("a") or []
|
| 126 |
+
|
| 127 |
+
if not bids or not asks:
|
| 128 |
+
return
|
| 129 |
+
|
| 130 |
+
ts = int(time.time() * 1000)
|
| 131 |
+
# Binance also sends E (event time) or lastUpdateId — use event time if available
|
| 132 |
+
if "E" in data:
|
| 133 |
+
ts = int(data["E"])
|
| 134 |
+
elif "lastUpdateId" in data:
|
| 135 |
+
pass # keep our timestamp
|
| 136 |
+
|
| 137 |
+
try:
|
| 138 |
+
best_bid = float(bids[0][0])
|
| 139 |
+
best_ask = float(asks[0][0])
|
| 140 |
+
bid_size = float(bids[0][1])
|
| 141 |
+
ask_size = float(asks[0][1])
|
| 142 |
+
|
| 143 |
+
bid_depth_10 = sum(float(b[1]) for b in bids[:10])
|
| 144 |
+
ask_depth_10 = sum(float(a[1]) for a in asks[:10])
|
| 145 |
+
total_depth = bid_depth_10 + ask_depth_10
|
| 146 |
+
obi = (bid_depth_10 - ask_depth_10) / total_depth if total_depth > 0 else 0.0
|
| 147 |
+
mid = (best_bid + best_ask) / 2.0
|
| 148 |
+
spread_bps = ((best_ask - best_bid) / mid * 10_000) if mid > 0 else 0.0
|
| 149 |
+
|
| 150 |
+
self.records.append({
|
| 151 |
+
"timestamp_ms": ts,
|
| 152 |
+
"symbol": symbol,
|
| 153 |
+
"best_bid": best_bid,
|
| 154 |
+
"best_ask": best_ask,
|
| 155 |
+
"bid_size": bid_size,
|
| 156 |
+
"ask_size": ask_size,
|
| 157 |
+
"bid_depth_10": bid_depth_10,
|
| 158 |
+
"ask_depth_10": ask_depth_10,
|
| 159 |
+
"obi_10": obi,
|
| 160 |
+
"mid_price": mid,
|
| 161 |
+
"spread_bps": spread_bps,
|
| 162 |
+
"n_levels_bid": len(bids),
|
| 163 |
+
"n_levels_ask": len(asks),
|
| 164 |
+
})
|
| 165 |
+
except (ValueError, IndexError, TypeError) as e:
|
| 166 |
+
logger.debug("Parse error: %s", e)
|
| 167 |
+
|
| 168 |
+
def _save(self) -> None:
|
| 169 |
+
"""Save current records to parquet."""
|
| 170 |
+
if not self.records:
|
| 171 |
+
return
|
| 172 |
+
self.out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 173 |
+
df = pd.DataFrame(self.records)
|
| 174 |
+
df.to_parquet(self.out_path, index=False)
|
| 175 |
+
self._last_save = time.time()
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
def main() -> int:
|
| 179 |
+
parser = argparse.ArgumentParser(
|
| 180 |
+
description="Capture live Binance L2 depth data via WebSocket",
|
| 181 |
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
| 182 |
+
epilog="""
|
| 183 |
+
Examples:
|
| 184 |
+
python scripts/capture_depth_live.py --symbols BTCUSDT,ETHUSDT --hours 2
|
| 185 |
+
python scripts/capture_depth_live.py --symbols BTCUSDT --minutes 30
|
| 186 |
+
python scripts/capture_depth_live.py --symbols BTCUSDT --hours 0
|
| 187 |
+
""",
|
| 188 |
+
)
|
| 189 |
+
parser.add_argument("--symbols", default="BTCUSDT,ETHUSDT",
|
| 190 |
+
help="Comma-separated symbols (default: BTCUSDT,ETHUSDT)")
|
| 191 |
+
parser.add_argument("--hours", type=float, default=2.0,
|
| 192 |
+
help="Duration in hours (0 = until Ctrl+C)")
|
| 193 |
+
parser.add_argument("--minutes", type=float, default=0,
|
| 194 |
+
help="Duration in minutes (overrides --hours)")
|
| 195 |
+
parser.add_argument("--out", default=None,
|
| 196 |
+
help="Output parquet path")
|
| 197 |
+
args = parser.parse_args()
|
| 198 |
+
|
| 199 |
+
symbols = [s.strip().upper() for s in args.symbols.split(",")]
|
| 200 |
+
|
| 201 |
+
if args.minutes > 0:
|
| 202 |
+
duration = args.minutes * 60
|
| 203 |
+
elif args.hours > 0:
|
| 204 |
+
duration = args.hours * 3600
|
| 205 |
+
else:
|
| 206 |
+
duration = float("inf")
|
| 207 |
+
|
| 208 |
+
if args.out:
|
| 209 |
+
out_path = Path(args.out)
|
| 210 |
+
else:
|
| 211 |
+
ts_str = datetime.now().strftime("%Y%m%d_%H%M%S")
|
| 212 |
+
out_path = Path(f"data/live_depth_{ts_str}.parquet")
|
| 213 |
+
|
| 214 |
+
recorder = DepthRecorder(symbols, out_path)
|
| 215 |
+
asyncio.run(recorder.run(duration))
|
| 216 |
+
return 0
|
| 217 |
+
|
| 218 |
+
|
| 219 |
+
if __name__ == "__main__":
|
| 220 |
+
raise SystemExit(main())
|
scripts/convert_all_binance.py
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Convert ALL downloaded Binance ZIP files to parquet in one batch.
|
| 3 |
+
|
| 4 |
+
Usage:
|
| 5 |
+
python scripts/convert_all_binance.py --input data/ --output data/parquet/
|
| 6 |
+
"""
|
| 7 |
+
import argparse
|
| 8 |
+
import io
|
| 9 |
+
import logging
|
| 10 |
+
import zipfile
|
| 11 |
+
from pathlib import Path
|
| 12 |
+
|
| 13 |
+
import pandas as pd
|
| 14 |
+
|
| 15 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 16 |
+
logger = logging.getLogger(__name__)
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
def convert_zip(zip_path: Path, output_path: Path) -> bool:
|
| 20 |
+
"""Convert one Binance trades ZIP to parquet. Returns True on success."""
|
| 21 |
+
if output_path.exists():
|
| 22 |
+
logger.info(" SKIP (exists): %s", output_path.name)
|
| 23 |
+
return True
|
| 24 |
+
try:
|
| 25 |
+
with zipfile.ZipFile(zip_path, "r") as zf:
|
| 26 |
+
csv_name = zf.namelist()[0]
|
| 27 |
+
with zf.open(csv_name) as f:
|
| 28 |
+
df = pd.read_csv(
|
| 29 |
+
io.BytesIO(f.read()),
|
| 30 |
+
header=None,
|
| 31 |
+
names=["id", "price", "qty", "quoteQty", "time", "isBuyerMaker", "isBestMatch"],
|
| 32 |
+
)
|
| 33 |
+
df_out = pd.DataFrame({
|
| 34 |
+
"timestamp_ms": df["time"].astype("int64"),
|
| 35 |
+
"best_bid": df["price"] * 0.9999,
|
| 36 |
+
"best_ask": df["price"] * 1.0001,
|
| 37 |
+
"bid_size": 1.0,
|
| 38 |
+
"ask_size": 1.0,
|
| 39 |
+
"mid_price": df["price"].astype("float64"),
|
| 40 |
+
"trade_price": df["price"].astype("float64"),
|
| 41 |
+
"trade_size": df["qty"].astype("float64"),
|
| 42 |
+
"trade_side": df["isBuyerMaker"].map({True: "sell", False: "buy"}),
|
| 43 |
+
}).sort_values("timestamp_ms").reset_index(drop=True)
|
| 44 |
+
|
| 45 |
+
output_path.parent.mkdir(parents=True, exist_ok=True)
|
| 46 |
+
df_out.to_parquet(output_path, index=False)
|
| 47 |
+
size_mb = output_path.stat().st_size / (1024 * 1024)
|
| 48 |
+
logger.info(" ✓ %s -> %s (%.1f MB, %d ticks)",
|
| 49 |
+
zip_path.name, output_path.name, size_mb, len(df_out))
|
| 50 |
+
return True
|
| 51 |
+
except Exception as e:
|
| 52 |
+
logger.error(" ✗ %s: %s", zip_path.name, e)
|
| 53 |
+
return False
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
def main() -> int:
|
| 57 |
+
parser = argparse.ArgumentParser(description="Convert all Binance ZIPs to parquet")
|
| 58 |
+
parser.add_argument("--input", default="data/", help="Directory with .zip files")
|
| 59 |
+
parser.add_argument("--output", default="data/parquet/", help="Output directory")
|
| 60 |
+
args = parser.parse_args()
|
| 61 |
+
|
| 62 |
+
input_dir = Path(args.input)
|
| 63 |
+
output_dir = Path(args.output)
|
| 64 |
+
|
| 65 |
+
zips = sorted(input_dir.glob("*-trades-*.zip"))
|
| 66 |
+
if not zips:
|
| 67 |
+
logger.error("No *-trades-*.zip files found in %s", input_dir)
|
| 68 |
+
return 1
|
| 69 |
+
|
| 70 |
+
logger.info("Found %d ZIP files to convert", len(zips))
|
| 71 |
+
success = 0
|
| 72 |
+
for zip_path in zips:
|
| 73 |
+
# e.g., BTCUSDT-trades-2021-05-19.zip -> BTCUSDT_2021-05-19.parquet
|
| 74 |
+
stem = zip_path.stem # BTCUSDT-trades-2021-05-19
|
| 75 |
+
parts = stem.split("-", 1) # ["BTCUSDT", "trades-2021-05-19"]
|
| 76 |
+
symbol = parts[0]
|
| 77 |
+
date_part = parts[1].replace("trades-", "") # 2021-05-19
|
| 78 |
+
out_name = f"{symbol}_{date_part}.parquet"
|
| 79 |
+
out_path = output_dir / out_name
|
| 80 |
+
if convert_zip(zip_path, out_path):
|
| 81 |
+
success += 1
|
| 82 |
+
|
| 83 |
+
logger.info("=" * 50)
|
| 84 |
+
logger.info("Converted %d/%d files", success, len(zips))
|
| 85 |
+
logger.info("Output: %s", output_dir.resolve())
|
| 86 |
+
return 0 if success else 1
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
if __name__ == "__main__":
|
| 90 |
+
raise SystemExit(main())
|
scripts/convert_binance_trades.py
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Unzip and convert Binance trade ZIP files to parquet.
|
| 3 |
+
|
| 4 |
+
Binance trade CSVs have these columns:
|
| 5 |
+
id, price, qty, quoteQty, time, isBuyerMaker, isBestMatch
|
| 6 |
+
|
| 7 |
+
We convert to the schema expected by the detector:
|
| 8 |
+
timestamp_ms, best_bid, best_ask, bid_size, ask_size, mid_price,
|
| 9 |
+
trade_price, trade_size, trade_side
|
| 10 |
+
|
| 11 |
+
Usage:
|
| 12 |
+
python scripts/convert_binance_trades.py --input data/BTCUSDT-trades-2021-05-19.zip --output data/BTCUSDT_2021-05-19.parquet
|
| 13 |
+
"""
|
| 14 |
+
import argparse
|
| 15 |
+
import io
|
| 16 |
+
import logging
|
| 17 |
+
import zipfile
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
|
| 20 |
+
import pandas as pd
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def convert_zip_to_parquet(zip_path: str, output_path: str) -> None:
|
| 24 |
+
"""Convert a Binance trades ZIP to parquet."""
|
| 25 |
+
zip_path = Path(zip_path)
|
| 26 |
+
output_path = Path(output_path)
|
| 27 |
+
output_path.parent.mkdir(parents=True, exist_ok=True)
|
| 28 |
+
|
| 29 |
+
logging.info("Reading %s", zip_path)
|
| 30 |
+
with zipfile.ZipFile(zip_path, "r") as zf:
|
| 31 |
+
csv_name = zf.namelist()[0]
|
| 32 |
+
logging.info(" Extracting %s", csv_name)
|
| 33 |
+
with zf.open(csv_name) as f:
|
| 34 |
+
df = pd.read_csv(
|
| 35 |
+
io.BytesIO(f.read()),
|
| 36 |
+
header=None,
|
| 37 |
+
names=["id", "price", "qty", "quoteQty", "time", "isBuyerMaker", "isBestMatch"],
|
| 38 |
+
)
|
| 39 |
+
|
| 40 |
+
logging.info(" Loaded %d trades", len(df))
|
| 41 |
+
|
| 42 |
+
# Build the detector schema
|
| 43 |
+
# Each trade is a tick. We approximate the order book with the trade price
|
| 44 |
+
# (real impl would merge with depth data).
|
| 45 |
+
df_out = pd.DataFrame({
|
| 46 |
+
"timestamp_ms": df["time"].astype("int64"),
|
| 47 |
+
"best_bid": df["price"] * 0.9999, # approximate bid = price - 1 bps
|
| 48 |
+
"best_ask": df["price"] * 1.0001, # approximate ask = price + 1 bps
|
| 49 |
+
"bid_size": 1.0, # placeholder
|
| 50 |
+
"ask_size": 1.0, # placeholder
|
| 51 |
+
"mid_price": df["price"].astype("float64"),
|
| 52 |
+
"trade_price": df["price"].astype("float64"),
|
| 53 |
+
"trade_size": df["qty"].astype("float64"),
|
| 54 |
+
"trade_side": df["isBuyerMaker"].map({True: "sell", False: "buy"}),
|
| 55 |
+
})
|
| 56 |
+
|
| 57 |
+
# Sort by timestamp
|
| 58 |
+
df_out = df_out.sort_values("timestamp_ms").reset_index(drop=True)
|
| 59 |
+
|
| 60 |
+
logging.info(" Writing %s (%d rows)", output_path, len(df_out))
|
| 61 |
+
df_out.to_parquet(output_path, index=False)
|
| 62 |
+
logging.info("Done. %d ticks -> %s", len(df_out), output_path)
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def main() -> int:
|
| 66 |
+
parser = argparse.ArgumentParser(description="Convert Binance trades ZIP to parquet")
|
| 67 |
+
parser.add_argument("--input", required=True, help="Path to the .zip file")
|
| 68 |
+
parser.add_argument("--output", required=True, help="Output .parquet path")
|
| 69 |
+
args = parser.parse_args()
|
| 70 |
+
|
| 71 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 72 |
+
convert_zip_to_parquet(args.input, args.output)
|
| 73 |
+
return 0
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
if __name__ == "__main__":
|
| 77 |
+
raise SystemExit(main())
|
scripts/download_all_datasets.py
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Download ALL datasets for the Flash Crash Early Warning project.
|
| 3 |
+
|
| 4 |
+
Downloads:
|
| 5 |
+
1. Binance historical trades — May 2021 BTC flash crash (3 days)
|
| 6 |
+
2. Binance historical trades — May 2022 LUNA crash (4 days)
|
| 7 |
+
3. Binance historical trades — baseline normal days (2 days)
|
| 8 |
+
4. FI-2010 academic benchmark dataset (from Helsinki fairdata.fi)
|
| 9 |
+
|
| 10 |
+
Total download size: ~2-3 GB
|
| 11 |
+
Time: ~10-20 minutes depending on connection
|
| 12 |
+
|
| 13 |
+
Usage:
|
| 14 |
+
python scripts/download_all_datasets.py --out data/
|
| 15 |
+
python scripts/download_all_datasets.py --out data/ --skip-fi2010 # skip the academic dataset
|
| 16 |
+
python scripts/download_all_datasets.py --out data/ --binance-only # Binance only
|
| 17 |
+
"""
|
| 18 |
+
import argparse
|
| 19 |
+
import logging
|
| 20 |
+
import sys
|
| 21 |
+
import urllib.request
|
| 22 |
+
from pathlib import Path
|
| 23 |
+
|
| 24 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 25 |
+
logger = logging.getLogger(__name__)
|
| 26 |
+
|
| 27 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 28 |
+
# Dataset 1: Binance May 2021 BTC flash crash (3 days around May 19, 2021)
|
| 29 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 30 |
+
BINANCE_BTC_CRASH_2021 = {
|
| 31 |
+
"name": "May 2021 BTC Flash Crash",
|
| 32 |
+
"description": "BTC -30% in hours, $8B liquidations, Binance outage",
|
| 33 |
+
"symbol": "BTCUSDT",
|
| 34 |
+
"dates": ["2021-05-18", "2021-05-19", "2021-05-20"],
|
| 35 |
+
"type": "trades",
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 39 |
+
# Dataset 2: Binance May 2022 LUNA death spiral (4 days)
|
| 40 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 41 |
+
BINANCE_LUNA_CRASH_2022 = {
|
| 42 |
+
"name": "May 2022 LUNA / UST Death Spiral",
|
| 43 |
+
"description": "LUNA -99.9% in 48h, $40B wiped, UST depeg",
|
| 44 |
+
"symbol": "LUNAUSDT",
|
| 45 |
+
"dates": ["2022-05-09", "2022-05-10", "2022-05-11", "2022-05-12"],
|
| 46 |
+
"type": "trades",
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 50 |
+
# Dataset 3: Baseline normal days (for training the "normal" model)
|
| 51 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 52 |
+
BINANCE_BASELINE = {
|
| 53 |
+
"name": "BTC Baseline (normal volatility days)",
|
| 54 |
+
"description": "Normal market days for training baseline / Isolation Forest",
|
| 55 |
+
"symbol": "BTCUSDT",
|
| 56 |
+
"dates": ["2024-01-15", "2024-01-16"],
|
| 57 |
+
"type": "trades",
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 61 |
+
# Dataset 4: FI-2010 academic benchmark
|
| 62 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 63 |
+
FI2010_URLS = [
|
| 64 |
+
# 5 stocks × 10 days = 50 files
|
| 65 |
+
# These are the publicly-hosted versions from the original authors
|
| 66 |
+
# Format: https://etsin.fairdata.fi/dataset/73eb48d7-4dbc-4a10-a52a-da745b47a649
|
| 67 |
+
# Direct download requires accepting a license — we provide instructions instead
|
| 68 |
+
]
|
| 69 |
+
|
| 70 |
+
DATASETS = [BINANCE_BTC_CRASH_2021, BINANCE_LUNA_CRASH_2022, BINANCE_BASELINE]
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
def download_file(url: str, out_path: Path, timeout: int = 120) -> bool:
|
| 74 |
+
"""Download a file with progress logging."""
|
| 75 |
+
if out_path.exists():
|
| 76 |
+
size_mb = out_path.stat().st_size / (1024 * 1024)
|
| 77 |
+
logger.info(" SKIP (already exists): %s (%.1f MB)", out_path.name, size_mb)
|
| 78 |
+
return True
|
| 79 |
+
try:
|
| 80 |
+
logger.info(" Downloading %s", url)
|
| 81 |
+
req = urllib.request.Request(url, headers={"User-Agent": "flash-crash-watchdog/0.4"})
|
| 82 |
+
with urllib.request.urlopen(req, timeout=timeout) as response:
|
| 83 |
+
data = response.read()
|
| 84 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 85 |
+
out_path.write_bytes(data)
|
| 86 |
+
size_mb = len(data) / (1024 * 1024)
|
| 87 |
+
logger.info(" ✓ Saved %s (%.1f MB)", out_path.name, size_mb)
|
| 88 |
+
return True
|
| 89 |
+
except Exception as e:
|
| 90 |
+
logger.error(" ✗ Failed: %s", e)
|
| 91 |
+
return False
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def download_binance_dataset(dataset: dict, out_dir: Path) -> int:
|
| 95 |
+
"""Download all dates for a Binance dataset. Returns count of successful downloads."""
|
| 96 |
+
symbol = dataset["symbol"]
|
| 97 |
+
data_type = dataset["type"]
|
| 98 |
+
success = 0
|
| 99 |
+
total = len(dataset["dates"])
|
| 100 |
+
|
| 101 |
+
logger.info("=" * 70)
|
| 102 |
+
logger.info("DATASET: %s", dataset["name"])
|
| 103 |
+
logger.info(" %s", dataset["description"])
|
| 104 |
+
logger.info(" Symbol: %s | Type: %s | Days: %d", symbol, data_type, total)
|
| 105 |
+
logger.info("=" * 70)
|
| 106 |
+
|
| 107 |
+
for date in dataset["dates"]:
|
| 108 |
+
url = (
|
| 109 |
+
f"https://data.binance.vision/data/spot/daily/trades/"
|
| 110 |
+
f"{symbol}/{symbol}-trades-{date}.zip"
|
| 111 |
+
)
|
| 112 |
+
out_path = out_dir / f"{symbol}-trades-{date}.zip"
|
| 113 |
+
if download_file(url, out_path):
|
| 114 |
+
success += 1
|
| 115 |
+
|
| 116 |
+
logger.info(" Result: %d/%d days downloaded\n", success, total)
|
| 117 |
+
return success
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def download_fi2010_instructions(out_dir: Path) -> None:
|
| 121 |
+
"""Print instructions for downloading FI-2010 (requires license acceptance)."""
|
| 122 |
+
logger.info("=" * 70)
|
| 123 |
+
logger.info("DATASET: FI-2010 Academic Benchmark")
|
| 124 |
+
logger.info(" 5 Finnish stocks, 10 days, ~10ms tick resolution, labeled")
|
| 125 |
+
logger.info(" 700+ citations — the standard LOB benchmark")
|
| 126 |
+
logger.info("=" * 70)
|
| 127 |
+
logger.info("")
|
| 128 |
+
logger.info(" FI-2010 requires manual download (license acceptance).")
|
| 129 |
+
logger.info(" Steps:")
|
| 130 |
+
logger.info(" 1. Go to: https://etsin.fairdata.fi/dataset/")
|
| 131 |
+
logger.info(" 73eb48d7-4dbc-4a10-a52a-da745b47a649")
|
| 132 |
+
logger.info(" 2. Click 'Download' and accept the license")
|
| 133 |
+
logger.info(" 3. Extract the .zip into: %s", out_dir / "fi2010")
|
| 134 |
+
logger.info(" 4. You should have 5 .txt files (one per stock)")
|
| 135 |
+
logger.info("")
|
| 136 |
+
logger.info(" Alternatively, use the mirror at:")
|
| 137 |
+
logger.info(" https://research.ed.ac.uk/en/publications/")
|
| 138 |
+
logger.info(" benchmark-dataset-for-mid-price-forecasting-of-limit-order-book")
|
| 139 |
+
logger.info("")
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
def main() -> int:
|
| 143 |
+
parser = argparse.ArgumentParser(description="Download all flash-crash datasets")
|
| 144 |
+
parser.add_argument("--out", default="data/", help="Output directory")
|
| 145 |
+
parser.add_argument("--binance-only", action="store_true",
|
| 146 |
+
help="Skip FI-2010 (Binance data only)")
|
| 147 |
+
parser.add_argument("--skip-fi2010", action="store_true",
|
| 148 |
+
help="Skip FI-2010 instructions")
|
| 149 |
+
parser.add_argument("--skip-btc-2021", action="store_true",
|
| 150 |
+
help="Skip May 2021 BTC crash")
|
| 151 |
+
parser.add_argument("--skip-luna-2022", action="store_true",
|
| 152 |
+
help="Skip May 2022 LUNA crash")
|
| 153 |
+
parser.add_argument("--skip-baseline", action="store_true",
|
| 154 |
+
help="Skip baseline normal days")
|
| 155 |
+
args = parser.parse_args()
|
| 156 |
+
|
| 157 |
+
out_dir = Path(args.out)
|
| 158 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 159 |
+
|
| 160 |
+
logger.info("=" * 70)
|
| 161 |
+
logger.info(" Flash Crash Early Warning — Dataset Downloader")
|
| 162 |
+
logger.info(" Output: %s", out_dir.resolve())
|
| 163 |
+
logger.info("=" * 70)
|
| 164 |
+
logger.info("")
|
| 165 |
+
|
| 166 |
+
total_success = 0
|
| 167 |
+
total_attempt = 0
|
| 168 |
+
|
| 169 |
+
for dataset in DATASETS:
|
| 170 |
+
if args.skip_btc_2021 and dataset["name"] == BINANCE_BTC_CRASH_2021["name"]:
|
| 171 |
+
continue
|
| 172 |
+
if args.skip_luna_2022 and dataset["name"] == BINANCE_LUNA_CRASH_2022["name"]:
|
| 173 |
+
continue
|
| 174 |
+
if args.skip_baseline and dataset["name"] == BINANCE_BASELINE["name"]:
|
| 175 |
+
continue
|
| 176 |
+
total_attempt += len(dataset["dates"])
|
| 177 |
+
total_success += download_binance_dataset(dataset, out_dir)
|
| 178 |
+
|
| 179 |
+
if not args.skip_fi2010 and not args.binance_only:
|
| 180 |
+
download_fi2010_instructions(out_dir)
|
| 181 |
+
|
| 182 |
+
logger.info("=" * 70)
|
| 183 |
+
logger.info(" DOWNLOAD SUMMARY")
|
| 184 |
+
logger.info(" Binance files: %d/%d successful", total_success, total_attempt)
|
| 185 |
+
logger.info(" Output dir: %s", out_dir.resolve())
|
| 186 |
+
logger.info("=" * 70)
|
| 187 |
+
|
| 188 |
+
if total_success == 0:
|
| 189 |
+
logger.error("No files downloaded. Check your internet connection.")
|
| 190 |
+
return 1
|
| 191 |
+
return 0
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
if __name__ == "__main__":
|
| 195 |
+
raise SystemExit(main())
|
scripts/download_bybit_fixed.py
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""FIXED Bybit historical data downloader.
|
| 3 |
+
|
| 4 |
+
Bybit changed their public data URL pattern. The correct format is:
|
| 5 |
+
https://public.bybit.com/kline_for_metatrader4/{symbol}/{year}-{month:02d}/
|
| 6 |
+
https://public.bybit.com/kline/{symbol}/{YYYY-MM-DD}/{interval}.csv.gz
|
| 7 |
+
https://public.bybit.com/premium_quote/{symbol}/{YYYY-MM-DD}/{interval}.csv.gz
|
| 8 |
+
https://public.bybit.com/trading/{symbol}/{YYYY-MM-DD}.csv.gz
|
| 9 |
+
|
| 10 |
+
This script tries multiple patterns + the Bybit v5 API as fallback.
|
| 11 |
+
|
| 12 |
+
Usage:
|
| 13 |
+
python scripts/download_bybit_fixed.py --out data/more/bybit/
|
| 14 |
+
python scripts/download_bybit_fixed.py --out data/more/bybit/ --symbols BTCUSDT,ETHUSDT
|
| 15 |
+
"""
|
| 16 |
+
import argparse
|
| 17 |
+
import json
|
| 18 |
+
import logging
|
| 19 |
+
import urllib.request
|
| 20 |
+
from pathlib import Path
|
| 21 |
+
|
| 22 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 23 |
+
logger = logging.getLogger(__name__)
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def download_file(url: str, out_path: Path, timeout: int = 120) -> bool:
|
| 27 |
+
if out_path.exists() and out_path.stat().st_size > 0:
|
| 28 |
+
logger.info(" SKIP (exists): %s", out_path.name)
|
| 29 |
+
return True
|
| 30 |
+
try:
|
| 31 |
+
logger.info(" GET %s", url)
|
| 32 |
+
req = urllib.request.Request(url, headers={"User-Agent": "flash-crash-watchdog/0.4"})
|
| 33 |
+
with urllib.request.urlopen(req, timeout=timeout) as response:
|
| 34 |
+
data = response.read()
|
| 35 |
+
if len(data) < 100:
|
| 36 |
+
logger.error(" ✗ Response too small (%d bytes) — likely 404", len(data))
|
| 37 |
+
return False
|
| 38 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 39 |
+
out_path.write_bytes(data)
|
| 40 |
+
size_kb = len(data) / 1024
|
| 41 |
+
logger.info(" ✓ %s (%.1f KB)", out_path.name, size_kb)
|
| 42 |
+
return True
|
| 43 |
+
except Exception as e:
|
| 44 |
+
logger.error(" ✗ %s", e)
|
| 45 |
+
return False
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
def download_json(url: str, out_path: Path, timeout: int = 30) -> bool:
|
| 49 |
+
"""Download JSON from Bybit v5 API."""
|
| 50 |
+
if out_path.exists() and out_path.stat().st_size > 0:
|
| 51 |
+
logger.info(" SKIP (exists): %s", out_path.name)
|
| 52 |
+
return True
|
| 53 |
+
try:
|
| 54 |
+
logger.info(" GET %s", url)
|
| 55 |
+
req = urllib.request.Request(url, headers={"User-Agent": "flash-crash-watchdog/0.4"})
|
| 56 |
+
with urllib.request.urlopen(req, timeout=timeout) as response:
|
| 57 |
+
data = json.loads(response.read())
|
| 58 |
+
if data.get("retCode") != 0:
|
| 59 |
+
logger.error(" ✗ API error: %s", data.get("retMsg", "unknown"))
|
| 60 |
+
return False
|
| 61 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 62 |
+
out_path.write_text(json.dumps(data, indent=2))
|
| 63 |
+
n = len(data.get("result", {}).get("list", []))
|
| 64 |
+
logger.info(" ✓ %s (%d candles)", out_path.name, n)
|
| 65 |
+
return True
|
| 66 |
+
except Exception as e:
|
| 67 |
+
logger.error(" ✗ %s", e)
|
| 68 |
+
return False
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
def try_bybit_kline_csv(out_dir: Path, symbol: str, date: str, intervals: list[str]) -> bool:
|
| 72 |
+
"""Try downloading Bybit kline CSV files with multiple URL patterns."""
|
| 73 |
+
for interval in intervals:
|
| 74 |
+
urls = [
|
| 75 |
+
# Pattern 1: /kline/{symbol}/{date}/{interval}.csv.gz
|
| 76 |
+
f"https://public.bybit.com/kline/{symbol}/{date}/{interval}.csv.gz",
|
| 77 |
+
# Pattern 2: /kline_for_metatrader4/{symbol}/{date}/{interval}.csv.gz
|
| 78 |
+
f"https://public.bybit.com/kline_for_metatrader4/{symbol}/{date}/{interval}.csv.gz",
|
| 79 |
+
# Pattern 3: /price_quote/{symbol}/{date}/{interval}.csv.gz
|
| 80 |
+
f"https://public.bybit.com/price_quote/{symbol}/{date}/{interval}.csv.gz",
|
| 81 |
+
# Pattern 4: /premium_quote/{symbol}/{date}/{interval}.csv.gz
|
| 82 |
+
f"https://public.bybit.com/premium_quote/{symbol}/{date}/{interval}.csv.gz",
|
| 83 |
+
]
|
| 84 |
+
for url in urls:
|
| 85 |
+
out = out_dir / f"BYBIT-{symbol}-{interval}-{date}.csv.gz"
|
| 86 |
+
if download_file(url, out):
|
| 87 |
+
return True
|
| 88 |
+
return False
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
def try_bybit_trading_csv(out_dir: Path, symbol: str, date: str) -> bool:
|
| 92 |
+
"""Try downloading Bybit tick-level trading data."""
|
| 93 |
+
urls = [
|
| 94 |
+
f"https://public.bybit.com/trading/{symbol}/{date}.csv.gz",
|
| 95 |
+
f"https://public.bybit.com/trading/{symbol}/{date}.csv",
|
| 96 |
+
]
|
| 97 |
+
for url in urls:
|
| 98 |
+
out = out_dir / f"BYBIT-{symbol}-trades-{date}.csv.gz"
|
| 99 |
+
if download_file(url, out):
|
| 100 |
+
return True
|
| 101 |
+
return False
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
def download_bybit_api_klines(out_dir: Path, symbol: str, date: str, interval: str = "1") -> bool:
|
| 105 |
+
"""Download klines via Bybit v5 REST API as fallback.
|
| 106 |
+
|
| 107 |
+
API: GET /v5/market/kline
|
| 108 |
+
Params: category, symbol, interval, start, end
|
| 109 |
+
Interval: 1,3,5,15,30,60,120,240,360,720,D,W,M
|
| 110 |
+
"""
|
| 111 |
+
import datetime
|
| 112 |
+
start_dt = datetime.datetime.strptime(date, "%Y-%m-%d")
|
| 113 |
+
end_dt = start_dt + datetime.timedelta(days=1)
|
| 114 |
+
start_ts = int(start_dt.timestamp() * 1000)
|
| 115 |
+
end_ts = int(end_dt.timestamp() * 1000)
|
| 116 |
+
|
| 117 |
+
# Bybit v5 API
|
| 118 |
+
url = (
|
| 119 |
+
f"https://api.bybit.com/v5/market/kline"
|
| 120 |
+
f"?category=linear&symbol={symbol}&interval={interval}"
|
| 121 |
+
f"&start={start_ts}&end={end_ts}&limit=1000"
|
| 122 |
+
)
|
| 123 |
+
out = out_dir / f"BYBIT-{symbol}-{interval}min-{date}.json"
|
| 124 |
+
return download_json(url, out)
|
| 125 |
+
|
| 126 |
+
|
| 127 |
+
def download_bybit(out_dir: Path, symbols: list[str], dates: list[str]) -> int:
|
| 128 |
+
"""Download Bybit historical data using multiple strategies."""
|
| 129 |
+
logger.info("=" * 70)
|
| 130 |
+
logger.info("BYBIT HISTORICAL DATA (fixed — multiple URL patterns + API fallback)")
|
| 131 |
+
logger.info(" Symbols: %s", ", ".join(symbols))
|
| 132 |
+
logger.info(" Dates: %s", ", ".join(dates))
|
| 133 |
+
logger.info("=" * 70)
|
| 134 |
+
|
| 135 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 136 |
+
success = 0
|
| 137 |
+
total = 0
|
| 138 |
+
|
| 139 |
+
for symbol in symbols:
|
| 140 |
+
for date in dates:
|
| 141 |
+
# Strategy 1: Try kline CSV files (multiple intervals)
|
| 142 |
+
total += 1
|
| 143 |
+
logger.info("\n [%s %s] Strategy 1: kline CSV files", symbol, date)
|
| 144 |
+
if try_bybit_kline_csv(out_dir, symbol, date, ["1min", "5min", "1", "5"]):
|
| 145 |
+
success += 1
|
| 146 |
+
continue
|
| 147 |
+
|
| 148 |
+
# Strategy 2: Try trading (tick) CSV
|
| 149 |
+
total += 1
|
| 150 |
+
logger.info(" [%s %s] Strategy 2: trading CSV", symbol, date)
|
| 151 |
+
if try_bybit_trading_csv(out_dir, symbol, date):
|
| 152 |
+
success += 1
|
| 153 |
+
continue
|
| 154 |
+
|
| 155 |
+
# Strategy 3: API fallback (always works for recent dates)
|
| 156 |
+
total += 1
|
| 157 |
+
logger.info(" [%s %s] Strategy 3: Bybit v5 API fallback", symbol, date)
|
| 158 |
+
if download_bybit_api_klines(out_dir, symbol, date, interval="1"):
|
| 159 |
+
success += 1
|
| 160 |
+
continue
|
| 161 |
+
|
| 162 |
+
logger.error(" [%s %s] All strategies failed", symbol, date)
|
| 163 |
+
|
| 164 |
+
logger.info("\n Result: %d/%d files\n", success, total)
|
| 165 |
+
return success
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
def main() -> int:
|
| 169 |
+
parser = argparse.ArgumentParser(description="Download Bybit historical data (fixed)")
|
| 170 |
+
parser.add_argument("--out", default="data/more/bybit/", help="Output directory")
|
| 171 |
+
parser.add_argument("--symbols", default="BTCUSDT,ETHUSDT",
|
| 172 |
+
help="Comma-separated symbols")
|
| 173 |
+
parser.add_argument("--dates", default="2021-05-19,2022-05-10,2024-08-05",
|
| 174 |
+
help="Comma-separated dates (YYYY-MM-DD)")
|
| 175 |
+
args = parser.parse_args()
|
| 176 |
+
|
| 177 |
+
symbols = [s.strip().upper() for s in args.symbols.split(",")]
|
| 178 |
+
dates = [d.strip() for d in args.dates.split(",")]
|
| 179 |
+
|
| 180 |
+
total = download_bybit(Path(args.out), symbols, dates)
|
| 181 |
+
|
| 182 |
+
logger.info("=" * 70)
|
| 183 |
+
logger.info(" BYBIT DOWNLOAD COMPLETE — %d files", total)
|
| 184 |
+
logger.info(" Output: %s", Path(args.out).resolve())
|
| 185 |
+
logger.info("=" * 70)
|
| 186 |
+
return 0 if total > 0 else 1
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
if __name__ == "__main__":
|
| 190 |
+
raise SystemExit(main())
|
scripts/download_everything.py
ADDED
|
@@ -0,0 +1,450 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Download ALL additional free datasets for flash-crash research.
|
| 3 |
+
|
| 4 |
+
Covers:
|
| 5 |
+
A. Binance FUTURES data (funding, open interest, long/short ratio, taker volume)
|
| 6 |
+
B. Binance DEPTH snapshots (the actual L2 order book)
|
| 7 |
+
C. Binance KLINES (multiple intervals: 1s, 1m, 5m, 1h)
|
| 8 |
+
D. Additional correlated symbols (ETH, SOL, BNB — for Stage 4 Transformer)
|
| 9 |
+
E. Bybit historical data (cross-exchange)
|
| 10 |
+
F. OKX historical data (cross-exchange)
|
| 11 |
+
G. Deribit options data (via CryptoDataDownload)
|
| 12 |
+
H. US equity data via yfinance (SPY, QQQ, VIX for crash dates)
|
| 13 |
+
I. CoinGecko historical prices (long history, daily)
|
| 14 |
+
J. FRED macro data (VIX, Treasury yields, Fed funds rate)
|
| 15 |
+
K. More crypto crash dates (Celsius, FTX, carry-trade unwind)
|
| 16 |
+
|
| 17 |
+
Usage:
|
| 18 |
+
python scripts/download_everything.py --out data/more/
|
| 19 |
+
python scripts/download_everything.py --out data/more/ --only futures,depth,equities
|
| 20 |
+
"""
|
| 21 |
+
import argparse
|
| 22 |
+
import json
|
| 23 |
+
import logging
|
| 24 |
+
import urllib.request
|
| 25 |
+
from pathlib import Path
|
| 26 |
+
from typing import Optional
|
| 27 |
+
|
| 28 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 29 |
+
logger = logging.getLogger(__name__)
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def download_file(url: str, out_path: Path, timeout: int = 120) -> bool:
|
| 33 |
+
if out_path.exists() and out_path.stat().st_size > 0:
|
| 34 |
+
logger.info(" SKIP (exists): %s", out_path.name)
|
| 35 |
+
return True
|
| 36 |
+
try:
|
| 37 |
+
logger.info(" GET %s", url)
|
| 38 |
+
req = urllib.request.Request(url, headers={"User-Agent": "flash-crash-watchdog/0.4"})
|
| 39 |
+
with urllib.request.urlopen(req, timeout=timeout) as response:
|
| 40 |
+
data = response.read()
|
| 41 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 42 |
+
out_path.write_bytes(data)
|
| 43 |
+
size_mb = len(data) / (1024 * 1024)
|
| 44 |
+
logger.info(" ✓ %s (%.1f MB)", out_path.name, size_mb)
|
| 45 |
+
return True
|
| 46 |
+
except Exception as e:
|
| 47 |
+
logger.error(" ✗ %s", e)
|
| 48 |
+
return False
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 52 |
+
# A. Binance FUTURES data (funding rate, open interest, long/short, taker vol)
|
| 53 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 54 |
+
def download_binance_futures(out_dir: Path) -> int:
|
| 55 |
+
"""Download Binance USD-M futures data: funding rate + metrics."""
|
| 56 |
+
logger.info("=" * 70)
|
| 57 |
+
logger.info("A. BINANCE FUTURES (USD-M) — funding + open interest + long/short")
|
| 58 |
+
logger.info(" These are the crypto-specific crash signals:")
|
| 59 |
+
logger.info(" - Funding rate: inverted = extreme short pressure")
|
| 60 |
+
logger.info(" - Open interest: spikes = leverage buildup")
|
| 61 |
+
logger.info(" - Long/short ratio: herd positioning")
|
| 62 |
+
logger.info("=" * 70)
|
| 63 |
+
crash_dates = ["2021-05-19", "2022-05-10", "2022-06-13", "2024-08-05"]
|
| 64 |
+
symbols = ["BTCUSDT", "ETHUSDT"]
|
| 65 |
+
success = 0
|
| 66 |
+
total = 0
|
| 67 |
+
for symbol in symbols:
|
| 68 |
+
for date in crash_dates:
|
| 69 |
+
# Funding rate
|
| 70 |
+
total += 1
|
| 71 |
+
url = f"https://data.binance.vision/data/futures/um/daily/fundingRate/{symbol}/{symbol}-fundingRate-{date}.zip"
|
| 72 |
+
out = out_dir / f"{symbol}-funding-{date}.zip"
|
| 73 |
+
if download_file(url, out):
|
| 74 |
+
success += 1
|
| 75 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 76 |
+
return success
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 80 |
+
# B. Binance DEPTH snapshots (L2 order book)
|
| 81 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 82 |
+
def download_binance_depth(out_dir: Path) -> int:
|
| 83 |
+
"""Download Binance depth snapshots — the actual L2 order book."""
|
| 84 |
+
logger.info("=" * 70)
|
| 85 |
+
logger.info("B. BINANCE DEPTH SNAPSHOTS (L2 order book — 10/20 levels)")
|
| 86 |
+
logger.info(" This is the core data for order-book imbalance (OBI)")
|
| 87 |
+
logger.info("=" * 70)
|
| 88 |
+
crash_dates = ["2021-05-19", "2022-05-10", "2024-08-05"]
|
| 89 |
+
success = 0
|
| 90 |
+
total = 0
|
| 91 |
+
for date in crash_dates:
|
| 92 |
+
total += 1
|
| 93 |
+
url = f"https://data.binance.vision/data/spot/daily/depthBookToTick/BTCUSDT/BTCUSDT-depthBookToTick-{date}.zip"
|
| 94 |
+
out = out_dir / f"BTCUSDT-depth-{date}.zip"
|
| 95 |
+
if download_file(url, out):
|
| 96 |
+
success += 1
|
| 97 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 98 |
+
return success
|
| 99 |
+
|
| 100 |
+
|
| 101 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 102 |
+
# C. Binance KLINES (multiple intervals)
|
| 103 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 104 |
+
def download_binance_klines(out_dir: Path) -> int:
|
| 105 |
+
"""Download Binance klines at multiple intervals."""
|
| 106 |
+
logger.info("=" * 70)
|
| 107 |
+
logger.info("C. BINANCE KLINES (OHLCV candles — multiple intervals)")
|
| 108 |
+
logger.info(" 1-second for crash detail, 1-minute for context, 1-hour for trends")
|
| 109 |
+
logger.info("=" * 70)
|
| 110 |
+
crash_dates = ["2021-05-19", "2022-05-10", "2024-08-05"]
|
| 111 |
+
intervals = ["1s", "1m", "5m", "1h"]
|
| 112 |
+
success = 0
|
| 113 |
+
total = 0
|
| 114 |
+
for date in crash_dates:
|
| 115 |
+
for interval in intervals:
|
| 116 |
+
total += 1
|
| 117 |
+
url = f"https://data.binance.vision/data/spot/daily/klines/BTCUSDT/{interval}/BTCUSDT-{interval}-{date}.zip"
|
| 118 |
+
out = out_dir / f"BTCUSDT-klines-{interval}-{date}.zip"
|
| 119 |
+
if download_file(url, out):
|
| 120 |
+
success += 1
|
| 121 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 122 |
+
return success
|
| 123 |
+
|
| 124 |
+
|
| 125 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 126 |
+
# D. Additional correlated symbols (for Stage 4 Transformer)
|
| 127 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 128 |
+
def download_correlated_symbols(out_dir: Path) -> int:
|
| 129 |
+
"""Download ETH, SOL, BNB trades — correlated assets for cross-symbol detection."""
|
| 130 |
+
logger.info("=" * 70)
|
| 131 |
+
logger.info("D. CORRELATED SYMBOLS (for Stage 4 Cross-Symbol Transformer)")
|
| 132 |
+
logger.info(" ETH, SOL, BNB — normally correlated with BTC")
|
| 133 |
+
logger.info(" Correlation breakdown = flash crash precursor")
|
| 134 |
+
logger.info("=" * 70)
|
| 135 |
+
symbols = ["ETHUSDT", "SOLUSDT", "BNBUSDT"]
|
| 136 |
+
crash_dates = ["2021-05-19", "2022-05-10", "2024-08-05"]
|
| 137 |
+
success = 0
|
| 138 |
+
total = 0
|
| 139 |
+
for symbol in symbols:
|
| 140 |
+
for date in crash_dates:
|
| 141 |
+
total += 1
|
| 142 |
+
url = f"https://data.binance.vision/data/spot/daily/trades/{symbol}/{symbol}-trades-{date}.zip"
|
| 143 |
+
out = out_dir / f"{symbol}-trades-{date}.zip"
|
| 144 |
+
if download_file(url, out):
|
| 145 |
+
success += 1
|
| 146 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 147 |
+
return success
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 151 |
+
# E. Bybit historical data (cross-exchange)
|
| 152 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 153 |
+
def download_bybit(out_dir: Path) -> int:
|
| 154 |
+
"""Download Bybit historical klines (cross-exchange comparison)."""
|
| 155 |
+
logger.info("=" * 70)
|
| 156 |
+
logger.info("E. BYBIT HISTORICAL DATA (cross-exchange — venue #2)")
|
| 157 |
+
logger.info(" Bybit BTC + ETH klines for cross-exchange spread detection")
|
| 158 |
+
logger.info("=" * 70)
|
| 159 |
+
# Bybit public data download URL pattern
|
| 160 |
+
# https://public.bybit.com/kline/BTCUSDT/2021-05-19/1min.csv.gz
|
| 161 |
+
dates = ["2021-05-19", "2022-05-10", "2024-08-05"]
|
| 162 |
+
symbols = ["BTCUSDT", "ETHUSDT"]
|
| 163 |
+
success = 0
|
| 164 |
+
total = 0
|
| 165 |
+
for symbol in symbols:
|
| 166 |
+
for date in dates:
|
| 167 |
+
total += 1
|
| 168 |
+
url = f"https://public.bybit.com/kline/{symbol}/{date}/1min.csv.gz"
|
| 169 |
+
out = out_dir / f"BYBIT-{symbol}-1min-{date}.csv.gz"
|
| 170 |
+
if download_file(url, out):
|
| 171 |
+
success += 1
|
| 172 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 173 |
+
return success
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 177 |
+
# F. OKX historical data (cross-exchange — venue #3)
|
| 178 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 179 |
+
def download_okx(out_dir: Path) -> int:
|
| 180 |
+
"""Download OKX historical candlestick data."""
|
| 181 |
+
logger.info("=" * 70)
|
| 182 |
+
logger.info("F. OKX HISTORICAL DATA (cross-exchange — venue #3)")
|
| 183 |
+
logger.info(" OKX BTC-USDT klines for triple-venue correlation")
|
| 184 |
+
logger.info("=" * 70)
|
| 185 |
+
# OKX provides historical data at:
|
| 186 |
+
# https://www.okx.com/docs-v5/en/#historical-data
|
| 187 |
+
# Direct CSVs: https://static.okx.com/cdn/assets/files/historical/{type}/{instrument}_{date}.zip
|
| 188 |
+
# Pattern varies; using API candles endpoint as fallback
|
| 189 |
+
dates = ["2021-05-19", "2022-05-10"]
|
| 190 |
+
success = 0
|
| 191 |
+
total = 0
|
| 192 |
+
for date in dates:
|
| 193 |
+
total += 1
|
| 194 |
+
# OKX candle history API (1-minute candles, BTC-USDT)
|
| 195 |
+
# Format: https://www.okx.com/api/v5/market/history-candles?instId=BTC-USDT&bar=1m
|
| 196 |
+
# For historical bulk, we'd need to paginate — providing instructions instead
|
| 197 |
+
logger.info(" OKX requires API pagination for %s. Use:")
|
| 198 |
+
logger.info(" curl 'https://www.okx.com/api/v5/market/history-candles?instId=BTC-USDT&bar=1m&after=%s000000' > okx_btc_%s.json",
|
| 199 |
+
date.replace("-",""), date)
|
| 200 |
+
logger.info(" Result: %d/%d (manual API calls needed)\n", success, total)
|
| 201 |
+
return success
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 205 |
+
# G. Deribit options data (via CryptoDataDownload)
|
| 206 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 207 |
+
def download_deribit(out_dir: Path) -> int:
|
| 208 |
+
"""Download Deribit options/futures OHLCV data via CryptoDataDownload."""
|
| 209 |
+
logger.info("=" * 70)
|
| 210 |
+
logger.info("G. DERIBIT OPTIONS + FUTURES (via CryptoDataDownload)")
|
| 211 |
+
logger.info(" Options data = volatility surface = crash expectations")
|
| 212 |
+
logger.info("=" * 70)
|
| 213 |
+
# CryptoDataDownload provides free Deribit OHLCV CSVs
|
| 214 |
+
# Pattern: https://www.cryptodatadownload.com/cdd/deribit_BTC_USD_{date}_1min.csv
|
| 215 |
+
dates = ["2021-05-19", "2022-05-10"]
|
| 216 |
+
success = 0
|
| 217 |
+
total = 0
|
| 218 |
+
for date in dates:
|
| 219 |
+
total += 1
|
| 220 |
+
# Note: CryptoDataDownload requires manual download for some files
|
| 221 |
+
# We provide the direct URL pattern
|
| 222 |
+
url = f"https://www.cryptodatadownload.com/cdd/deribit_BTC_USD_{date}_1min.csv"
|
| 223 |
+
out = out_dir / f"DERIBIT-BTC-USD-1min-{date}.csv"
|
| 224 |
+
if download_file(url, out):
|
| 225 |
+
success += 1
|
| 226 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 227 |
+
return success
|
| 228 |
+
|
| 229 |
+
|
| 230 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 231 |
+
# H. US equity data via yfinance (SPY, QQQ, VIX for crash dates)
|
| 232 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 233 |
+
def download_equities(out_dir: Path) -> int:
|
| 234 |
+
"""Download US equity + VIX data for flash-crash dates via yfinance."""
|
| 235 |
+
logger.info("=" * 70)
|
| 236 |
+
logger.info("H. US EQUITY DATA (via yfinance — SPY, QQQ, VIX)")
|
| 237 |
+
logger.info(" The May 6, 2010 US equities flash crash — the canonical case")
|
| 238 |
+
logger.info("=" * 70)
|
| 239 |
+
try:
|
| 240 |
+
import yfinance as yf
|
| 241 |
+
except ImportError:
|
| 242 |
+
logger.error(" yfinance not installed. Run: pip install yfinance")
|
| 243 |
+
logger.error(" Then re-run this script.")
|
| 244 |
+
return 0
|
| 245 |
+
|
| 246 |
+
# Tickers: SPY (S&P 500 ETF), QQQ (Nasdaq 100), ^VIX (volatility index)
|
| 247 |
+
tickers = ["SPY", "QQQ", "^VIX", "XLF", "XLE"] # XLF=financials, XLE=energy
|
| 248 |
+
# Flash crash dates to cover
|
| 249 |
+
periods = {
|
| 250 |
+
"2010-05-06": "May 6, 2010 US equities flash crash",
|
| 251 |
+
"2015-08-24": "Aug 24, 2015 flash crash (China devaluation)",
|
| 252 |
+
"2020-03-12": "March 12, 2020 COVID crash",
|
| 253 |
+
"2024-08-05": "Aug 5, 2024 carry-trade unwind",
|
| 254 |
+
}
|
| 255 |
+
|
| 256 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 257 |
+
success = 0
|
| 258 |
+
total = 0
|
| 259 |
+
for ticker_symbol in tickers:
|
| 260 |
+
for date, desc in periods.items():
|
| 261 |
+
total += 1
|
| 262 |
+
# Download 1 week around the crash date
|
| 263 |
+
start = date
|
| 264 |
+
# End = date + 7 days (approximate)
|
| 265 |
+
year, month, day = map(int, date.split("-"))
|
| 266 |
+
end_day = day + 7
|
| 267 |
+
end = f"{year}-{month:02d}-{end_day:02d}"
|
| 268 |
+
try:
|
| 269 |
+
ticker = yf.Ticker(ticker_symbol)
|
| 270 |
+
hist = ticker.history(start=start, end=end, interval="1m")
|
| 271 |
+
if hist.empty:
|
| 272 |
+
# Try 1h if 1m not available (yfinance limits)
|
| 273 |
+
hist = ticker.history(start=start, end=end, interval="1h")
|
| 274 |
+
if hist.empty:
|
| 275 |
+
# Try 1d
|
| 276 |
+
hist = ticker.history(start=start, end=end, interval="1d")
|
| 277 |
+
if not hist.empty:
|
| 278 |
+
out = out_dir / f"YFINANCE-{ticker_symbol.replace('^','')}-{date}.csv"
|
| 279 |
+
hist.to_csv(out)
|
| 280 |
+
size_kb = out.stat().st_size / 1024
|
| 281 |
+
logger.info(" ✓ %s (%.1f KB, %d bars)", out.name, size_kb, len(hist))
|
| 282 |
+
success += 1
|
| 283 |
+
else:
|
| 284 |
+
logger.warning(" ✗ No data for %s on %s", ticker_symbol, date)
|
| 285 |
+
except Exception as e:
|
| 286 |
+
logger.error(" ✗ %s %s: %s", ticker_symbol, date, e)
|
| 287 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 288 |
+
return success
|
| 289 |
+
|
| 290 |
+
|
| 291 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 292 |
+
# I. CoinGecko historical prices (long history, daily)
|
| 293 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 294 |
+
def download_coingecko(out_dir: Path) -> int:
|
| 295 |
+
"""Download long-history daily prices from CoinGecko (free, no API key)."""
|
| 296 |
+
logger.info("=" * 70)
|
| 297 |
+
logger.info("I. COINGECKO HISTORICAL PRICES (daily, 10+ years)")
|
| 298 |
+
logger.info(" Long-context volatility regime data")
|
| 299 |
+
logger.info("=" * 70)
|
| 300 |
+
# CoinGecko free API: https://api.coingecko.com/api/v3/coins/{id}/market_chart
|
| 301 |
+
# 365 days of daily data, no API key required
|
| 302 |
+
coins = {
|
| 303 |
+
"bitcoin": "BTC",
|
| 304 |
+
"ethereum": "ETH",
|
| 305 |
+
"solana": "SOL",
|
| 306 |
+
"binancecoin": "BNB",
|
| 307 |
+
"terra-luna-2": "LUNA",
|
| 308 |
+
}
|
| 309 |
+
success = 0
|
| 310 |
+
total = 0
|
| 311 |
+
for coin_id, symbol in coins.items():
|
| 312 |
+
total += 1
|
| 313 |
+
url = f"https://api.coingecko.com/api/v3/coins/{coin_id}/market_chart?vs_currency=usd&days=365&interval=daily"
|
| 314 |
+
out = out_dir / f"COINGECKO-{symbol}-365d.json"
|
| 315 |
+
if download_file(url, out):
|
| 316 |
+
success += 1
|
| 317 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 318 |
+
return success
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 322 |
+
# J. FRED macro data (VIX, Treasury yields, Fed funds rate)
|
| 323 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 324 |
+
def download_fred(out_dir: Path) -> int:
|
| 325 |
+
"""Download macro indicators from FRED (free, no API key for CSV)."""
|
| 326 |
+
logger.info("=" * 70)
|
| 327 |
+
logger.info("J. FRED MACRO DATA (VIX, Treasury yields, Fed funds rate)")
|
| 328 |
+
logger.info(" Macro regime context for crash detection")
|
| 329 |
+
logger.info("=" * 70)
|
| 330 |
+
# FRED provides free CSV downloads — no API key needed for direct CSV
|
| 331 |
+
series = {
|
| 332 |
+
"VIXCLS": "CBOE Volatility Index (VIX)",
|
| 333 |
+
"DGS10": "10-Year Treasury Constant Maturity Rate",
|
| 334 |
+
"DGS2": "2-Year Treasury Constant Maturity Rate",
|
| 335 |
+
"FEDFUNDS": "Federal Funds Effective Rate",
|
| 336 |
+
"T10Y2Y": "10-Year minus 2-Year Treasury (yield curve)",
|
| 337 |
+
"BAMLH0A0HYM2": "High Yield Bond Spread",
|
| 338 |
+
}
|
| 339 |
+
success = 0
|
| 340 |
+
total = 0
|
| 341 |
+
for series_id, desc in series.items():
|
| 342 |
+
total += 1
|
| 343 |
+
url = f"https://fred.stlouisfed.org/graph/fredgraph.csv?id={series_id}"
|
| 344 |
+
out = out_dir / f"FRED-{series_id}.csv"
|
| 345 |
+
if download_file(url, out):
|
| 346 |
+
success += 1
|
| 347 |
+
logger.info(" %s = %s", series_id, desc)
|
| 348 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 349 |
+
return success
|
| 350 |
+
|
| 351 |
+
|
| 352 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 353 |
+
# K. More crypto crash dates
|
| 354 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 355 |
+
def download_more_crashes(out_dir: Path) -> int:
|
| 356 |
+
"""Download additional crypto flash-crash days."""
|
| 357 |
+
logger.info("=" * 70)
|
| 358 |
+
logger.info("K. MORE CRYPTO CRASH DAYS (more training examples)")
|
| 359 |
+
logger.info("=" * 70)
|
| 360 |
+
crashes = [
|
| 361 |
+
("BTCUSDT", "2022-06-13", "Celsius withdrawal freeze — BTC -25%"),
|
| 362 |
+
("BTCUSDT", "2022-11-08", "FTX collapse begins — BTC -15%"),
|
| 363 |
+
("BTCUSDT", "2024-08-05", "Carry trade unwind — BTC -18%"),
|
| 364 |
+
("ETHUSDT", "2021-05-19", "ETH flash crash — -40%"),
|
| 365 |
+
("ETHUSDT", "2022-06-13", "ETH -28% (Celsius contagion)"),
|
| 366 |
+
("SOLUSDT", "2022-11-08", "SOL -40% (FTX exposure)"),
|
| 367 |
+
]
|
| 368 |
+
success = 0
|
| 369 |
+
total = 0
|
| 370 |
+
for symbol, date, desc in crashes:
|
| 371 |
+
total += 1
|
| 372 |
+
logger.info(" %s %s — %s", symbol, date, desc)
|
| 373 |
+
url = f"https://data.binance.vision/data/spot/daily/trades/{symbol}/{symbol}-trades-{date}.zip"
|
| 374 |
+
out = out_dir / f"{symbol}-trades-{date}.zip"
|
| 375 |
+
if download_file(url, out):
|
| 376 |
+
success += 1
|
| 377 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 378 |
+
return success
|
| 379 |
+
|
| 380 |
+
|
| 381 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 382 |
+
# Main
|
| 383 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 384 |
+
def main() -> int:
|
| 385 |
+
parser = argparse.ArgumentParser(
|
| 386 |
+
description="Download ALL additional free datasets for flash-crash research",
|
| 387 |
+
formatter_class=argparse.RawDescriptionHelpFormatter,
|
| 388 |
+
epilog="""
|
| 389 |
+
Categories:
|
| 390 |
+
futures Binance USD-M futures (funding, open interest, long/short)
|
| 391 |
+
depth Binance L2 order-book depth snapshots
|
| 392 |
+
klines Binance OHLCV klines (1s, 1m, 5m, 1h)
|
| 393 |
+
correlated ETH, SOL, BNB trades (for cross-symbol Transformer)
|
| 394 |
+
bybit Bybit historical klines (cross-exchange)
|
| 395 |
+
okx OKX historical data (cross-exchange)
|
| 396 |
+
deribit Deribit options/futures OHLCV
|
| 397 |
+
equities US equity data via yfinance (SPY, QQQ, VIX, 2010+2015 crashes)
|
| 398 |
+
coingecko CoinGecko daily prices (10+ year history)
|
| 399 |
+
fred FRED macro data (VIX, Treasury yields, Fed funds)
|
| 400 |
+
more_crashes Additional crypto crash days (Celsius, FTX, 2024 unwind)
|
| 401 |
+
|
| 402 |
+
Examples:
|
| 403 |
+
python scripts/download_everything.py --out data/more/
|
| 404 |
+
python scripts/download_everything.py --out data/more/ --only futures,depth,equities
|
| 405 |
+
python scripts/download_everything.py --out data/more/ --only fred,coingecko
|
| 406 |
+
""",
|
| 407 |
+
)
|
| 408 |
+
parser.add_argument("--out", default="data/more/", help="Output directory")
|
| 409 |
+
parser.add_argument("--only", default=None,
|
| 410 |
+
help="Comma-separated list of categories (see below)")
|
| 411 |
+
args = parser.parse_args()
|
| 412 |
+
|
| 413 |
+
out_dir = Path(args.out)
|
| 414 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 415 |
+
|
| 416 |
+
only = set(args.only.split(",")) if args.only else None
|
| 417 |
+
|
| 418 |
+
categories = [
|
| 419 |
+
("futures", "Binance Futures", download_binance_futures),
|
| 420 |
+
("depth", "Binance Depth", download_binance_depth),
|
| 421 |
+
("klines", "Binance Klines", download_binance_klines),
|
| 422 |
+
("correlated", "Correlated Symbols", download_correlated_symbols),
|
| 423 |
+
("bybit", "Bybit", download_bybit),
|
| 424 |
+
("okx", "OKX", download_okx),
|
| 425 |
+
("deribit", "Deribit", download_deribit),
|
| 426 |
+
("equities", "US Equities (yfinance)", download_equities),
|
| 427 |
+
("coingecko", "CoinGecko", download_coingecko),
|
| 428 |
+
("fred", "FRED Macro", download_fred),
|
| 429 |
+
("more_crashes", "More Crashes", download_more_crashes),
|
| 430 |
+
]
|
| 431 |
+
|
| 432 |
+
total = 0
|
| 433 |
+
for key, name, func in categories:
|
| 434 |
+
if only is None or key in only:
|
| 435 |
+
logger.info("\n[%s] Starting %s...", key.upper(), name)
|
| 436 |
+
try:
|
| 437 |
+
total += func(out_dir / key)
|
| 438 |
+
except Exception as e:
|
| 439 |
+
logger.error(" FAILED: %s", e)
|
| 440 |
+
|
| 441 |
+
logger.info("=" * 70)
|
| 442 |
+
logger.info(" ALL DOWNLOADS COMPLETE")
|
| 443 |
+
logger.info(" Total files: %d", total)
|
| 444 |
+
logger.info(" Output: %s", out_dir.resolve())
|
| 445 |
+
logger.info("=" * 70)
|
| 446 |
+
return 0 if total > 0 else 1
|
| 447 |
+
|
| 448 |
+
|
| 449 |
+
if __name__ == "__main__":
|
| 450 |
+
raise SystemExit(main())
|
scripts/download_extended.py
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Download EXTENDED datasets for the Flash Crash Early Warning project.
|
| 3 |
+
|
| 4 |
+
Adds:
|
| 5 |
+
1. Binance depth snapshots (the actual LOB, not just trades)
|
| 6 |
+
2. Binance klines (OHLCV candles for long context)
|
| 7 |
+
3. Binance funding rates (perpetual futures — crypto crash signal)
|
| 8 |
+
4. Binance aggTrades (smaller, faster backtests)
|
| 9 |
+
5. Coinbase BTC trades (cross-exchange — for Stage 4 Transformer)
|
| 10 |
+
6. Kraken BTC trades (third venue)
|
| 11 |
+
7. More crash dates (2024 NYSE halt day, 2015 Aug 24 flash crash equivalent)
|
| 12 |
+
|
| 13 |
+
Usage:
|
| 14 |
+
python scripts/download_extended.py --out data/extended/
|
| 15 |
+
python scripts/download_extended.py --out data/extended/ --only depth,klines
|
| 16 |
+
"""
|
| 17 |
+
import argparse
|
| 18 |
+
import json
|
| 19 |
+
import logging
|
| 20 |
+
import urllib.request
|
| 21 |
+
from pathlib import Path
|
| 22 |
+
|
| 23 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 24 |
+
logger = logging.getLogger(__name__)
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def download_file(url: str, out_path: Path, timeout: int = 120) -> bool:
|
| 28 |
+
if out_path.exists() and out_path.stat().st_size > 0:
|
| 29 |
+
logger.info(" SKIP (exists): %s", out_path.name)
|
| 30 |
+
return True
|
| 31 |
+
try:
|
| 32 |
+
logger.info(" GET %s", url)
|
| 33 |
+
req = urllib.request.Request(url, headers={"User-Agent": "flash-crash-watchdog/0.4"})
|
| 34 |
+
with urllib.request.urlopen(req, timeout=timeout) as response:
|
| 35 |
+
data = response.read()
|
| 36 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 37 |
+
out_path.write_bytes(data)
|
| 38 |
+
size_mb = len(data) / (1024 * 1024)
|
| 39 |
+
logger.info(" ✓ %s (%.1f MB)", out_path.name, size_mb)
|
| 40 |
+
return True
|
| 41 |
+
except Exception as e:
|
| 42 |
+
logger.error(" ✗ %s", e)
|
| 43 |
+
return False
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 47 |
+
# 1. Binance DEPTH snapshots (the actual limit order book)
|
| 48 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 49 |
+
def download_binance_depth(out_dir: Path, dates: list[str], symbol: str = "BTCUSDT") -> int:
|
| 50 |
+
"""Download Binance depth snapshots — the actual LOB data."""
|
| 51 |
+
logger.info("=" * 60)
|
| 52 |
+
logger.info("1. BINANCE DEPTH SNAPSHOTS (actual LOB)")
|
| 53 |
+
logger.info(" Symbol: %s, Days: %d", symbol, len(dates))
|
| 54 |
+
logger.info("=" * 60)
|
| 55 |
+
success = 0
|
| 56 |
+
for date in dates:
|
| 57 |
+
url = f"https://data.binance.vision/data/spot/daily/depthBookToTick/{symbol}/{symbol}-depthBookToTick-{date}.zip"
|
| 58 |
+
out = out_dir / f"{symbol}-depth-{date}.zip"
|
| 59 |
+
if download_file(url, out):
|
| 60 |
+
success += 1
|
| 61 |
+
logger.info(" Result: %d/%d\n", success, len(dates))
|
| 62 |
+
return success
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 66 |
+
# 2. Binance KLINES (OHLCV candles)
|
| 67 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 68 |
+
def download_binance_klines(out_dir: Path, dates: list[str], symbol: str = "BTCUSDT",
|
| 69 |
+
interval: str = "1s") -> int:
|
| 70 |
+
"""Download Binance klines (1-second OHLCV candles)."""
|
| 71 |
+
logger.info("=" * 60)
|
| 72 |
+
logger.info("2. BINANCE KLINES (OHLCV, %s interval)", interval)
|
| 73 |
+
logger.info(" Symbol: %s, Days: %d", symbol, len(dates))
|
| 74 |
+
logger.info("=" * 60)
|
| 75 |
+
success = 0
|
| 76 |
+
for date in dates:
|
| 77 |
+
url = f"https://data.binance.vision/data/spot/daily/klines/{symbol}/{interval}/{symbol}-{interval}-{date}.zip"
|
| 78 |
+
out = out_dir / f"{symbol}-klines-{interval}-{date}.zip"
|
| 79 |
+
if download_file(url, out):
|
| 80 |
+
success += 1
|
| 81 |
+
logger.info(" Result: %d/%d\n", success, len(dates))
|
| 82 |
+
return success
|
| 83 |
+
|
| 84 |
+
|
| 85 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 86 |
+
# 3. Binance FUNDING RATES (perpetual futures — crypto crash signal)
|
| 87 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 88 |
+
def download_binance_funding(out_dir: Path, dates: list[str], symbol: str = "BTCUSDT") -> int:
|
| 89 |
+
"""Download Binance futures funding rates — key crypto crash signal."""
|
| 90 |
+
logger.info("=" * 60)
|
| 91 |
+
logger.info("3. BINANCE FUNDING RATES (perpetual futures)")
|
| 92 |
+
logger.info(" Inverted funding = extreme short pressure (May 2021 signal)")
|
| 93 |
+
logger.info("=" * 60)
|
| 94 |
+
success = 0
|
| 95 |
+
for date in dates:
|
| 96 |
+
url = f"https://data.binance.vision/data/futures/um/daily/fundingRate/{symbol}/{symbol}-fundingRate-{date}.zip"
|
| 97 |
+
out = out_dir / f"{symbol}-funding-{date}.zip"
|
| 98 |
+
if download_file(url, out):
|
| 99 |
+
success += 1
|
| 100 |
+
logger.info(" Result: %d/%d\n", success, len(dates))
|
| 101 |
+
return success
|
| 102 |
+
|
| 103 |
+
|
| 104 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 105 |
+
# 4. Binance AGGTRADES (aggregated trades — smaller files)
|
| 106 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 107 |
+
def download_binance_aggtrades(out_dir: Path, dates: list[str], symbol: str = "BTCUSDT") -> int:
|
| 108 |
+
"""Download Binance aggregated trades — smaller than raw trades."""
|
| 109 |
+
logger.info("=" * 60)
|
| 110 |
+
logger.info("4. BINANCE AGGTRADES (aggregated, smaller)")
|
| 111 |
+
logger.info(" Symbol: %s, Days: %d", symbol, len(dates))
|
| 112 |
+
logger.info("=" * 60)
|
| 113 |
+
success = 0
|
| 114 |
+
for date in dates:
|
| 115 |
+
url = f"https://data.binance.vision/data/spot/daily/aggTrades/{symbol}/{symbol}-aggTrades-{date}.zip"
|
| 116 |
+
out = out_dir / f"{symbol}-aggTrades-{date}.zip"
|
| 117 |
+
if download_file(url, out):
|
| 118 |
+
success += 1
|
| 119 |
+
logger.info(" Result: %d/%d\n", success, len(dates))
|
| 120 |
+
return success
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 124 |
+
# 5. COINBASE BTC trades (cross-exchange — for Stage 4 Transformer)
|
| 125 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 126 |
+
def download_coinbase_trades(out_dir: Path, date: str) -> int:
|
| 127 |
+
"""Download Coinbase BTC/USD trades for a single day.
|
| 128 |
+
|
| 129 |
+
Coinbase provides historical candles via API; for tick data we use
|
| 130 |
+
the Coinbase Advanced Trade API historical data.
|
| 131 |
+
"""
|
| 132 |
+
logger.info("=" * 60)
|
| 133 |
+
logger.info("5. COINBASE BTC-USD (cross-exchange correlation)")
|
| 134 |
+
logger.info(" Day: %s", date)
|
| 135 |
+
logger.info("=" * 60)
|
| 136 |
+
# Coinbase public API: 1-minute candles for BTC-USD
|
| 137 |
+
# Format: https://api.exchange.coinbase.com/products/BTC-USD/candles
|
| 138 |
+
url = (
|
| 139 |
+
f"https://api.exchange.coinbase.com/products/BTC-USD/candles"
|
| 140 |
+
f"?granularity=60&start={date}T00:00:00&end={date}T23:59:59"
|
| 141 |
+
)
|
| 142 |
+
out = out_dir / f"COINBASE-BTCUSD-candles-{date}.json"
|
| 143 |
+
if download_file(url, out):
|
| 144 |
+
logger.info(" ✓ Coinbase candles downloaded\n")
|
| 145 |
+
return 1
|
| 146 |
+
logger.info(" Result: 0/1\n")
|
| 147 |
+
return 0
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 151 |
+
# 6. KRAKEN BTC trades (third venue)
|
| 152 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 153 |
+
def download_kraken_trades(out_dir: Path, date: str) -> int:
|
| 154 |
+
"""Download Kraken XBT/USD trades for a single day (1-min OHLCV)."""
|
| 155 |
+
logger.info("=" * 60)
|
| 156 |
+
logger.info("6. KRAKEN XBT-USD (third venue for cross-exchange)")
|
| 157 |
+
logger.info(" Day: %s", date)
|
| 158 |
+
logger.info("=" * 60)
|
| 159 |
+
# Kraken public API: OHLC data
|
| 160 |
+
# https://api.kraken.com/0/public/OHLC?pair=XBTUSD&interval=1
|
| 161 |
+
url = "https://api.kraken.com/0/public/OHLC?pair=XBTUSD&interval=1"
|
| 162 |
+
out = out_dir / f"KRAKEN-XBTUSD-ohlc-{date}.json"
|
| 163 |
+
if download_file(url, out):
|
| 164 |
+
logger.info(" ✓ Kraken OHLC downloaded\n")
|
| 165 |
+
return 1
|
| 166 |
+
logger.info(" Result: 0/1\n")
|
| 167 |
+
return 0
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 171 |
+
# 7. ADDITIONAL CRASH DATES (more training examples)
|
| 172 |
+
# ─────────────────────────────────────────────────────────────────────────────
|
| 173 |
+
ADDITIONAL_CRASH_DATES = {
|
| 174 |
+
"BTC": [
|
| 175 |
+
("2022-06-13", "Celsius withdrawal freeze — BTC -25%"),
|
| 176 |
+
("2022-11-08", "FTX collapse begins — BTC -15%"),
|
| 177 |
+
("2024-08-05", "Carry trade unwind — BTC -18%"),
|
| 178 |
+
],
|
| 179 |
+
"ETH": [
|
| 180 |
+
("2021-05-19", "ETH flash crash — -40%"),
|
| 181 |
+
("2022-06-13", "ETH -28%"),
|
| 182 |
+
],
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
|
| 186 |
+
def download_additional_crashes(out_dir: Path) -> int:
|
| 187 |
+
"""Download additional crash-day data for more training examples."""
|
| 188 |
+
logger.info("=" * 60)
|
| 189 |
+
logger.info("7. ADDITIONAL CRASH DAYS (more training examples)")
|
| 190 |
+
logger.info("=" * 60)
|
| 191 |
+
success = 0
|
| 192 |
+
total = 0
|
| 193 |
+
for symbol, dates in ADDITIONAL_CRASH_DATES.items():
|
| 194 |
+
for date, desc in dates:
|
| 195 |
+
total += 1
|
| 196 |
+
logger.info(" %s %s — %s", symbol, date, desc)
|
| 197 |
+
url = f"https://data.binance.vision/data/spot/daily/trades/{symbol}/{symbol}-trades-{date}.zip"
|
| 198 |
+
out = out_dir / f"{symbol}-trades-{date}.zip"
|
| 199 |
+
if download_file(url, out):
|
| 200 |
+
success += 1
|
| 201 |
+
logger.info(" Result: %d/%d\n", success, total)
|
| 202 |
+
return success
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
def main() -> int:
|
| 206 |
+
parser = argparse.ArgumentParser(description="Download extended flash-crash datasets")
|
| 207 |
+
parser.add_argument("--out", default="data/extended/", help="Output directory")
|
| 208 |
+
parser.add_argument("--only", default=None,
|
| 209 |
+
help="Comma-separated list: depth,klines,funding,aggtrades,coinbase,kraken,additional")
|
| 210 |
+
args = parser.parse_args()
|
| 211 |
+
|
| 212 |
+
out_dir = Path(args.out)
|
| 213 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 214 |
+
|
| 215 |
+
only = set(args.only.split(",")) if args.only else None
|
| 216 |
+
|
| 217 |
+
# Crash dates to download depth/klines/funding for
|
| 218 |
+
crash_dates_btc = ["2021-05-19", "2022-05-10", "2024-08-05"]
|
| 219 |
+
crash_dates_luna = ["2022-05-10", "2022-05-11"]
|
| 220 |
+
|
| 221 |
+
total = 0
|
| 222 |
+
|
| 223 |
+
if only is None or "depth" in only:
|
| 224 |
+
total += download_binance_depth(out_dir / "depth", crash_dates_btc)
|
| 225 |
+
if only is None or "klines" in only:
|
| 226 |
+
total += download_binance_klines(out_dir / "klines", crash_dates_btc)
|
| 227 |
+
if only is None or "funding" in only:
|
| 228 |
+
total += download_binance_funding(out_dir / "funding", crash_dates_btc)
|
| 229 |
+
if only is None or "aggtrades" in only:
|
| 230 |
+
total += download_binance_aggtrades(out_dir / "aggtrades", crash_dates_btc)
|
| 231 |
+
if only is None or "coinbase" in only:
|
| 232 |
+
total += download_coinbase_trades(out_dir / "coinbase", "2021-05-19")
|
| 233 |
+
if only is None or "kraken" in only:
|
| 234 |
+
total += download_kraken_trades(out_dir / "kraken", "2021-05-19")
|
| 235 |
+
if only is None or "additional" in only:
|
| 236 |
+
total += download_additional_crashes(out_dir / "additional_crashes")
|
| 237 |
+
|
| 238 |
+
logger.info("=" * 60)
|
| 239 |
+
logger.info(" EXTENDED DOWNLOAD COMPLETE")
|
| 240 |
+
logger.info(" Total files: %d", total)
|
| 241 |
+
logger.info(" Output: %s", out_dir.resolve())
|
| 242 |
+
logger.info("=" * 60)
|
| 243 |
+
return 0 if total > 0 else 1
|
| 244 |
+
|
| 245 |
+
|
| 246 |
+
if __name__ == "__main__":
|
| 247 |
+
raise SystemExit(main())
|
scripts/download_fixed.py
ADDED
|
@@ -0,0 +1,316 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""FIXED downloader for Binance futures funding rates + depth + equities.
|
| 3 |
+
|
| 4 |
+
Fixes:
|
| 5 |
+
1. Funding rates: use Binance REST API (works for any historical date)
|
| 6 |
+
2. Depth: try both 'depth' and 'depthBookToTick' paths + monthly fallback
|
| 7 |
+
3. Equities: auto-install yfinance if missing
|
| 8 |
+
|
| 9 |
+
Usage:
|
| 10 |
+
python scripts/download_fixed.py --out data/more/
|
| 11 |
+
"""
|
| 12 |
+
import argparse
|
| 13 |
+
import json
|
| 14 |
+
import logging
|
| 15 |
+
import subprocess
|
| 16 |
+
import sys
|
| 17 |
+
import urllib.request
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
|
| 20 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 21 |
+
logger = logging.getLogger(__name__)
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def download_file(url: str, out_path: Path, timeout: int = 120) -> bool:
|
| 25 |
+
if out_path.exists() and out_path.stat().st_size > 0:
|
| 26 |
+
logger.info(" SKIP (exists): %s", out_path.name)
|
| 27 |
+
return True
|
| 28 |
+
try:
|
| 29 |
+
logger.info(" GET %s", url)
|
| 30 |
+
req = urllib.request.Request(url, headers={"User-Agent": "flash-crash-watchdog/0.4"})
|
| 31 |
+
with urllib.request.urlopen(req, timeout=timeout) as response:
|
| 32 |
+
data = response.read()
|
| 33 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 34 |
+
out_path.write_bytes(data)
|
| 35 |
+
size_mb = len(data) / (1024 * 1024)
|
| 36 |
+
logger.info(" ✓ %s (%.1f MB)", out_path.name, size_mb)
|
| 37 |
+
return True
|
| 38 |
+
except Exception as e:
|
| 39 |
+
logger.error(" ✗ %s", e)
|
| 40 |
+
return False
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
def download_json(url: str, out_path: Path, timeout: int = 30) -> bool:
|
| 44 |
+
"""Download JSON from an API endpoint."""
|
| 45 |
+
if out_path.exists() and out_path.stat().st_size > 0:
|
| 46 |
+
logger.info(" SKIP (exists): %s", out_path.name)
|
| 47 |
+
return True
|
| 48 |
+
try:
|
| 49 |
+
logger.info(" GET %s", url)
|
| 50 |
+
req = urllib.request.Request(url, headers={"User-Agent": "flash-crash-watchdog/0.4"})
|
| 51 |
+
with urllib.request.urlopen(req, timeout=timeout) as response:
|
| 52 |
+
data = json.loads(response.read())
|
| 53 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 54 |
+
out_path.write_text(json.dumps(data, indent=2))
|
| 55 |
+
logger.info(" ✓ %s (%d records)", out_path.name, len(data) if isinstance(data, list) else 1)
|
| 56 |
+
return True
|
| 57 |
+
except Exception as e:
|
| 58 |
+
logger.error(" ✗ %s", e)
|
| 59 |
+
return False
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 63 |
+
# 1. FUNDING RATES via Binance REST API (works for any historical date)
|
| 64 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 65 |
+
def download_funding_rates_api(out_dir: Path) -> int:
|
| 66 |
+
"""Download funding rates via Binance Futures REST API.
|
| 67 |
+
|
| 68 |
+
API: GET /fapi/v1/fundingRate
|
| 69 |
+
Params: symbol, startTime, endTime, limit (max 1000)
|
| 70 |
+
"""
|
| 71 |
+
logger.info("=" * 70)
|
| 72 |
+
logger.info("1. BINANCE FUNDING RATES (via REST API)")
|
| 73 |
+
logger.info(" Inverted funding = extreme short pressure (crypto crash signal)")
|
| 74 |
+
logger.info("=" * 70)
|
| 75 |
+
|
| 76 |
+
# Convert dates to timestamps (ms)
|
| 77 |
+
import datetime
|
| 78 |
+
crash_periods = {
|
| 79 |
+
"2021-05-19": ("2021-05-19", "2021-05-20", "May 2021 BTC crash"),
|
| 80 |
+
"2022-05-10": ("2022-05-09", "2022-05-13", "May 2022 LUNA crash"),
|
| 81 |
+
"2022-06-13": ("2022-06-13", "2022-06-14", "Celsius freeze"),
|
| 82 |
+
"2024-08-05": ("2024-08-05", "2024-08-06", "Carry trade unwind"),
|
| 83 |
+
}
|
| 84 |
+
symbols = ["BTCUSDT", "ETHUSDT"]
|
| 85 |
+
|
| 86 |
+
success = 0
|
| 87 |
+
total = 0
|
| 88 |
+
for symbol in symbols:
|
| 89 |
+
for date_key, (start, end, desc) in crash_periods.items():
|
| 90 |
+
total += 1
|
| 91 |
+
start_ts = int(datetime.datetime.strptime(start, "%Y-%m-%d").timestamp() * 1000)
|
| 92 |
+
end_ts = int(datetime.datetime.strptime(end, "%Y-%m-%d").timestamp() * 1000)
|
| 93 |
+
url = (
|
| 94 |
+
f"https://fapi.binance.com/fapi/v1/fundingRate"
|
| 95 |
+
f"?symbol={symbol}&startTime={start_ts}&endTime={end_ts}&limit=1000"
|
| 96 |
+
)
|
| 97 |
+
out = out_dir / f"{symbol}-funding-{date_key}.json"
|
| 98 |
+
logger.info(" %s %s — %s", symbol, date_key, desc)
|
| 99 |
+
if download_json(url, out):
|
| 100 |
+
success += 1
|
| 101 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 102 |
+
return success
|
| 103 |
+
|
| 104 |
+
|
| 105 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 106 |
+
# 2. OPEN INTEREST + LONG/SHORT RATIO via Binance REST API
|
| 107 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 108 |
+
def download_futures_metrics_api(out_dir: Path) -> int:
|
| 109 |
+
"""Download open interest history + long/short ratio via Binance API."""
|
| 110 |
+
logger.info("=" * 70)
|
| 111 |
+
logger.info("2. BINANCE FUTURES METRICS (open interest + long/short ratio)")
|
| 112 |
+
logger.info("=" * 70)
|
| 113 |
+
|
| 114 |
+
import datetime
|
| 115 |
+
success = 0
|
| 116 |
+
total = 0
|
| 117 |
+
|
| 118 |
+
# Open interest history (5-min intervals, last 30 days available)
|
| 119 |
+
# GET /futures/data/openInterestHist?symbol=BTCUSDT&period=5m&limit=30
|
| 120 |
+
for symbol in ["BTCUSDT", "ETHUSDT"]:
|
| 121 |
+
total += 1
|
| 122 |
+
url = f"https://fapi.binance.com/futures/data/openInterestHist?symbol={symbol}&period=15m&limit=1000"
|
| 123 |
+
out = out_dir / f"{symbol}-open-interest-recent.json"
|
| 124 |
+
if download_json(url, out):
|
| 125 |
+
success += 1
|
| 126 |
+
|
| 127 |
+
# Top trader long/short ratio (accounts)
|
| 128 |
+
total += 1
|
| 129 |
+
url = f"https://fapi.binance.com/futures/data/topLongShortAccountRatio?symbol={symbol}&period=15m&limit=1000"
|
| 130 |
+
out = out_dir / f"{symbol}-longshort-ratio-recent.json"
|
| 131 |
+
if download_json(url, out):
|
| 132 |
+
success += 1
|
| 133 |
+
|
| 134 |
+
# Taker buy/sell volume
|
| 135 |
+
total += 1
|
| 136 |
+
url = f"https://fapi.binance.com/futures/data/takerlongshortRatio?symbol={symbol}&period=15m&limit=1000"
|
| 137 |
+
out = out_dir / f"{symbol}-taker-volume-recent.json"
|
| 138 |
+
if download_json(url, out):
|
| 139 |
+
success += 1
|
| 140 |
+
|
| 141 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 142 |
+
return success
|
| 143 |
+
|
| 144 |
+
|
| 145 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 146 |
+
# 3. DEPTH — try multiple paths (daily + monthly, both types)
|
| 147 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 148 |
+
def download_depth_multi(out_dir: Path) -> int:
|
| 149 |
+
"""Try multiple URL patterns for Binance depth data."""
|
| 150 |
+
logger.info("=" * 70)
|
| 151 |
+
logger.info("3. BINANCE DEPTH SNAPSHOTS (trying multiple URL patterns)")
|
| 152 |
+
logger.info("=" * 70)
|
| 153 |
+
|
| 154 |
+
dates = ["2021-05-19", "2022-05-10", "2024-08-05"]
|
| 155 |
+
success = 0
|
| 156 |
+
total = 0
|
| 157 |
+
|
| 158 |
+
for date in dates:
|
| 159 |
+
total += 1
|
| 160 |
+
year, month, day = date.split("-")
|
| 161 |
+
# Try 4 URL patterns in order
|
| 162 |
+
urls = [
|
| 163 |
+
# 1. Daily depthBookToTick
|
| 164 |
+
f"https://data.binance.vision/data/spot/daily/depthBookToTick/BTCUSDT/BTCUSDT-depthBookToTick-{date}.zip",
|
| 165 |
+
# 2. Daily depth (snapshot)
|
| 166 |
+
f"https://data.binance.vision/data/spot/daily/depth/BTCUSDT/BTCUSDT-depth-{date}.zip",
|
| 167 |
+
# 3. Monthly depthBookToTick
|
| 168 |
+
f"https://data.binance.vision/data/spot/monthly/depthBookToTick/BTCUSDT/BTCUSDT-depthBookToTick-{year}-{month}.zip",
|
| 169 |
+
# 4. Monthly depth
|
| 170 |
+
f"https://data.binance.vision/data/spot/monthly/depth/BTCUSDT/BTCUSDT-depth-{year}-{month}.zip",
|
| 171 |
+
]
|
| 172 |
+
downloaded = False
|
| 173 |
+
for i, url in enumerate(urls):
|
| 174 |
+
out = out_dir / f"BTCUSDT-depth-{date}.zip"
|
| 175 |
+
if download_file(url, out):
|
| 176 |
+
success += 1
|
| 177 |
+
downloaded = True
|
| 178 |
+
break
|
| 179 |
+
if not downloaded:
|
| 180 |
+
logger.warning(" ✗ No depth data available for %s (tried 4 URL patterns)", date)
|
| 181 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 182 |
+
return success
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 186 |
+
# 4. EQUITIES via yfinance (auto-install if missing)
|
| 187 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 188 |
+
def ensure_yfinance() -> bool:
|
| 189 |
+
"""Ensure yfinance is installed. Returns True if available."""
|
| 190 |
+
try:
|
| 191 |
+
import yfinance # noqa: F401
|
| 192 |
+
return True
|
| 193 |
+
except ImportError:
|
| 194 |
+
logger.info(" yfinance not installed. Installing...")
|
| 195 |
+
try:
|
| 196 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "yfinance", "--quiet"])
|
| 197 |
+
logger.info(" ✓ yfinance installed")
|
| 198 |
+
return True
|
| 199 |
+
except Exception as e:
|
| 200 |
+
logger.error(" ✗ Failed to install yfinance: %s", e)
|
| 201 |
+
logger.error(" Run manually: pip install yfinance")
|
| 202 |
+
return False
|
| 203 |
+
|
| 204 |
+
|
| 205 |
+
def download_equities(out_dir: Path) -> int:
|
| 206 |
+
"""Download US equity + VIX data for flash-crash dates via yfinance."""
|
| 207 |
+
logger.info("=" * 70)
|
| 208 |
+
logger.info("4. US EQUITY DATA (SPY, QQQ, VIX, XLF, XLE via yfinance)")
|
| 209 |
+
logger.info(" The May 6, 2010 US equities flash crash — the canonical case")
|
| 210 |
+
logger.info("=" * 70)
|
| 211 |
+
|
| 212 |
+
if not ensure_yfinance():
|
| 213 |
+
return 0
|
| 214 |
+
|
| 215 |
+
import yfinance as yf
|
| 216 |
+
|
| 217 |
+
tickers = ["SPY", "QQQ", "^VIX", "XLF", "XLE"]
|
| 218 |
+
periods = {
|
| 219 |
+
"2010-05-06": "May 6, 2010 US equities flash crash (Dow -9.2% in 36 min)",
|
| 220 |
+
"2015-08-24": "Aug 24, 2015 flash crash (China devaluation)",
|
| 221 |
+
"2020-03-12": "March 12, 2020 COVID crash",
|
| 222 |
+
"2024-08-05": "Aug 5, 2024 carry-trade unwind",
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 226 |
+
success = 0
|
| 227 |
+
total = 0
|
| 228 |
+
for ticker_symbol in tickers:
|
| 229 |
+
for date, desc in periods.items():
|
| 230 |
+
total += 1
|
| 231 |
+
logger.info(" %s %s — %s", ticker_symbol, date, desc)
|
| 232 |
+
# Download 5 days around the crash date
|
| 233 |
+
start = date
|
| 234 |
+
year, month, day = map(int, date.split("-"))
|
| 235 |
+
# End = date + 5 days
|
| 236 |
+
from datetime import datetime, timedelta
|
| 237 |
+
end_dt = datetime(year, month, day) + timedelta(days=5)
|
| 238 |
+
end = end_dt.strftime("%Y-%m-%d")
|
| 239 |
+
try:
|
| 240 |
+
ticker = yf.Ticker(ticker_symbol)
|
| 241 |
+
# Try 1-minute data first (most granular)
|
| 242 |
+
hist = ticker.history(start=start, end=end, interval="1m")
|
| 243 |
+
if hist.empty:
|
| 244 |
+
hist = ticker.history(start=start, end=end, interval="5m")
|
| 245 |
+
if hist.empty:
|
| 246 |
+
hist = ticker.history(start=start, end=end, interval="1h")
|
| 247 |
+
if hist.empty:
|
| 248 |
+
hist = ticker.history(start=start, end=end, interval="1d")
|
| 249 |
+
if not hist.empty:
|
| 250 |
+
out = out_dir / f"YFINANCE-{ticker_symbol.replace('^','')}-{date}.csv"
|
| 251 |
+
hist.to_csv(out)
|
| 252 |
+
size_kb = out.stat().st_size / 1024
|
| 253 |
+
logger.info(" ✓ %s (%.1f KB, %d bars)", out.name, size_kb, len(hist))
|
| 254 |
+
success += 1
|
| 255 |
+
else:
|
| 256 |
+
logger.warning(" ✗ No data for %s on %s", ticker_symbol, date)
|
| 257 |
+
except Exception as e:
|
| 258 |
+
logger.error(" ✗ %s: %s", ticker_symbol, e)
|
| 259 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 260 |
+
return success
|
| 261 |
+
|
| 262 |
+
|
| 263 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 264 |
+
# 5. BYBIT historical klines (cross-exchange)
|
| 265 |
+
# ═══════════════════════════════════════════════════════════════════════════
|
| 266 |
+
def download_bybit(out_dir: Path) -> int:
|
| 267 |
+
"""Download Bybit historical 1-min klines (cross-exchange)."""
|
| 268 |
+
logger.info("=" * 70)
|
| 269 |
+
logger.info("5. BYBIT HISTORICAL KLINES (cross-exchange — venue #2)")
|
| 270 |
+
logger.info("=" * 70)
|
| 271 |
+
dates = ["2021-05-19", "2022-05-10", "2024-08-05"]
|
| 272 |
+
symbols = ["BTCUSDT", "ETHUSDT"]
|
| 273 |
+
success = 0
|
| 274 |
+
total = 0
|
| 275 |
+
for symbol in symbols:
|
| 276 |
+
for date in dates:
|
| 277 |
+
total += 1
|
| 278 |
+
url = f"https://public.bybit.com/kline/{symbol}/{date}/1min.csv.gz"
|
| 279 |
+
out = out_dir / f"BYBIT-{symbol}-1min-{date}.csv.gz"
|
| 280 |
+
if download_file(url, out):
|
| 281 |
+
success += 1
|
| 282 |
+
logger.info(" Result: %d/%d files\n", success, total)
|
| 283 |
+
return success
|
| 284 |
+
|
| 285 |
+
|
| 286 |
+
def main() -> int:
|
| 287 |
+
parser = argparse.ArgumentParser(description="Download fixed datasets (funding API + depth + equities)")
|
| 288 |
+
parser.add_argument("--out", default="data/more/", help="Output directory")
|
| 289 |
+
parser.add_argument("--only", default=None,
|
| 290 |
+
help="Comma-separated: funding,metrics,depth,equities,bybit")
|
| 291 |
+
args = parser.parse_args()
|
| 292 |
+
|
| 293 |
+
out_dir = Path(args.out)
|
| 294 |
+
only = set(args.only.split(",")) if args.only else None
|
| 295 |
+
|
| 296 |
+
total = 0
|
| 297 |
+
if only is None or "funding" in only:
|
| 298 |
+
total += download_funding_rates_api(out_dir / "futures")
|
| 299 |
+
if only is None or "metrics" in only:
|
| 300 |
+
total += download_futures_metrics_api(out_dir / "metrics")
|
| 301 |
+
if only is None or "depth" in only:
|
| 302 |
+
total += download_depth_multi(out_dir / "depth")
|
| 303 |
+
if only is None or "equities" in only:
|
| 304 |
+
total += download_equities(out_dir / "equities")
|
| 305 |
+
if only is None or "bybit" in only:
|
| 306 |
+
total += download_bybit(out_dir / "bybit")
|
| 307 |
+
|
| 308 |
+
logger.info("=" * 70)
|
| 309 |
+
logger.info(" DOWNLOAD COMPLETE — %d files total", total)
|
| 310 |
+
logger.info(" Output: %s", out_dir.resolve())
|
| 311 |
+
logger.info("=" * 70)
|
| 312 |
+
return 0 if total > 0 else 1
|
| 313 |
+
|
| 314 |
+
|
| 315 |
+
if __name__ == "__main__":
|
| 316 |
+
raise SystemExit(main())
|
scripts/extract_windows.py
ADDED
|
@@ -0,0 +1,234 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Extract sliding windows from real tick data with lookahead crash labels.
|
| 3 |
+
|
| 4 |
+
For each window of 200 ticks, the label is:
|
| 5 |
+
1 (crash) if the mid-price drops ≥ threshold% within the next lookahead_ms
|
| 6 |
+
0 (normal) otherwise
|
| 7 |
+
|
| 8 |
+
This gives us REAL labeled training data — no synthetic anomalies.
|
| 9 |
+
|
| 10 |
+
Usage:
|
| 11 |
+
python scripts/extract_windows.py --data data/parquet/BTCUSDT_2021-05-19.parquet --out data/windows/
|
| 12 |
+
python scripts/extract_windows.py --data data/parquet/BTCUSDT_2024-01-15.parquet --out data/windows/ --label normal
|
| 13 |
+
"""
|
| 14 |
+
import argparse
|
| 15 |
+
import logging
|
| 16 |
+
import sys
|
| 17 |
+
from pathlib import Path
|
| 18 |
+
|
| 19 |
+
import numpy as np
|
| 20 |
+
import pandas as pd
|
| 21 |
+
|
| 22 |
+
ML_DIR = Path(__file__).resolve().parent.parent / "ml"
|
| 23 |
+
sys.path.insert(0, str(ML_DIR))
|
| 24 |
+
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
| 25 |
+
sys.path.insert(0, str(PROJECT_ROOT))
|
| 26 |
+
|
| 27 |
+
from flash_crash_watchdog.data.historical_loader import df_to_ticks, load_parquet
|
| 28 |
+
from flash_crash_watchdog.features import FEATURE_NAMES, FeatureExtractor
|
| 29 |
+
|
| 30 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 31 |
+
logger = logging.getLogger(__name__)
|
| 32 |
+
|
| 33 |
+
# Features used by the TCN (F1-F4, 17 features)
|
| 34 |
+
TCN_FEATURES = FEATURE_NAMES[:17]
|
| 35 |
+
|
| 36 |
+
WINDOW_SIZE = 200 # ticks per window (~20 seconds at 10 ticks/sec)
|
| 37 |
+
STRIDE = 10 # sliding window stride (overlap = 190 ticks)
|
| 38 |
+
LOOKAHEAD_MS = 5_000 # label = crash if price drops ≥ threshold within next 5 seconds
|
| 39 |
+
CRASH_THRESHOLD_PCT = 2.0 # 2% drop = crash
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def extract_features_from_df(df: pd.DataFrame, max_ticks: int = 0) -> tuple[np.ndarray, np.ndarray]:
|
| 43 |
+
"""Extract features + mid-prices from a DataFrame.
|
| 44 |
+
|
| 45 |
+
Returns:
|
| 46 |
+
features: shape (N, 17) — feature vector per tick
|
| 47 |
+
mid_prices: shape (N,) — mid-price per tick (for labeling)
|
| 48 |
+
"""
|
| 49 |
+
if max_ticks > 0 and len(df) > max_ticks:
|
| 50 |
+
indices = np.linspace(0, len(df) - 1, max_ticks, dtype=int)
|
| 51 |
+
df = df.iloc[indices].copy()
|
| 52 |
+
logger.info("Sampled to %d ticks", len(df))
|
| 53 |
+
|
| 54 |
+
extractor = FeatureExtractor()
|
| 55 |
+
features_list = []
|
| 56 |
+
mid_prices = []
|
| 57 |
+
|
| 58 |
+
for i, tick in enumerate(df_to_ticks(df, symbol="EXTRACT")):
|
| 59 |
+
if i % 100000 == 0:
|
| 60 |
+
logger.info(" Extracting features: %d/%d", i, len(df))
|
| 61 |
+
features = extractor.extract(tick)
|
| 62 |
+
features_list.append([features.get(f, 0.0) for f in TCN_FEATURES])
|
| 63 |
+
mid_prices.append(tick.book.mid_price or 0.0)
|
| 64 |
+
|
| 65 |
+
features = np.array(features_list, dtype=np.float32)
|
| 66 |
+
mid_prices = np.array(mid_prices, dtype=np.float64)
|
| 67 |
+
features = np.nan_to_num(features, nan=0.0, posinf=0.0, neginf=0.0)
|
| 68 |
+
return features, mid_prices
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
def label_windows(
|
| 72 |
+
features: np.ndarray,
|
| 73 |
+
mid_prices: np.ndarray,
|
| 74 |
+
window_size: int = WINDOW_SIZE,
|
| 75 |
+
stride: int = STRIDE,
|
| 76 |
+
lookahead_ms: int = LOOKAHEAD_MS,
|
| 77 |
+
crash_threshold: float = CRASH_THRESHOLD_PCT,
|
| 78 |
+
) -> tuple[np.ndarray, np.ndarray]:
|
| 79 |
+
"""Build sliding windows with lookahead crash labels.
|
| 80 |
+
|
| 81 |
+
For each window starting at index i:
|
| 82 |
+
- Window: features[i : i+window_size]
|
| 83 |
+
- Label: 1 if mid_price drops ≥ crash_threshold% within the next
|
| 84 |
+
lookahead_ms after the window ends, else 0
|
| 85 |
+
|
| 86 |
+
Returns:
|
| 87 |
+
windows: shape (N, window_size, 17)
|
| 88 |
+
labels: shape (N,)
|
| 89 |
+
"""
|
| 90 |
+
n = len(features)
|
| 91 |
+
n_windows = (n - window_size) // stride
|
| 92 |
+
logger.info("Building %d windows (size=%d, stride=%d)...", n_windows, window_size, stride)
|
| 93 |
+
|
| 94 |
+
# First, find all crash timestamps (where price drops ≥ threshold in lookahead window)
|
| 95 |
+
# We need timestamps to compute lookahead, but our features don't have them directly.
|
| 96 |
+
# Instead, we use the mid_price array and look ahead K ticks.
|
| 97 |
+
# At ~10 ticks/sec, 5000ms lookahead ≈ 50 ticks ahead
|
| 98 |
+
lookahead_ticks = max(1, lookahead_ms // 100) # approximate
|
| 99 |
+
|
| 100 |
+
windows = []
|
| 101 |
+
labels = []
|
| 102 |
+
n_positive = 0
|
| 103 |
+
n_negative = 0
|
| 104 |
+
|
| 105 |
+
for i in range(0, n - window_size - lookahead_ticks, stride):
|
| 106 |
+
# Extract window
|
| 107 |
+
window = features[i : i + window_size]
|
| 108 |
+
windows.append(window)
|
| 109 |
+
|
| 110 |
+
# Label: does the price drop ≥ threshold% within the next lookahead_ticks?
|
| 111 |
+
current_price = mid_prices[i + window_size - 1]
|
| 112 |
+
future_prices = mid_prices[i + window_size : i + window_size + lookahead_ticks]
|
| 113 |
+
|
| 114 |
+
if current_price > 0 and len(future_prices) > 0:
|
| 115 |
+
min_future = np.min(future_prices)
|
| 116 |
+
drop_pct = (current_price - min_future) / current_price * 100
|
| 117 |
+
label = 1 if drop_pct >= crash_threshold else 0
|
| 118 |
+
else:
|
| 119 |
+
label = 0
|
| 120 |
+
|
| 121 |
+
labels.append(label)
|
| 122 |
+
if label == 1:
|
| 123 |
+
n_positive += 1
|
| 124 |
+
else:
|
| 125 |
+
n_negative += 1
|
| 126 |
+
|
| 127 |
+
windows = np.array(windows, dtype=np.float32)
|
| 128 |
+
labels = np.array(labels, dtype=np.int32)
|
| 129 |
+
|
| 130 |
+
logger.info("Windows: %d total | %d positive (crash) | %d negative (normal)",
|
| 131 |
+
len(windows), n_positive, n_negative)
|
| 132 |
+
logger.info("Positive rate: %.4f%%", n_positive / max(1, len(windows)) * 100)
|
| 133 |
+
|
| 134 |
+
return windows, labels
|
| 135 |
+
|
| 136 |
+
|
| 137 |
+
def balance_windows(windows: np.ndarray, labels: np.ndarray, max_ratio: float = 5.0) -> tuple[np.ndarray, np.ndarray]:
|
| 138 |
+
"""Balance positive/negative windows by subsampling negatives.
|
| 139 |
+
|
| 140 |
+
Keeps all positives. Subsamples negatives to at most max_ratio × positives.
|
| 141 |
+
"""
|
| 142 |
+
n_pos = np.sum(labels == 1)
|
| 143 |
+
n_neg = np.sum(labels == 0)
|
| 144 |
+
|
| 145 |
+
if n_pos == 0:
|
| 146 |
+
logger.warning("No positive windows found — cannot balance. Returning all negatives.")
|
| 147 |
+
return windows, labels
|
| 148 |
+
|
| 149 |
+
max_neg = int(n_pos * max_ratio)
|
| 150 |
+
if n_neg <= max_neg:
|
| 151 |
+
logger.info("Already balanced enough (pos=%d, neg=%d). No subsampling needed.", n_pos, n_neg)
|
| 152 |
+
return windows, labels
|
| 153 |
+
|
| 154 |
+
# Subsample negatives
|
| 155 |
+
neg_indices = np.where(labels == 0)[0]
|
| 156 |
+
pos_indices = np.where(labels == 1)[0]
|
| 157 |
+
selected_neg = np.random.choice(neg_indices, size=max_neg, replace=False)
|
| 158 |
+
|
| 159 |
+
all_indices = np.concatenate([pos_indices, selected_neg])
|
| 160 |
+
np.random.shuffle(all_indices)
|
| 161 |
+
|
| 162 |
+
balanced_windows = windows[all_indices]
|
| 163 |
+
balanced_labels = labels[all_indices]
|
| 164 |
+
|
| 165 |
+
logger.info("Balanced: %d pos + %d neg = %d total (ratio %.1f:1)",
|
| 166 |
+
n_pos, max_neg, len(balanced_windows), max_ratio)
|
| 167 |
+
return balanced_windows, balanced_labels
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
def main() -> int:
|
| 171 |
+
parser = argparse.ArgumentParser(description="Extract sliding windows with crash labels")
|
| 172 |
+
parser.add_argument("--data", required=True, help="Parquet file")
|
| 173 |
+
parser.add_argument("--out", default="data/windows/", help="Output directory")
|
| 174 |
+
parser.add_argument("--window-size", type=int, default=WINDOW_SIZE)
|
| 175 |
+
parser.add_argument("--stride", type=int, default=STRIDE)
|
| 176 |
+
parser.add_argument("--lookahead-ms", type=int, default=LOOKAHEAD_MS)
|
| 177 |
+
parser.add_argument("--crash-threshold", type=float, default=CRASH_THRESHOLD_PCT)
|
| 178 |
+
parser.add_argument("--max-ticks", type=int, default=500_000,
|
| 179 |
+
help="Max ticks to process (0 = all)")
|
| 180 |
+
parser.add_argument("--balance-ratio", type=float, default=5.0,
|
| 181 |
+
help="Max neg:pos ratio (subsampling)")
|
| 182 |
+
parser.add_argument("--name", default=None,
|
| 183 |
+
help="Output filename (default: based on input)")
|
| 184 |
+
args = parser.parse_args()
|
| 185 |
+
|
| 186 |
+
# Load data
|
| 187 |
+
df = load_parquet(args.data)
|
| 188 |
+
logger.info("Loaded %d ticks from %s", len(df), args.data)
|
| 189 |
+
|
| 190 |
+
# Extract features
|
| 191 |
+
features, mid_prices = extract_features_from_df(df, max_ticks=args.max_ticks)
|
| 192 |
+
logger.info("Feature matrix: %s", features.shape)
|
| 193 |
+
|
| 194 |
+
# Build windows with labels
|
| 195 |
+
windows, labels = label_windows(
|
| 196 |
+
features, mid_prices,
|
| 197 |
+
window_size=args.window_size,
|
| 198 |
+
stride=args.stride,
|
| 199 |
+
lookahead_ms=args.lookahead_ms,
|
| 200 |
+
crash_threshold=args.crash_threshold,
|
| 201 |
+
)
|
| 202 |
+
|
| 203 |
+
# Balance
|
| 204 |
+
windows, labels = balance_windows(windows, labels, max_ratio=args.balance_ratio)
|
| 205 |
+
|
| 206 |
+
# Save
|
| 207 |
+
out_dir = Path(args.out)
|
| 208 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 209 |
+
|
| 210 |
+
if args.name:
|
| 211 |
+
out_path = out_dir / f"{args.name}.npz"
|
| 212 |
+
else:
|
| 213 |
+
stem = Path(args.data).stem
|
| 214 |
+
out_path = out_dir / f"{stem}_windows.npz"
|
| 215 |
+
|
| 216 |
+
np.savez_compressed(
|
| 217 |
+
out_path,
|
| 218 |
+
windows=windows,
|
| 219 |
+
labels=labels,
|
| 220 |
+
feature_names=np.array(TCN_FEATURES),
|
| 221 |
+
config=np.array({
|
| 222 |
+
"window_size": args.window_size,
|
| 223 |
+
"stride": args.stride,
|
| 224 |
+
"lookahead_ms": args.lookahead_ms,
|
| 225 |
+
"crash_threshold": args.crash_threshold,
|
| 226 |
+
}),
|
| 227 |
+
)
|
| 228 |
+
logger.info("Saved %d windows to %s (%.1f MB)",
|
| 229 |
+
len(windows), out_path, out_path.stat().st_size / 1e6)
|
| 230 |
+
return 0
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
if __name__ == "__main__":
|
| 234 |
+
raise SystemExit(main())
|
scripts/generate_plots.py
ADDED
|
@@ -0,0 +1,445 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Generate threshold sweep + PR curve + 3 visualization plots.
|
| 3 |
+
|
| 4 |
+
Runs the TCN over crash data ONCE, collects all scores, then:
|
| 5 |
+
1. Computes precision/recall at thresholds [0.1, 0.2, ..., 0.9]
|
| 6 |
+
2. Plots Precision-Recall curve
|
| 7 |
+
3. Plots TTD distribution histogram
|
| 8 |
+
4. Plots alert timeline overlaid on price chart
|
| 9 |
+
5. Plots cascade funnel (if cascade stats available)
|
| 10 |
+
|
| 11 |
+
Usage:
|
| 12 |
+
python scripts/generate_plots.py \
|
| 13 |
+
--data data/parquet/BTCUSDT_2021-05-19.parquet \
|
| 14 |
+
--model models/stage3_tcn_trained.pt \
|
| 15 |
+
--out results/plots/ \
|
| 16 |
+
--max-ticks 500000
|
| 17 |
+
"""
|
| 18 |
+
import argparse
|
| 19 |
+
import json
|
| 20 |
+
import logging
|
| 21 |
+
import sys
|
| 22 |
+
import time
|
| 23 |
+
from collections import deque
|
| 24 |
+
from pathlib import Path
|
| 25 |
+
import matplotlib
|
| 26 |
+
matplotlib.use('Agg') # non-interactive backend
|
| 27 |
+
import matplotlib.pyplot as plt
|
| 28 |
+
plt.rcParams['axes.unicode_minus'] = False
|
| 29 |
+
|
| 30 |
+
import numpy as np
|
| 31 |
+
import pandas as pd
|
| 32 |
+
import torch
|
| 33 |
+
|
| 34 |
+
ML_DIR = Path(__file__).resolve().parent.parent / "ml"
|
| 35 |
+
sys.path.insert(0, str(ML_DIR))
|
| 36 |
+
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
| 37 |
+
sys.path.insert(0, str(PROJECT_ROOT))
|
| 38 |
+
|
| 39 |
+
from flash_crash_watchdog.data.historical_loader import df_to_ticks, load_parquet
|
| 40 |
+
from flash_crash_watchdog.data.labels import label_crashes
|
| 41 |
+
from flash_crash_watchdog.features import FEATURE_NAMES, FeatureExtractor
|
| 42 |
+
from flash_crash_watchdog.models.stage3_tcn import TCNDetector, TCNConfig
|
| 43 |
+
|
| 44 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 45 |
+
logger = logging.getLogger(__name__)
|
| 46 |
+
|
| 47 |
+
TCN_FEATURES = FEATURE_NAMES[:17]
|
| 48 |
+
WINDOW_SIZE = 200
|
| 49 |
+
BASELINE_DROP_PCT = 2.0
|
| 50 |
+
BASELINE_WINDOW_MS = 60_000
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
# ─── Palette ────────────────────────────────────────────────────────────────
|
| 54 |
+
COLOR_ACCENT = '#95413a' # red — TCN detector
|
| 55 |
+
COLOR_BASELINE = '#587796' # blue — baseline
|
| 56 |
+
COLOR_BG = '#f6f5f5'
|
| 57 |
+
COLOR_GRID = '#ccb9b9'
|
| 58 |
+
COLOR_TEXT = '#1b1919'
|
| 59 |
+
COLOR_GOOD = '#3d7750'
|
| 60 |
+
COLOR_WARN = '#9d7e40'
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def load_trained_tcn(model_path: str, device: str = "auto") -> TCNDetector:
|
| 64 |
+
if device == "auto":
|
| 65 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 66 |
+
data = torch.load(model_path, map_location=device, weights_only=False)
|
| 67 |
+
config = data["config"]
|
| 68 |
+
model = TCNDetector(config).to(device)
|
| 69 |
+
model.load_state_dict(data["model_state"])
|
| 70 |
+
model.eval()
|
| 71 |
+
logger.info("Loaded TCN from %s (device=%s)", model_path, device)
|
| 72 |
+
return model
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def score_all_ticks(
|
| 76 |
+
model: TCNDetector,
|
| 77 |
+
df: pd.DataFrame,
|
| 78 |
+
max_ticks: int = 500_000,
|
| 79 |
+
device: str = "cpu",
|
| 80 |
+
) -> pd.DataFrame:
|
| 81 |
+
"""Run TCN over all ticks, return DataFrame with timestamps, scores, prices."""
|
| 82 |
+
if max_ticks > 0 and len(df) > max_ticks:
|
| 83 |
+
indices = np.linspace(0, len(df) - 1, max_ticks, dtype=int)
|
| 84 |
+
df = df.iloc[indices].copy()
|
| 85 |
+
logger.info("Sampled to %d ticks", len(df))
|
| 86 |
+
|
| 87 |
+
extractor = FeatureExtractor()
|
| 88 |
+
feature_window = deque(maxlen=WINDOW_SIZE)
|
| 89 |
+
|
| 90 |
+
results = []
|
| 91 |
+
t0 = time.time()
|
| 92 |
+
|
| 93 |
+
for i, tick in enumerate(df_to_ticks(df, symbol="PLOT")):
|
| 94 |
+
if i % 50000 == 0:
|
| 95 |
+
elapsed = time.time() - t0
|
| 96 |
+
rate = (i + 1) / max(1, elapsed)
|
| 97 |
+
logger.info(" Scoring tick %d/%d (%.0f/sec)", i, len(df), rate)
|
| 98 |
+
|
| 99 |
+
features = extractor.extract(tick)
|
| 100 |
+
vec = np.array([features.get(f, 0.0) for f in TCN_FEATURES])
|
| 101 |
+
feature_window.append(vec)
|
| 102 |
+
|
| 103 |
+
if len(feature_window) < WINDOW_SIZE:
|
| 104 |
+
continue
|
| 105 |
+
|
| 106 |
+
window_array = np.array(list(feature_window))
|
| 107 |
+
with torch.no_grad():
|
| 108 |
+
x = torch.FloatTensor(window_array).T.unsqueeze(0).to(device)
|
| 109 |
+
scores = model(x)
|
| 110 |
+
score = float(scores[0, -1].item())
|
| 111 |
+
|
| 112 |
+
results.append({
|
| 113 |
+
"timestamp_ms": tick.timestamp_ms,
|
| 114 |
+
"score": score,
|
| 115 |
+
"mid_price": tick.book.mid_price or 0.0,
|
| 116 |
+
})
|
| 117 |
+
|
| 118 |
+
results_df = pd.DataFrame(results)
|
| 119 |
+
logger.info("Scored %d ticks in %.1fs", len(results_df), time.time() - t0)
|
| 120 |
+
return results_df
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
def evaluate_at_threshold(scores_df: pd.DataFrame, crashes: list, threshold: float) -> dict:
|
| 124 |
+
"""Evaluate precision/recall/TTD at a given threshold."""
|
| 125 |
+
alerts = scores_df[scores_df["score"] >= threshold].to_dict("records")
|
| 126 |
+
|
| 127 |
+
true_positives = 0
|
| 128 |
+
false_positives = 0
|
| 129 |
+
ttd_ms = []
|
| 130 |
+
matched_crashes = set()
|
| 131 |
+
|
| 132 |
+
for alert in alerts:
|
| 133 |
+
alert_ts = alert["timestamp_ms"]
|
| 134 |
+
matched = False
|
| 135 |
+
for j, crash in enumerate(crashes):
|
| 136 |
+
if j in matched_crashes:
|
| 137 |
+
continue
|
| 138 |
+
if crash.start_ts - 5000 <= alert_ts <= crash.end_ts:
|
| 139 |
+
true_positives += 1
|
| 140 |
+
matched_crashes.add(j)
|
| 141 |
+
ttd = crash.end_ts - alert_ts
|
| 142 |
+
ttd_ms.append(ttd)
|
| 143 |
+
matched = True
|
| 144 |
+
break
|
| 145 |
+
if not matched:
|
| 146 |
+
false_positives += 1
|
| 147 |
+
|
| 148 |
+
false_negatives = len(crashes) - true_positives
|
| 149 |
+
precision = true_positives / max(1, true_positives + false_positives)
|
| 150 |
+
recall = true_positives / max(1, len(crashes))
|
| 151 |
+
f1 = 2 * precision * recall / max(1e-6, precision + recall)
|
| 152 |
+
|
| 153 |
+
return {
|
| 154 |
+
"threshold": threshold,
|
| 155 |
+
"alerts": len(alerts),
|
| 156 |
+
"true_positives": true_positives,
|
| 157 |
+
"false_positives": false_positives,
|
| 158 |
+
"false_negatives": false_negatives,
|
| 159 |
+
"precision": precision,
|
| 160 |
+
"recall": recall,
|
| 161 |
+
"f1": f1,
|
| 162 |
+
"median_ttd_ms": float(np.median(ttd_ms)) if ttd_ms else 0.0,
|
| 163 |
+
"ttd_ms": ttd_ms,
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
def plot_pr_curve(sweep_results: list, out_path: Path) -> None:
|
| 168 |
+
"""Plot 1: Precision-Recall curve across thresholds."""
|
| 169 |
+
fig, ax = plt.subplots(figsize=(8, 5), constrained_layout=True)
|
| 170 |
+
|
| 171 |
+
precisions = [r["precision"] for r in sweep_results]
|
| 172 |
+
recalls = [r["recall"] for r in sweep_results]
|
| 173 |
+
thresholds = [r["threshold"] for r in sweep_results]
|
| 174 |
+
|
| 175 |
+
ax.plot(recalls, precisions, 'o-', color=COLOR_ACCENT, linewidth=2,
|
| 176 |
+
markersize=8, label="TCN Detector")
|
| 177 |
+
|
| 178 |
+
# Annotate each point with its threshold
|
| 179 |
+
for i, t in enumerate(thresholds):
|
| 180 |
+
ax.annotate(f'τ={t}', (recalls[i], precisions[i]),
|
| 181 |
+
textcoords="offset points", xytext=(8, 5),
|
| 182 |
+
fontsize=9, color=COLOR_TEXT)
|
| 183 |
+
|
| 184 |
+
# Baseline point (circuit breaker: 100% recall, 100% precision, 0ms TTD)
|
| 185 |
+
ax.plot(1.0, 1.0, 's', color=COLOR_BASELINE, markersize=12,
|
| 186 |
+
label="Baseline (circuit breaker)")
|
| 187 |
+
|
| 188 |
+
ax.set_xlabel("Recall", fontsize=12, color=COLOR_TEXT)
|
| 189 |
+
ax.set_ylabel("Precision", fontsize=12, color=COLOR_TEXT)
|
| 190 |
+
ax.set_title("Precision-Recall Curve (BTC May 19, 2021 Crash)",
|
| 191 |
+
fontsize=13, fontweight='bold', color=COLOR_TEXT)
|
| 192 |
+
ax.legend(loc='upper left', frameon=False, fontsize=10)
|
| 193 |
+
ax.spines['top'].set_visible(False)
|
| 194 |
+
ax.spines['right'].set_visible(False)
|
| 195 |
+
ax.spines['left'].set_color(COLOR_GRID)
|
| 196 |
+
ax.spines['bottom'].set_color(COLOR_GRID)
|
| 197 |
+
ax.tick_params(colors=COLOR_TEXT)
|
| 198 |
+
ax.yaxis.grid(True, linestyle='--', alpha=0.3, color=COLOR_GRID)
|
| 199 |
+
ax.set_axisbelow(True)
|
| 200 |
+
ax.set_xlim(-0.05, 1.05)
|
| 201 |
+
ax.set_ylim(-0.05, 1.05)
|
| 202 |
+
|
| 203 |
+
fig.savefig(out_path, dpi=200, facecolor='white')
|
| 204 |
+
plt.close(fig)
|
| 205 |
+
logger.info("Saved PR curve to %s", out_path)
|
| 206 |
+
|
| 207 |
+
|
| 208 |
+
def plot_ttd_histogram(best_result: dict, out_path: Path) -> None:
|
| 209 |
+
"""Plot 2: TTD distribution histogram."""
|
| 210 |
+
ttd_ms = best_result["ttd_ms"]
|
| 211 |
+
if not ttd_ms:
|
| 212 |
+
logger.warning("No TTD data to plot")
|
| 213 |
+
return
|
| 214 |
+
|
| 215 |
+
fig, ax = plt.subplots(figsize=(8, 4.5), constrained_layout=True)
|
| 216 |
+
|
| 217 |
+
# Convert to seconds for readability
|
| 218 |
+
ttd_s = [t / 1000.0 for t in ttd_ms]
|
| 219 |
+
|
| 220 |
+
ax.hist(ttd_s, bins=20, color=COLOR_ACCENT, alpha=0.7,
|
| 221 |
+
edgecolor='white', linewidth=0.8)
|
| 222 |
+
|
| 223 |
+
# Add vertical line at 0 (the crash moment)
|
| 224 |
+
ax.axvline(0, color=COLOR_BASELINE, linewidth=2, linestyle='--',
|
| 225 |
+
label="Crash moment (price dislocation)")
|
| 226 |
+
|
| 227 |
+
# Add vertical line at median
|
| 228 |
+
median_ttd = np.median(ttd_s)
|
| 229 |
+
ax.axvline(median_ttd, color=COLOR_GOOD, linewidth=2, linestyle='-',
|
| 230 |
+
label=f"Median TTD: {median_ttd:.2f}s (early warning)")
|
| 231 |
+
|
| 232 |
+
ax.set_xlabel("Time-to-Detect (seconds)\n[negative = before crash]",
|
| 233 |
+
fontsize=11, color=COLOR_TEXT)
|
| 234 |
+
ax.set_ylabel("Number of alerts", fontsize=11, color=COLOR_TEXT)
|
| 235 |
+
ax.set_title("Early-Warning Time Distribution (TCN Detector)",
|
| 236 |
+
fontsize=13, fontweight='bold', color=COLOR_TEXT)
|
| 237 |
+
ax.legend(loc='upper left', frameon=False, fontsize=9)
|
| 238 |
+
ax.spines['top'].set_visible(False)
|
| 239 |
+
ax.spines['right'].set_visible(False)
|
| 240 |
+
ax.spines['left'].set_color(COLOR_GRID)
|
| 241 |
+
ax.spines['bottom'].set_color(COLOR_GRID)
|
| 242 |
+
ax.tick_params(colors=COLOR_TEXT)
|
| 243 |
+
ax.yaxis.grid(True, linestyle='--', alpha=0.3, color=COLOR_GRID)
|
| 244 |
+
ax.set_axisbelow(True)
|
| 245 |
+
|
| 246 |
+
# Add annotation
|
| 247 |
+
n_before = sum(1 for t in ttd_s if t > 0)
|
| 248 |
+
n_after = sum(1 for t in ttd_s if t <= 0)
|
| 249 |
+
ax.text(0.98, 0.95, f"{n_before} alerts BEFORE crash\n{n_after} alerts AFTER crash",
|
| 250 |
+
transform=ax.transAxes, fontsize=9, va='top', ha='right',
|
| 251 |
+
bbox=dict(boxstyle='round', facecolor=COLOR_BG, alpha=0.8))
|
| 252 |
+
|
| 253 |
+
fig.savefig(out_path, dpi=200, facecolor='white')
|
| 254 |
+
plt.close(fig)
|
| 255 |
+
logger.info("Saved TTD histogram to %s", out_path)
|
| 256 |
+
|
| 257 |
+
|
| 258 |
+
def plot_alert_timeline(scores_df: pd.DataFrame, crashes: list, threshold: float,
|
| 259 |
+
out_path: Path) -> None:
|
| 260 |
+
"""Plot 3: Alert timeline overlaid on price chart."""
|
| 261 |
+
fig, ax = plt.subplots(figsize=(12, 5), constrained_layout=True)
|
| 262 |
+
|
| 263 |
+
# Normalize timestamps to start at 0
|
| 264 |
+
t0 = scores_df["timestamp_ms"].min()
|
| 265 |
+
times_s = (scores_df["timestamp_ms"] - t0) / 1000.0
|
| 266 |
+
prices = scores_df["mid_price"].values
|
| 267 |
+
|
| 268 |
+
# Plot price
|
| 269 |
+
ax.plot(times_s, prices, color=COLOR_BASELINE, linewidth=0.8, alpha=0.7,
|
| 270 |
+
label="BTC mid-price")
|
| 271 |
+
|
| 272 |
+
# Plot alerts
|
| 273 |
+
alerts = scores_df[scores_df["score"] >= threshold]
|
| 274 |
+
if len(alerts) > 0:
|
| 275 |
+
alert_times = (alerts["timestamp_ms"] - t0) / 1000.0
|
| 276 |
+
alert_prices = alerts["mid_price"].values
|
| 277 |
+
ax.scatter(alert_times, alert_prices, color=COLOR_ACCENT, s=30,
|
| 278 |
+
zorder=5, label=f"TCN alerts (τ={threshold})")
|
| 279 |
+
|
| 280 |
+
# Highlight crash windows
|
| 281 |
+
for crash in crashes:
|
| 282 |
+
start_s = (crash.start_ts - t0) / 1000.0
|
| 283 |
+
end_s = (crash.end_ts - t0) / 1000.0
|
| 284 |
+
ax.axvspan(start_s, end_s, alpha=0.15, color=COLOR_WARN,
|
| 285 |
+
label="Crash window" if crash == crashes[0] else "")
|
| 286 |
+
|
| 287 |
+
ax.set_xlabel("Time (seconds from start)", fontsize=11, color=COLOR_TEXT)
|
| 288 |
+
ax.set_ylabel("Price (USD)", fontsize=11, color=COLOR_TEXT)
|
| 289 |
+
ax.set_title("Alert Timeline — TCN Detector vs BTC Price (May 19, 2021)",
|
| 290 |
+
fontsize=13, fontweight='bold', color=COLOR_TEXT)
|
| 291 |
+
ax.legend(loc='upper right', frameon=False, fontsize=9)
|
| 292 |
+
ax.spines['top'].set_visible(False)
|
| 293 |
+
ax.spines['right'].set_visible(False)
|
| 294 |
+
ax.spines['left'].set_color(COLOR_GRID)
|
| 295 |
+
ax.spines['bottom'].set_color(COLOR_GRID)
|
| 296 |
+
ax.tick_params(colors=COLOR_TEXT)
|
| 297 |
+
ax.yaxis.grid(True, linestyle='--', alpha=0.2, color=COLOR_GRID)
|
| 298 |
+
ax.set_axisbelow(True)
|
| 299 |
+
|
| 300 |
+
fig.savefig(out_path, dpi=200, facecolor='white')
|
| 301 |
+
plt.close(fig)
|
| 302 |
+
logger.info("Saved alert timeline to %s", out_path)
|
| 303 |
+
|
| 304 |
+
|
| 305 |
+
def plot_cascade_funnel(sweep_results: list, out_path: Path) -> None:
|
| 306 |
+
"""Plot 4: Cascade funnel (simulated from threshold sweep)."""
|
| 307 |
+
fig, ax = plt.subplots(figsize=(8, 4.5), constrained_layout=True)
|
| 308 |
+
|
| 309 |
+
stages = ["Total ticks\n(500K)", "TCN scored\n(499.8K)", "Score > 0.1",
|
| 310 |
+
"Score > 0.3", "Score > 0.5", "Score > 0.7"]
|
| 311 |
+
counts = [500000, 499800]
|
| 312 |
+
for r in sweep_results:
|
| 313 |
+
if r["threshold"] in [0.1, 0.3, 0.5, 0.7]:
|
| 314 |
+
counts.append(r["alerts"])
|
| 315 |
+
|
| 316 |
+
# Pad if needed
|
| 317 |
+
while len(counts) < 6:
|
| 318 |
+
counts.append(0)
|
| 319 |
+
|
| 320 |
+
colors_bar = [COLOR_BASELINE, COLOR_BASELINE, COLOR_WARN,
|
| 321 |
+
COLOR_ACCENT, COLOR_ACCENT, COLOR_GOOD]
|
| 322 |
+
|
| 323 |
+
bars = ax.barh(range(len(stages)), counts, color=colors_bar, alpha=0.8,
|
| 324 |
+
edgecolor='white', linewidth=0.8)
|
| 325 |
+
|
| 326 |
+
ax.set_yticks(range(len(stages)))
|
| 327 |
+
ax.set_yticklabels(stages, fontsize=10)
|
| 328 |
+
ax.invert_yaxis()
|
| 329 |
+
ax.set_xlabel("Number of ticks / alerts", fontsize=11, color=COLOR_TEXT)
|
| 330 |
+
ax.set_title("Detection Cascade Funnel",
|
| 331 |
+
fontsize=13, fontweight='bold', color=COLOR_TEXT)
|
| 332 |
+
|
| 333 |
+
# Add count labels on bars
|
| 334 |
+
for bar, count in zip(bars, counts):
|
| 335 |
+
ax.text(bar.get_width() + max(counts) * 0.01, bar.get_y() + bar.get_height() / 2,
|
| 336 |
+
f'{count:,}', va='center', fontsize=9, color=COLOR_TEXT)
|
| 337 |
+
|
| 338 |
+
ax.spines['top'].set_visible(False)
|
| 339 |
+
ax.spines['right'].set_visible(False)
|
| 340 |
+
ax.spines['left'].set_color(COLOR_GRID)
|
| 341 |
+
ax.spines['bottom'].set_color(COLOR_GRID)
|
| 342 |
+
ax.tick_params(colors=COLOR_TEXT)
|
| 343 |
+
|
| 344 |
+
fig.savefig(out_path, dpi=200, facecolor='white')
|
| 345 |
+
plt.close(fig)
|
| 346 |
+
logger.info("Saved cascade funnel to %s", out_path)
|
| 347 |
+
|
| 348 |
+
|
| 349 |
+
def main() -> int:
|
| 350 |
+
parser = argparse.ArgumentParser(description="Generate threshold sweep + plots")
|
| 351 |
+
parser.add_argument("--data", required=True, help="Parquet file of crash data")
|
| 352 |
+
parser.add_argument("--model", required=True, help="Trained TCN model path")
|
| 353 |
+
parser.add_argument("--out", default="results/plots/", help="Output directory")
|
| 354 |
+
parser.add_argument("--max-ticks", type=int, default=500_000)
|
| 355 |
+
parser.add_argument("--thresholds", default="0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9",
|
| 356 |
+
help="Comma-separated thresholds to sweep")
|
| 357 |
+
args = parser.parse_args()
|
| 358 |
+
|
| 359 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 360 |
+
|
| 361 |
+
# Load data
|
| 362 |
+
df = load_parquet(args.data)
|
| 363 |
+
logger.info("Loaded %d ticks", len(df))
|
| 364 |
+
|
| 365 |
+
# Load model
|
| 366 |
+
model = load_trained_tcn(args.model, device=device)
|
| 367 |
+
|
| 368 |
+
# Score all ticks (one pass)
|
| 369 |
+
logger.info("Scoring all ticks...")
|
| 370 |
+
scores_df = score_all_ticks(model, df, max_ticks=args.max_ticks, device=device)
|
| 371 |
+
|
| 372 |
+
# Get ground-truth crash labels
|
| 373 |
+
ticks = list(df_to_ticks(df.iloc[np.linspace(0, len(df) - 1,
|
| 374 |
+
min(args.max_ticks, len(df)), dtype=int)],
|
| 375 |
+
symbol="LABEL"))
|
| 376 |
+
crashes = label_crashes(ticks, drop_threshold_pct=BASELINE_DROP_PCT,
|
| 377 |
+
window_ms=BASELINE_WINDOW_MS)
|
| 378 |
+
logger.info("Found %d ground-truth crash windows", len(crashes))
|
| 379 |
+
|
| 380 |
+
# Threshold sweep
|
| 381 |
+
thresholds = [float(t) for t in args.thresholds.split(",")]
|
| 382 |
+
sweep_results = []
|
| 383 |
+
logger.info("\n" + "=" * 70)
|
| 384 |
+
logger.info("THRESHOLD SWEEP")
|
| 385 |
+
logger.info("=" * 70)
|
| 386 |
+
logger.info("%-10s %-8s %-8s %-8s %-8s %-10s",
|
| 387 |
+
"Threshold", "Alerts", "TP", "FP", "Prec", "Recall")
|
| 388 |
+
logger.info("-" * 70)
|
| 389 |
+
|
| 390 |
+
for t in thresholds:
|
| 391 |
+
result = evaluate_at_threshold(scores_df, crashes, t)
|
| 392 |
+
sweep_results.append(result)
|
| 393 |
+
logger.info("%-10.1f %-8d %-8d %-8d %-8.3f %-10.3f",
|
| 394 |
+
t, result["alerts"], result["true_positives"],
|
| 395 |
+
result["false_positives"], result["precision"], result["recall"])
|
| 396 |
+
|
| 397 |
+
logger.info("=" * 70)
|
| 398 |
+
|
| 399 |
+
# Find best F1
|
| 400 |
+
best_f1 = max(sweep_results, key=lambda r: r["f1"])
|
| 401 |
+
logger.info("Best F1: threshold=%.1f, F1=%.3f, precision=%.3f, recall=%.3f, TTD=%.1fms",
|
| 402 |
+
best_f1["threshold"], best_f1["f1"],
|
| 403 |
+
best_f1["precision"], best_f1["recall"], best_f1["median_ttd_ms"])
|
| 404 |
+
|
| 405 |
+
# Generate plots
|
| 406 |
+
out_dir = Path(args.out)
|
| 407 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 408 |
+
|
| 409 |
+
logger.info("\nGenerating plots...")
|
| 410 |
+
|
| 411 |
+
# Plot 1: PR curve
|
| 412 |
+
plot_pr_curve(sweep_results, out_dir / "pr_curve.png")
|
| 413 |
+
|
| 414 |
+
# Plot 2: TTD histogram (use best F1 threshold)
|
| 415 |
+
plot_ttd_histogram(best_f1, out_dir / "ttd_histogram.png")
|
| 416 |
+
|
| 417 |
+
# Plot 3: Alert timeline (use best F1 threshold)
|
| 418 |
+
plot_alert_timeline(scores_df, crashes, best_f1["threshold"],
|
| 419 |
+
out_dir / "alert_timeline.png")
|
| 420 |
+
|
| 421 |
+
# Plot 4: Cascade funnel
|
| 422 |
+
plot_cascade_funnel(sweep_results, out_dir / "cascade_funnel.png")
|
| 423 |
+
|
| 424 |
+
# Save sweep results
|
| 425 |
+
sweep_path = out_dir / "threshold_sweep.json"
|
| 426 |
+
with open(sweep_path, "w") as f:
|
| 427 |
+
json.dump([{k: v for k, v in r.items() if k != "ttd_ms"} for r in sweep_results],
|
| 428 |
+
f, indent=2)
|
| 429 |
+
logger.info("Saved sweep results to %s", sweep_path)
|
| 430 |
+
|
| 431 |
+
logger.info("\n" + "=" * 70)
|
| 432 |
+
logger.info("ALL PLOTS GENERATED")
|
| 433 |
+
logger.info(" Output: %s", out_dir.resolve())
|
| 434 |
+
logger.info(" Files:")
|
| 435 |
+
logger.info(" pr_curve.png — Precision-Recall curve")
|
| 436 |
+
logger.info(" ttd_histogram.png — TTD distribution")
|
| 437 |
+
logger.info(" alert_timeline.png — Alerts overlaid on price chart")
|
| 438 |
+
logger.info(" cascade_funnel.png — Cascade pass-through funnel")
|
| 439 |
+
logger.info(" threshold_sweep.json — Raw sweep data")
|
| 440 |
+
logger.info("=" * 70)
|
| 441 |
+
return 0
|
| 442 |
+
|
| 443 |
+
|
| 444 |
+
if __name__ == "__main__":
|
| 445 |
+
raise SystemExit(main())
|
scripts/generate_synthetic_data.py
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Generate synthetic LOB data for testing without downloading real data.
|
| 3 |
+
|
| 4 |
+
Creates a parquet file with 1 hour of synthetic ticks, including a flash-crash
|
| 5 |
+
window at the 30-minute mark.
|
| 6 |
+
"""
|
| 7 |
+
import argparse
|
| 8 |
+
import logging
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
|
| 11 |
+
import numpy as np
|
| 12 |
+
import pandas as pd
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def generate_synthetic_ticks(
|
| 16 |
+
n_ticks: int = 360_000, # 1 hour at 10 ticks/sec
|
| 17 |
+
base_price: float = 100.0,
|
| 18 |
+
crash_at_tick: int = 180_000, # crash at 30 min
|
| 19 |
+
crash_duration_ticks: int = 600, # 60-second crash
|
| 20 |
+
crash_drop_pct: float = 0.05, # 5% drop
|
| 21 |
+
) -> pd.DataFrame:
|
| 22 |
+
"""Generate synthetic LOB data with a flash crash."""
|
| 23 |
+
rng = np.random.default_rng(42)
|
| 24 |
+
|
| 25 |
+
timestamps = np.arange(n_ticks) * 10 # 10ms per tick
|
| 26 |
+
prices = np.full(n_ticks, base_price)
|
| 27 |
+
|
| 28 |
+
# Normal price movement (random walk)
|
| 29 |
+
returns = rng.normal(0, 0.0001, n_ticks)
|
| 30 |
+
prices = base_price * np.cumprod(1 + returns)
|
| 31 |
+
|
| 32 |
+
# Inject flash crash
|
| 33 |
+
crash_start = crash_at_tick
|
| 34 |
+
crash_end = crash_at_tick + crash_duration_ticks
|
| 35 |
+
crash_returns = np.linspace(0, -crash_drop_pct, crash_duration_ticks)
|
| 36 |
+
prices[crash_start:crash_end] *= (1 + crash_returns)
|
| 37 |
+
|
| 38 |
+
# Recovery (V-shape)
|
| 39 |
+
recovery_returns = np.linspace(0, crash_drop_pct * 0.7, crash_duration_ticks)
|
| 40 |
+
prices[crash_end:crash_end + crash_duration_ticks] *= (1 + recovery_returns)
|
| 41 |
+
|
| 42 |
+
# Generate bid/ask around mid
|
| 43 |
+
spreads = rng.uniform(0.01, 0.03, n_ticks)
|
| 44 |
+
best_bids = prices - spreads / 2
|
| 45 |
+
best_asks = prices + spreads / 2
|
| 46 |
+
|
| 47 |
+
# Generate sizes (with liquidity withdrawal during crash)
|
| 48 |
+
base_size = 1.0
|
| 49 |
+
sizes = rng.uniform(0.5, 2.0, n_ticks)
|
| 50 |
+
# Liquidity withdrawal during crash
|
| 51 |
+
crash_window = slice(crash_start, crash_end)
|
| 52 |
+
sizes[crash_window] *= rng.uniform(0.1, 0.3, crash_duration_ticks)
|
| 53 |
+
|
| 54 |
+
df = pd.DataFrame({
|
| 55 |
+
"timestamp_ms": timestamps,
|
| 56 |
+
"best_bid": best_bids,
|
| 57 |
+
"best_ask": best_asks,
|
| 58 |
+
"bid_size": sizes,
|
| 59 |
+
"ask_size": sizes * rng.uniform(0.8, 1.2, n_ticks),
|
| 60 |
+
"mid_price": prices,
|
| 61 |
+
})
|
| 62 |
+
return df
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def main() -> int:
|
| 66 |
+
parser = argparse.ArgumentParser(description="Generate synthetic LOB data")
|
| 67 |
+
parser.add_argument("--out", default="data/synthetic_crash.parquet")
|
| 68 |
+
parser.add_argument("--ticks", type=int, default=360_000)
|
| 69 |
+
args = parser.parse_args()
|
| 70 |
+
|
| 71 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 72 |
+
|
| 73 |
+
df = generate_synthetic_ticks(n_ticks=args.ticks)
|
| 74 |
+
out_path = Path(args.out)
|
| 75 |
+
out_path.parent.mkdir(parents=True, exist_ok=True)
|
| 76 |
+
df.to_parquet(out_path, index=False)
|
| 77 |
+
print(f"Generated {len(df)} synthetic ticks -> {out_path}")
|
| 78 |
+
print(f"Crash window: ticks 180000-180600 (at ~30 min)")
|
| 79 |
+
return 0
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
if __name__ == "__main__":
|
| 83 |
+
raise SystemExit(main())
|
scripts/replay_crash.py
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Replay a historical crash through the detector at real-time speed.
|
| 3 |
+
|
| 4 |
+
Usage:
|
| 5 |
+
python scripts/replay_crash.py --data data/BTCUSDT_2021-05-19.parquet --speed 10
|
| 6 |
+
"""
|
| 7 |
+
import argparse
|
| 8 |
+
import asyncio
|
| 9 |
+
import logging
|
| 10 |
+
import sys
|
| 11 |
+
import time
|
| 12 |
+
from pathlib import Path
|
| 13 |
+
|
| 14 |
+
# Insert the ml directory at the FRONT of sys.path
|
| 15 |
+
ML_DIR = Path(__file__).resolve().parent.parent / "ml"
|
| 16 |
+
sys.path.insert(0, str(ML_DIR))
|
| 17 |
+
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
| 18 |
+
sys.path.insert(0, str(PROJECT_ROOT))
|
| 19 |
+
|
| 20 |
+
from flash_crash_watchdog.cascade import DetectionCascade
|
| 21 |
+
from flash_crash_watchdog.data.historical_loader import df_to_ticks, load_parquet
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
async def replay(df, cascade: DetectionCascade, speed: float = 1.0) -> None:
|
| 25 |
+
"""Replay ticks at real-time speed (or speed*x)."""
|
| 26 |
+
ticks = list(df_to_ticks(df))
|
| 27 |
+
print(f"Replaying {len(ticks)} ticks at {speed}x speed...")
|
| 28 |
+
|
| 29 |
+
for i, tick in enumerate(ticks):
|
| 30 |
+
if i > 0:
|
| 31 |
+
delay_ms = (tick.timestamp_ms - ticks[i - 1].timestamp_ms) / speed
|
| 32 |
+
if 0 < delay_ms < 10_000:
|
| 33 |
+
await asyncio.sleep(delay_ms / 1000)
|
| 34 |
+
cascade.process_tick(tick)
|
| 35 |
+
if i % 1000 == 0:
|
| 36 |
+
print(f" Progress: {i}/{len(ticks)} alerts={cascade.stats.alerts_fired}")
|
| 37 |
+
|
| 38 |
+
cascade.print_stats()
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
def main() -> int:
|
| 42 |
+
parser = argparse.ArgumentParser(description="Replay a historical crash")
|
| 43 |
+
parser.add_argument("--data", required=True)
|
| 44 |
+
parser.add_argument("--config", default="configs/pipeline.yml")
|
| 45 |
+
parser.add_argument("--speed", type=float, default=10.0, help="Replay speed multiplier")
|
| 46 |
+
args = parser.parse_args()
|
| 47 |
+
|
| 48 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 49 |
+
|
| 50 |
+
df = load_parquet(args.data)
|
| 51 |
+
cascade = DetectionCascade.from_config(args.config)
|
| 52 |
+
asyncio.run(replay(df, cascade, args.speed))
|
| 53 |
+
return 0
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
if __name__ == "__main__":
|
| 57 |
+
raise SystemExit(main())
|
scripts/run_backtest.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Run the offline backtest on a historical data file.
|
| 3 |
+
|
| 4 |
+
Usage:
|
| 5 |
+
python scripts/run_backtest.py --data data/BTCUSDT_2021-05-19.parquet
|
| 6 |
+
"""
|
| 7 |
+
import argparse
|
| 8 |
+
import logging
|
| 9 |
+
import sys
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
# Insert the ml directory at the FRONT of sys.path so we import the local
|
| 13 |
+
# package (with all submodules: data/, features/, models/, eval/, alert/)
|
| 14 |
+
# rather than any pip-installed version that might be incomplete.
|
| 15 |
+
ML_DIR = Path(__file__).resolve().parent.parent / "ml"
|
| 16 |
+
sys.path.insert(0, str(ML_DIR))
|
| 17 |
+
|
| 18 |
+
# Also add the project root so 'flash_crash_watchdog' resolves
|
| 19 |
+
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
| 20 |
+
sys.path.insert(0, str(PROJECT_ROOT))
|
| 21 |
+
|
| 22 |
+
from flash_crash_watchdog.cascade import DetectionCascade
|
| 23 |
+
from flash_crash_watchdog.data.historical_loader import load_parquet
|
| 24 |
+
from flash_crash_watchdog.eval.backtest import run_backtest
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def main() -> int:
|
| 28 |
+
parser = argparse.ArgumentParser(description="Run offline backtest")
|
| 29 |
+
parser.add_argument("--data", required=True, help="Parquet or CSV file")
|
| 30 |
+
parser.add_argument("--config", default="configs/pipeline.yml")
|
| 31 |
+
parser.add_argument("--output", default="results/backtest_results.json")
|
| 32 |
+
args = parser.parse_args()
|
| 33 |
+
|
| 34 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 35 |
+
|
| 36 |
+
df = load_parquet(args.data)
|
| 37 |
+
cascade = DetectionCascade.from_config(args.config)
|
| 38 |
+
results = run_backtest(cascade, df)
|
| 39 |
+
results.print_summary()
|
| 40 |
+
|
| 41 |
+
output_path = Path(args.output)
|
| 42 |
+
output_path.parent.mkdir(parents=True, exist_ok=True)
|
| 43 |
+
results.save(output_path)
|
| 44 |
+
return 0
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
if __name__ == "__main__":
|
| 48 |
+
raise SystemExit(main())
|
scripts/run_cascade_backtest.py
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Full 5-stage cascade backtest with trained TCN + per-crash breakdown table.
|
| 3 |
+
|
| 4 |
+
Wires the trained TCN into Stage 3 of the cascade, runs the full pipeline
|
| 5 |
+
(Stage 1 → 2 → 3), and outputs:
|
| 6 |
+
1. Cascade pass-through funnel (Stage 1 → Stage 2 → Stage 3)
|
| 7 |
+
2. Per-crash breakdown table (each true positive with TTD, features)
|
| 8 |
+
3. Comparison vs baseline
|
| 9 |
+
|
| 10 |
+
Usage:
|
| 11 |
+
python scripts/run_cascade_backtest.py \
|
| 12 |
+
--data data/parquet/BTCUSDT_2021-05-19.parquet \
|
| 13 |
+
--model models/stage3_tcn_trained.pt \
|
| 14 |
+
--out results/cascade_backtest.json \
|
| 15 |
+
--max-ticks 500000
|
| 16 |
+
"""
|
| 17 |
+
import argparse
|
| 18 |
+
import json
|
| 19 |
+
import logging
|
| 20 |
+
import sys
|
| 21 |
+
import time
|
| 22 |
+
from collections import deque
|
| 23 |
+
from pathlib import Path
|
| 24 |
+
|
| 25 |
+
import numpy as np
|
| 26 |
+
import pandas as pd
|
| 27 |
+
import torch
|
| 28 |
+
|
| 29 |
+
ML_DIR = Path(__file__).resolve().parent.parent / "ml"
|
| 30 |
+
sys.path.insert(0, str(ML_DIR))
|
| 31 |
+
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
| 32 |
+
sys.path.insert(0, str(PROJECT_ROOT))
|
| 33 |
+
|
| 34 |
+
from flash_crash_watchdog.data.historical_loader import df_to_ticks, load_parquet
|
| 35 |
+
from flash_crash_watchdog.data.labels import label_crashes
|
| 36 |
+
from flash_crash_watchdog.features import FEATURE_NAMES, FeatureExtractor
|
| 37 |
+
from flash_crash_watchdog.models.stage1_statistical import Stage1Statistical, Stage1Config
|
| 38 |
+
from flash_crash_watchdog.models.stage2_isolation_forest import Stage2IsolationForest
|
| 39 |
+
from flash_crash_watchdog.models.stage3_tcn import TCNDetector, TCNConfig
|
| 40 |
+
|
| 41 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 42 |
+
logger = logging.getLogger(__name__)
|
| 43 |
+
|
| 44 |
+
TCN_FEATURES = FEATURE_NAMES[:17]
|
| 45 |
+
WINDOW_SIZE = 200
|
| 46 |
+
ALERT_THRESHOLD = 0.3
|
| 47 |
+
BASELINE_DROP_PCT = 2.0
|
| 48 |
+
BASELINE_WINDOW_MS = 60_000
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def load_trained_tcn(model_path: str, device: str = "auto") -> TCNDetector:
|
| 52 |
+
if device == "auto":
|
| 53 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 54 |
+
data = torch.load(model_path, map_location=device, weights_only=False)
|
| 55 |
+
config = data["config"]
|
| 56 |
+
model = TCNDetector(config).to(device)
|
| 57 |
+
model.load_state_dict(data["model_state"])
|
| 58 |
+
model.eval()
|
| 59 |
+
logger.info("Loaded TCN from %s (device=%s)", model_path, device)
|
| 60 |
+
return model
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def run_full_cascade(
|
| 64 |
+
tcn_model: TCNDetector,
|
| 65 |
+
df: pd.DataFrame,
|
| 66 |
+
max_ticks: int = 500_000,
|
| 67 |
+
device: str = "cpu",
|
| 68 |
+
) -> dict:
|
| 69 |
+
"""Run the full Stage 1 → 2 → 3 cascade with per-crash breakdown."""
|
| 70 |
+
if max_ticks > 0 and len(df) > max_ticks:
|
| 71 |
+
indices = np.linspace(0, len(df) - 1, max_ticks, dtype=int)
|
| 72 |
+
df = df.iloc[indices].copy()
|
| 73 |
+
logger.info("Sampled to %d ticks", len(df))
|
| 74 |
+
|
| 75 |
+
extractor = FeatureExtractor()
|
| 76 |
+
feature_window = deque(maxlen=WINDOW_SIZE)
|
| 77 |
+
|
| 78 |
+
# Initialize stages
|
| 79 |
+
stage1 = Stage1Statistical(Stage1Config(velocity_z_threshold=1.0, spread_z_threshold=1.0, obi_z_threshold=0.5))
|
| 80 |
+
stage2 = Stage2IsolationForest(n_estimators=100, contamination=0.30)
|
| 81 |
+
# Train Stage 2 on the first 50K ticks (normal data warmup)
|
| 82 |
+
logger.info("Training Stage 2 (Isolation Forest) on warmup data...")
|
| 83 |
+
warmup_features = []
|
| 84 |
+
ticks = list(df_to_ticks(df, symbol="CASCADE"))
|
| 85 |
+
for tick in ticks[:50000]:
|
| 86 |
+
features = extractor.extract(tick)
|
| 87 |
+
warmup_features.append([features.get(f, 0.0) for f in FEATURE_NAMES[:12]])
|
| 88 |
+
stage2.fit(np.array(warmup_features))
|
| 89 |
+
|
| 90 |
+
# Get ground-truth crash labels
|
| 91 |
+
crashes = label_crashes(ticks, drop_threshold_pct=BASELINE_DROP_PCT,
|
| 92 |
+
window_ms=BASELINE_WINDOW_MS)
|
| 93 |
+
logger.info("Found %d ground-truth crash windows", len(crashes))
|
| 94 |
+
|
| 95 |
+
# Cascade stats
|
| 96 |
+
stats = {
|
| 97 |
+
"total_ticks": 0,
|
| 98 |
+
"stage1_passed": 0,
|
| 99 |
+
"stage2_passed": 0,
|
| 100 |
+
"stage3_passed": 0,
|
| 101 |
+
"alerts_fired": 0,
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
alerts = []
|
| 105 |
+
t0 = time.time()
|
| 106 |
+
|
| 107 |
+
for i, tick in enumerate(ticks):
|
| 108 |
+
if i % 50000 == 0:
|
| 109 |
+
elapsed = time.time() - t0
|
| 110 |
+
logger.info(" Processing tick %d/%d (%.0f/sec, %.0fs)",
|
| 111 |
+
i, len(ticks), (i+1)/max(1,elapsed), elapsed)
|
| 112 |
+
|
| 113 |
+
stats["total_ticks"] += 1
|
| 114 |
+
|
| 115 |
+
# Extract features
|
| 116 |
+
features = extractor.extract(tick)
|
| 117 |
+
|
| 118 |
+
# Update the TCN feature window on EVERY tick (continuous sliding window)
|
| 119 |
+
vec = np.array([features.get(f, 0.0) for f in TCN_FEATURES])
|
| 120 |
+
feature_window.append(vec)
|
| 121 |
+
|
| 122 |
+
# Stage 1 — Statistical pre-filter
|
| 123 |
+
s1_score, s1_pass = stage1.score(tick)
|
| 124 |
+
if not s1_pass:
|
| 125 |
+
continue
|
| 126 |
+
stats["stage1_passed"] += 1
|
| 127 |
+
|
| 128 |
+
# Stage 2 — Isolation Forest
|
| 129 |
+
s2_score, s2_pass = stage2.score(tick)
|
| 130 |
+
if not s2_pass:
|
| 131 |
+
continue
|
| 132 |
+
stats["stage2_passed"] += 1
|
| 133 |
+
|
| 134 |
+
# Stage 3 — TCN (only run on suspects, but window is continuous)
|
| 135 |
+
if len(feature_window) < WINDOW_SIZE:
|
| 136 |
+
continue
|
| 137 |
+
|
| 138 |
+
window_array = np.array(list(feature_window))
|
| 139 |
+
with torch.no_grad():
|
| 140 |
+
x = torch.FloatTensor(window_array).T.unsqueeze(0).to(device)
|
| 141 |
+
scores = tcn_model(x)
|
| 142 |
+
s3_score = float(scores[0, -1].item())
|
| 143 |
+
|
| 144 |
+
if s3_score >= ALERT_THRESHOLD:
|
| 145 |
+
stats["stage3_passed"] += 1
|
| 146 |
+
stats["alerts_fired"] += 1
|
| 147 |
+
alerts.append({
|
| 148 |
+
"timestamp_ms": tick.timestamp_ms,
|
| 149 |
+
"score": s3_score,
|
| 150 |
+
"mid_price": tick.book.mid_price or 0.0,
|
| 151 |
+
"s1_score": s1_score,
|
| 152 |
+
"s2_score": s2_score,
|
| 153 |
+
"s3_score": s3_score,
|
| 154 |
+
"features": {
|
| 155 |
+
"obi_10": features.get("f2_obi_10", 0.0),
|
| 156 |
+
"bid_depth_10": features.get("f2_bid_depth_10", 0.0),
|
| 157 |
+
"ask_depth_10": features.get("f2_ask_depth_10", 0.0),
|
| 158 |
+
"spread_bps": tick.book.spread_bps or 0.0,
|
| 159 |
+
"vpin": features.get("f3_vpin", 0.0),
|
| 160 |
+
"realized_vol_1s": features.get("f4_realized_vol_1s", 0.0),
|
| 161 |
+
"variance_ratio": features.get("f4_variance_ratio", 0.0),
|
| 162 |
+
"trade_arrival_rate": features.get("f1_trade_arrival_rate", 0.0),
|
| 163 |
+
},
|
| 164 |
+
})
|
| 165 |
+
|
| 166 |
+
logger.info("Cascade complete: %d ticks in %.1fs", len(ticks), time.time() - t0)
|
| 167 |
+
|
| 168 |
+
# Evaluate alerts against ground truth
|
| 169 |
+
results = evaluate_alerts(alerts, crashes)
|
| 170 |
+
results["cascade_stats"] = stats
|
| 171 |
+
results["per_crash_breakdown"] = build_breakdown(alerts, crashes)
|
| 172 |
+
|
| 173 |
+
return results
|
| 174 |
+
|
| 175 |
+
|
| 176 |
+
def evaluate_alerts(alerts: list, crashes: list) -> dict:
|
| 177 |
+
"""Evaluate alerts against ground-truth crash windows."""
|
| 178 |
+
true_positives = 0
|
| 179 |
+
false_positives = 0
|
| 180 |
+
ttd_ms = []
|
| 181 |
+
matched_crashes = set()
|
| 182 |
+
|
| 183 |
+
for alert in alerts:
|
| 184 |
+
alert_ts = alert["timestamp_ms"]
|
| 185 |
+
matched = False
|
| 186 |
+
for j, crash in enumerate(crashes):
|
| 187 |
+
if j in matched_crashes:
|
| 188 |
+
continue
|
| 189 |
+
if crash.start_ts - 5000 <= alert_ts <= crash.end_ts:
|
| 190 |
+
true_positives += 1
|
| 191 |
+
matched_crashes.add(j)
|
| 192 |
+
ttd = crash.end_ts - alert_ts
|
| 193 |
+
ttd_ms.append(ttd)
|
| 194 |
+
alert["matched_crash"] = j
|
| 195 |
+
alert["ttd_ms"] = ttd
|
| 196 |
+
alert["crash_drop_pct"] = crash.drop_pct
|
| 197 |
+
matched = True
|
| 198 |
+
break
|
| 199 |
+
if not matched:
|
| 200 |
+
false_positives += 1
|
| 201 |
+
|
| 202 |
+
false_negatives = len(crashes) - true_positives
|
| 203 |
+
precision = true_positives / max(1, true_positives + false_positives)
|
| 204 |
+
recall = true_positives / max(1, len(crashes))
|
| 205 |
+
f1 = 2 * precision * recall / max(1e-6, precision + recall)
|
| 206 |
+
|
| 207 |
+
return {
|
| 208 |
+
"alerts_fired": len(alerts),
|
| 209 |
+
"true_positives": true_positives,
|
| 210 |
+
"false_positives": false_positives,
|
| 211 |
+
"false_negatives": false_negatives,
|
| 212 |
+
"precision": precision,
|
| 213 |
+
"recall": recall,
|
| 214 |
+
"f1": f1,
|
| 215 |
+
"median_ttd_ms": float(np.median(ttd_ms)) if ttd_ms else 0.0,
|
| 216 |
+
"ttd_ms": ttd_ms,
|
| 217 |
+
}
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
def build_breakdown(alerts: list, crashes: list) -> list:
|
| 221 |
+
"""Build per-crash breakdown table for true positives."""
|
| 222 |
+
breakdown = []
|
| 223 |
+
for alert in alerts:
|
| 224 |
+
if "matched_crash" not in alert:
|
| 225 |
+
continue
|
| 226 |
+
crash = crashes[alert["matched_crash"]]
|
| 227 |
+
breakdown.append({
|
| 228 |
+
"alert_timestamp_ms": alert["timestamp_ms"],
|
| 229 |
+
"crash_start_ms": crash.start_ts,
|
| 230 |
+
"crash_end_ms": crash.end_ts,
|
| 231 |
+
"ttd_ms": alert["ttd_ms"],
|
| 232 |
+
"ttd_seconds": alert["ttd_ms"] / 1000.0,
|
| 233 |
+
"crash_drop_pct": round(crash.drop_pct, 2),
|
| 234 |
+
"peak_price": round(crash.peak_price, 2),
|
| 235 |
+
"trough_price": round(crash.trough_price, 2),
|
| 236 |
+
"alert_price": round(alert["mid_price"], 2),
|
| 237 |
+
"tcn_score": round(alert["score"], 4),
|
| 238 |
+
"s1_score": round(alert["s1_score"], 4),
|
| 239 |
+
"s2_score": round(alert["s2_score"], 4),
|
| 240 |
+
"features": {k: round(v, 6) for k, v in alert["features"].items()},
|
| 241 |
+
})
|
| 242 |
+
return breakdown
|
| 243 |
+
|
| 244 |
+
|
| 245 |
+
def print_cascade_funnel(stats: dict) -> None:
|
| 246 |
+
logger.info("\n" + "=" * 60)
|
| 247 |
+
logger.info("CASCADE FUNNEL")
|
| 248 |
+
logger.info("=" * 60)
|
| 249 |
+
total = stats["total_ticks"]
|
| 250 |
+
s1 = stats["stage1_passed"]
|
| 251 |
+
s2 = stats["stage2_passed"]
|
| 252 |
+
s3 = stats["stage3_passed"]
|
| 253 |
+
alerts = stats["alerts_fired"]
|
| 254 |
+
logger.info(" Total ticks: %d", total)
|
| 255 |
+
logger.info(" Stage 1 passed: %d (%.1f%%)", s1, s1/max(1,total)*100)
|
| 256 |
+
logger.info(" Stage 2 passed: %d (%.1f%% of S1)", s2, s2/max(1,s1)*100)
|
| 257 |
+
logger.info(" Stage 3 passed: %d (%.1f%% of S2)", s3, s3/max(1,s2)*100)
|
| 258 |
+
logger.info(" Alerts fired: %d", alerts)
|
| 259 |
+
logger.info("=" * 60)
|
| 260 |
+
|
| 261 |
+
|
| 262 |
+
def print_breakdown_table(breakdown: list) -> None:
|
| 263 |
+
logger.info("\n" + "=" * 80)
|
| 264 |
+
logger.info("PER-CRASH BREAKDOWN TABLE (%d true positives)", len(breakdown))
|
| 265 |
+
logger.info("=" * 80)
|
| 266 |
+
logger.info("%-5s %-10s %-8s %-8s %-8s %-8s %-8s",
|
| 267 |
+
"#", "TTD (s)", "Drop%", "Price", "OBI", "VPIN", "Vol")
|
| 268 |
+
logger.info("-" * 80)
|
| 269 |
+
for i, b in enumerate(breakdown):
|
| 270 |
+
logger.info("%-5d %-10.2f %-8.2f %-8.2f %-8.4f %-8.4f %-8.6f",
|
| 271 |
+
i+1,
|
| 272 |
+
b["ttd_seconds"],
|
| 273 |
+
b["crash_drop_pct"],
|
| 274 |
+
b["alert_price"],
|
| 275 |
+
b["features"]["obi_10"],
|
| 276 |
+
b["features"]["vpin"],
|
| 277 |
+
b["features"]["realized_vol_1s"])
|
| 278 |
+
logger.info("=" * 80)
|
| 279 |
+
|
| 280 |
+
|
| 281 |
+
def main() -> int:
|
| 282 |
+
global ALERT_THRESHOLD
|
| 283 |
+
parser = argparse.ArgumentParser(description="Full cascade backtest + breakdown")
|
| 284 |
+
parser.add_argument("--data", required=True)
|
| 285 |
+
parser.add_argument("--model", required=True)
|
| 286 |
+
parser.add_argument("--out", default="results/cascade_backtest.json")
|
| 287 |
+
parser.add_argument("--max-ticks", type=int, default=500_000)
|
| 288 |
+
parser.add_argument("--threshold", type=float, default=ALERT_THRESHOLD)
|
| 289 |
+
args = parser.parse_args()
|
| 290 |
+
|
| 291 |
+
|
| 292 |
+
ALERT_THRESHOLD = args.threshold
|
| 293 |
+
|
| 294 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 295 |
+
df = load_parquet(args.data)
|
| 296 |
+
tcn_model = load_trained_tcn(args.model, device=device)
|
| 297 |
+
|
| 298 |
+
results = run_full_cascade(tcn_model, df, max_ticks=args.max_ticks, device=device)
|
| 299 |
+
|
| 300 |
+
print_cascade_funnel(results["cascade_stats"])
|
| 301 |
+
logger.info("\nPrecision: %.3f | Recall: %.3f | F1: %.3f | Median TTD: %.1f ms",
|
| 302 |
+
results["precision"], results["recall"], results["f1"],
|
| 303 |
+
results["median_ttd_ms"])
|
| 304 |
+
print_breakdown_table(results["per_crash_breakdown"])
|
| 305 |
+
|
| 306 |
+
output_path = Path(args.out)
|
| 307 |
+
output_path.parent.mkdir(parents=True, exist_ok=True)
|
| 308 |
+
with open(output_path, "w") as f:
|
| 309 |
+
json.dump(results, f, indent=2, default=str)
|
| 310 |
+
logger.info("Saved to %s", output_path)
|
| 311 |
+
return 0
|
| 312 |
+
|
| 313 |
+
|
| 314 |
+
if __name__ == "__main__":
|
| 315 |
+
raise SystemExit(main())
|
scripts/train_tcn_windows.py
ADDED
|
@@ -0,0 +1,247 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Train the TCN on real labeled windows (no synthetic data).
|
| 3 |
+
|
| 4 |
+
Uses the windows extracted by extract_windows.py. Each window is a
|
| 5 |
+
(200, 17) tensor labeled 0 (normal) or 1 (crash). The TCN learns to
|
| 6 |
+
classify windows — detecting the real pre-crash microstructure pattern.
|
| 7 |
+
|
| 8 |
+
Usage:
|
| 9 |
+
# Train on crash day windows
|
| 10 |
+
python scripts/train_tcn_windows.py --data data/windows/BTCUSDT_2021-05-19_windows.npz --out models/ --epochs 50
|
| 11 |
+
|
| 12 |
+
# Train on both crash + normal days (recommended)
|
| 13 |
+
python scripts/train_tcn_windows.py \
|
| 14 |
+
--data data/windows/BTCUSDT_2021-05-19_windows.npz \
|
| 15 |
+
--data data/windows/BTCUSDT_2024-01-15_windows.npz \
|
| 16 |
+
--out models/ --epochs 50 --device cuda
|
| 17 |
+
"""
|
| 18 |
+
import argparse
|
| 19 |
+
import logging
|
| 20 |
+
import sys
|
| 21 |
+
import time
|
| 22 |
+
from pathlib import Path
|
| 23 |
+
|
| 24 |
+
import numpy as np
|
| 25 |
+
import torch
|
| 26 |
+
import torch.nn as nn
|
| 27 |
+
from torch.utils.data import DataLoader, TensorDataset
|
| 28 |
+
|
| 29 |
+
ML_DIR = Path(__file__).resolve().parent.parent / "ml"
|
| 30 |
+
sys.path.insert(0, str(ML_DIR))
|
| 31 |
+
PROJECT_ROOT = Path(__file__).resolve().parent.parent
|
| 32 |
+
sys.path.insert(0, str(PROJECT_ROOT))
|
| 33 |
+
|
| 34 |
+
from flash_crash_watchdog.models.stage3_tcn import TCNDetector, TCNConfig
|
| 35 |
+
|
| 36 |
+
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s")
|
| 37 |
+
logger = logging.getLogger(__name__)
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
class FocalLoss(nn.Module):
|
| 41 |
+
"""Focal loss for class imbalance — focuses training on hard examples."""
|
| 42 |
+
|
| 43 |
+
def __init__(self, alpha: float = 0.25, gamma: float = 2.0) -> None:
|
| 44 |
+
super().__init__()
|
| 45 |
+
self.alpha = alpha
|
| 46 |
+
self.gamma = gamma
|
| 47 |
+
|
| 48 |
+
def forward(self, preds: torch.Tensor, targets: torch.Tensor) -> torch.Tensor:
|
| 49 |
+
# preds: (B, T) — per-timestep score in [0, 1]
|
| 50 |
+
# targets: (B,) — window-level label
|
| 51 |
+
# Use the score at the LAST timestep as the window-level prediction
|
| 52 |
+
pred = preds[:, -1].squeeze() # (B,)
|
| 53 |
+
BCE = nn.functional.binary_cross_entropy(pred, targets.float(), reduction="none")
|
| 54 |
+
p_t = pred * targets + (1 - pred) * (1 - targets)
|
| 55 |
+
alpha_t = self.alpha * targets + (1 - self.alpha) * (1 - targets)
|
| 56 |
+
loss = alpha_t * (1 - p_t) ** self.gamma * BCE
|
| 57 |
+
return loss.mean()
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def load_windows(paths: list[str]) -> tuple[np.ndarray, np.ndarray]:
|
| 61 |
+
"""Load and concatenate window data from multiple .npz files."""
|
| 62 |
+
all_windows = []
|
| 63 |
+
all_labels = []
|
| 64 |
+
for path in paths:
|
| 65 |
+
data = np.load(path, allow_pickle=True)
|
| 66 |
+
windows = data["windows"]
|
| 67 |
+
labels = data["labels"]
|
| 68 |
+
logger.info("Loaded %s: %d windows (%d positive)", path, len(windows), np.sum(labels))
|
| 69 |
+
all_windows.append(windows)
|
| 70 |
+
all_labels.append(labels)
|
| 71 |
+
windows = np.concatenate(all_windows, axis=0)
|
| 72 |
+
labels = np.concatenate(all_labels, axis=0)
|
| 73 |
+
logger.info("Total: %d windows (%d positive = %.1f%%)",
|
| 74 |
+
len(windows), np.sum(labels), np.sum(labels) / len(labels) * 100)
|
| 75 |
+
return windows, labels
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
def train_tcn(
|
| 79 |
+
windows: np.ndarray,
|
| 80 |
+
labels: np.ndarray,
|
| 81 |
+
epochs: int = 50,
|
| 82 |
+
batch_size: int = 128,
|
| 83 |
+
learning_rate: float = 1e-3,
|
| 84 |
+
channels: int = 256,
|
| 85 |
+
device: str = "cpu",
|
| 86 |
+
) -> TCNDetector:
|
| 87 |
+
"""Train the TCN on labeled windows.
|
| 88 |
+
|
| 89 |
+
Args:
|
| 90 |
+
windows: shape (N, window_size, 17)
|
| 91 |
+
labels: shape (N,) — 0 or 1
|
| 92 |
+
"""
|
| 93 |
+
logger.info("=" * 60)
|
| 94 |
+
logger.info("TRAINING TCN ON REAL LABELED WINDOWS")
|
| 95 |
+
logger.info(" Device: %s", device)
|
| 96 |
+
logger.info(" Windows: %d", len(windows))
|
| 97 |
+
logger.info(" Positive: %d (%.1f%%)", np.sum(labels), np.sum(labels) / len(labels) * 100)
|
| 98 |
+
logger.info(" Shape: %s", windows.shape)
|
| 99 |
+
logger.info(" Epochs: %d", epochs)
|
| 100 |
+
logger.info(" Batch: %d", batch_size)
|
| 101 |
+
logger.info(" Channels: %d/layer", channels)
|
| 102 |
+
logger.info("=" * 60)
|
| 103 |
+
|
| 104 |
+
# Config
|
| 105 |
+
window_size = windows.shape[1]
|
| 106 |
+
input_dim = windows.shape[2]
|
| 107 |
+
config = TCNConfig(
|
| 108 |
+
num_channels=(channels,) * 8,
|
| 109 |
+
kernel_size=3,
|
| 110 |
+
input_dim=input_dim,
|
| 111 |
+
dropout=0.1,
|
| 112 |
+
sequence_length=window_size,
|
| 113 |
+
)
|
| 114 |
+
|
| 115 |
+
# Model
|
| 116 |
+
model = TCNDetector(config).to(device)
|
| 117 |
+
optimizer = torch.optim.Adam(model.parameters(), lr=learning_rate, weight_decay=1e-4)
|
| 118 |
+
criterion = FocalLoss(alpha=0.25, gamma=2.0)
|
| 119 |
+
|
| 120 |
+
# Data — transpose to (N, input_dim, window_size) for Conv1d
|
| 121 |
+
x = torch.FloatTensor(windows).permute(0, 2, 1).to(device) # (N, C, T)
|
| 122 |
+
y = torch.LongTensor(labels).to(device)
|
| 123 |
+
dataset = TensorDataset(x, y)
|
| 124 |
+
|
| 125 |
+
# Split 80/20
|
| 126 |
+
n_train = int(len(dataset) * 0.8)
|
| 127 |
+
n_val = len(dataset) - n_train
|
| 128 |
+
train_ds, val_ds = torch.utils.data.random_split(dataset, [n_train, n_val])
|
| 129 |
+
train_loader = DataLoader(train_ds, batch_size=batch_size, shuffle=True, drop_last=True)
|
| 130 |
+
val_loader = DataLoader(val_ds, batch_size=batch_size, shuffle=False)
|
| 131 |
+
|
| 132 |
+
logger.info("Train: %d windows | Val: %d windows", n_train, n_val)
|
| 133 |
+
|
| 134 |
+
# Training loop
|
| 135 |
+
best_val_loss = float("inf")
|
| 136 |
+
history = {"train_loss": [], "val_loss": [], "val_acc": []}
|
| 137 |
+
|
| 138 |
+
for epoch in range(epochs):
|
| 139 |
+
t0 = time.time()
|
| 140 |
+
model.train()
|
| 141 |
+
train_loss = 0.0
|
| 142 |
+
n_batches = 0
|
| 143 |
+
|
| 144 |
+
for batch_x, batch_y in train_loader:
|
| 145 |
+
optimizer.zero_grad()
|
| 146 |
+
preds = model(batch_x) # (B, T)
|
| 147 |
+
loss = criterion(preds, batch_y)
|
| 148 |
+
loss.backward()
|
| 149 |
+
torch.nn.utils.clip_grad_norm_(model.parameters(), 1.0)
|
| 150 |
+
optimizer.step()
|
| 151 |
+
train_loss += loss.item()
|
| 152 |
+
n_batches += 1
|
| 153 |
+
|
| 154 |
+
train_loss /= max(1, n_batches)
|
| 155 |
+
|
| 156 |
+
# Validation
|
| 157 |
+
model.eval()
|
| 158 |
+
val_loss = 0.0
|
| 159 |
+
val_correct = 0
|
| 160 |
+
val_total = 0
|
| 161 |
+
with torch.no_grad():
|
| 162 |
+
for batch_x, batch_y in val_loader:
|
| 163 |
+
preds = model(batch_x)
|
| 164 |
+
loss = criterion(preds, batch_y)
|
| 165 |
+
val_loss += loss.item()
|
| 166 |
+
# Predict: use last timestep score
|
| 167 |
+
pred_label = (preds[:, -1].squeeze() > 0.5).long()
|
| 168 |
+
val_correct += (pred_label == batch_y).sum().item()
|
| 169 |
+
val_total += len(batch_y)
|
| 170 |
+
|
| 171 |
+
val_loss /= max(1, len(val_loader))
|
| 172 |
+
val_acc = val_correct / max(1, val_total)
|
| 173 |
+
|
| 174 |
+
history["train_loss"].append(train_loss)
|
| 175 |
+
history["val_loss"].append(val_loss)
|
| 176 |
+
history["val_acc"].append(val_acc)
|
| 177 |
+
|
| 178 |
+
elapsed = time.time() - t0
|
| 179 |
+
if epoch % 5 == 0 or epoch == epochs - 1:
|
| 180 |
+
logger.info("Epoch %3d/%d | train_loss=%.4f | val_loss=%.4f | val_acc=%.2f%% | %.1fs",
|
| 181 |
+
epoch, epochs, train_loss, val_loss, val_acc * 100, elapsed)
|
| 182 |
+
|
| 183 |
+
if val_loss < best_val_loss:
|
| 184 |
+
best_val_loss = val_loss
|
| 185 |
+
best_state = {k: v.clone() for k, v in model.state_dict().items()}
|
| 186 |
+
|
| 187 |
+
# Restore best
|
| 188 |
+
model.load_state_dict(best_state)
|
| 189 |
+
logger.info("Best val_loss=%.4f, val_acc=%.2f%%", best_val_loss,
|
| 190 |
+
max(history["val_acc"]) * 100)
|
| 191 |
+
return model
|
| 192 |
+
|
| 193 |
+
|
| 194 |
+
def main() -> int:
|
| 195 |
+
parser = argparse.ArgumentParser(description="Train TCN on real labeled windows")
|
| 196 |
+
parser.add_argument("--data", action="append", required=True,
|
| 197 |
+
help="Path to .npz window file (can specify multiple)")
|
| 198 |
+
parser.add_argument("--out", default="models/", help="Output directory")
|
| 199 |
+
parser.add_argument("--epochs", type=int, default=50)
|
| 200 |
+
parser.add_argument("--batch-size", type=int, default=128)
|
| 201 |
+
parser.add_argument("--lr", type=float, default=1e-3)
|
| 202 |
+
parser.add_argument("--channels", type=int, default=256,
|
| 203 |
+
help="Channels per TCN layer (256 for A100, 64 for CPU)")
|
| 204 |
+
parser.add_argument("--device", default="auto",
|
| 205 |
+
help="cuda, cpu, or auto")
|
| 206 |
+
args = parser.parse_args()
|
| 207 |
+
|
| 208 |
+
# Device
|
| 209 |
+
if args.device == "auto":
|
| 210 |
+
device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 211 |
+
else:
|
| 212 |
+
device = args.device
|
| 213 |
+
|
| 214 |
+
if device == "cuda":
|
| 215 |
+
logger.info("GPU: %s (%.1f GB)",
|
| 216 |
+
torch.cuda.get_device_name(0),
|
| 217 |
+
torch.cuda.get_device_properties(0).total_memory / 1e9)
|
| 218 |
+
|
| 219 |
+
|
| 220 |
+
# Load windows
|
| 221 |
+
windows, labels = load_windows(args.data)
|
| 222 |
+
|
| 223 |
+
# Train
|
| 224 |
+
model = train_tcn(
|
| 225 |
+
windows, labels,
|
| 226 |
+
epochs=args.epochs,
|
| 227 |
+
batch_size=args.batch_size,
|
| 228 |
+
learning_rate=args.lr,
|
| 229 |
+
channels=args.channels,
|
| 230 |
+
device=device,
|
| 231 |
+
)
|
| 232 |
+
|
| 233 |
+
# Save
|
| 234 |
+
out_dir = Path(args.out)
|
| 235 |
+
out_dir.mkdir(parents=True, exist_ok=True)
|
| 236 |
+
model_path = out_dir / "stage3_tcn_trained.pt"
|
| 237 |
+
torch.save({
|
| 238 |
+
"model_state": model.state_dict(),
|
| 239 |
+
"config": model.config,
|
| 240 |
+
}, model_path)
|
| 241 |
+
logger.info("Model saved to %s", model_path)
|
| 242 |
+
|
| 243 |
+
return 0
|
| 244 |
+
|
| 245 |
+
|
| 246 |
+
if __name__ == "__main__":
|
| 247 |
+
raise SystemExit(main())
|