ywliu commited on
Publish QuantInvBench dataset
Browse files- .gitignore +4 -0
- DATA_LICENSE.md +17 -0
- LICENSE +22 -0
- README.md +120 -0
- data/manifest.json +46 -0
- data/test.jsonl +52 -0
- data/train.jsonl +0 -0
- data/validation.jsonl +53 -0
- environment.yml +17 -0
- requirements-generation.txt +3 -0
- requirements.txt +5 -0
- scripts/__init__.py +2 -0
- scripts/common.py +94 -0
- scripts/compute_sentiment.py +174 -0
- scripts/evaluate.py +112 -0
- scripts/generate.py +230 -0
- scripts/strategies.py +204 -0
- scripts/upload.py +39 -0
- scripts/validate.py +205 -0
- tests/test_release.py +89 -0
.gitignore
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__pycache__/
|
| 2 |
+
*.py[cod]
|
| 3 |
+
.pytest_cache/
|
| 4 |
+
cache/
|
DATA_LICENSE.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Data Terms
|
| 2 |
+
|
| 3 |
+
The MIT license in this repository applies to the release scripts, not to
|
| 4 |
+
third-party source data.
|
| 5 |
+
|
| 6 |
+
QuantInvBench records are derived from cryptocurrency market data and
|
| 7 |
+
precomputed sentiment signals. Users and redistributors are responsible for
|
| 8 |
+
complying with the applicable terms of the original data providers, including
|
| 9 |
+
Binance and GDELT and the terms applicable to the underlying news publishers.
|
| 10 |
+
|
| 11 |
+
The release excludes article text, titles, URLs, and other publisher content.
|
| 12 |
+
The USDT source series is synthetic and is identified as such in the Dataset
|
| 13 |
+
Card and generated manifest.
|
| 14 |
+
|
| 15 |
+
Until the redistribution status of every source is documented, the Hugging
|
| 16 |
+
Face Dataset Card intentionally uses `license: other`.
|
| 17 |
+
|
LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
MIT License
|
| 2 |
+
|
| 3 |
+
Copyright (c) 2026 QuantInvBench contributors
|
| 4 |
+
|
| 5 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 6 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 7 |
+
in the Software without restriction, including without limitation the rights
|
| 8 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 9 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 10 |
+
furnished to do so, subject to the following conditions:
|
| 11 |
+
|
| 12 |
+
The above copyright notice and this permission notice shall be included in all
|
| 13 |
+
copies or substantial portions of the Software.
|
| 14 |
+
|
| 15 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 16 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 17 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 18 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 19 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 20 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
| 21 |
+
SOFTWARE.
|
| 22 |
+
|
README.md
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: other
|
| 3 |
+
task_categories:
|
| 4 |
+
- time-series-forecasting
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- finance
|
| 9 |
+
- cryptocurrency
|
| 10 |
+
- portfolio-allocation
|
| 11 |
+
- multi-agent
|
| 12 |
+
configs:
|
| 13 |
+
- config_name: default
|
| 14 |
+
data_files:
|
| 15 |
+
- split: train
|
| 16 |
+
path: data/train.jsonl
|
| 17 |
+
- split: validation
|
| 18 |
+
path: data/validation.jsonl
|
| 19 |
+
- split: test
|
| 20 |
+
path: data/test.jsonl
|
| 21 |
+
---
|
| 22 |
+
|
| 23 |
+
# QuantInvBench
|
| 24 |
+
|
| 25 |
+
QuantInvBench is a chronological benchmark for aggregating nine cryptocurrency
|
| 26 |
+
portfolio strategies. At each weekly decision point, a system receives nine
|
| 27 |
+
portfolio proposals over BTC, ETH, USDT, XRP, and BNB and returns one final
|
| 28 |
+
long-only weight vector.
|
| 29 |
+
|
| 30 |
+
## Dataset Structure
|
| 31 |
+
|
| 32 |
+
Each record contains:
|
| 33 |
+
|
| 34 |
+
- `id`: stable sample identifier;
|
| 35 |
+
- `split`: chronological split name;
|
| 36 |
+
- `as_of`: latest timestamp that strategies may observe;
|
| 37 |
+
- `execution_at`: portfolio execution timestamp;
|
| 38 |
+
- `assets`: fixed asset order;
|
| 39 |
+
- `strategy_proposals`: nine named five-weight proposals;
|
| 40 |
+
- `next_7d_returns`: open-to-open asset returns over the following seven days.
|
| 41 |
+
|
| 42 |
+
There is no single gold portfolio. Use `next_7d_returns` and the included
|
| 43 |
+
evaluator to measure cumulative return, annualized Sharpe ratio, maximum
|
| 44 |
+
drawdown, and turnover. The public test labels support reproducible research;
|
| 45 |
+
they are not suitable for a hidden leaderboard.
|
| 46 |
+
|
| 47 |
+
## Load
|
| 48 |
+
|
| 49 |
+
```python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
|
| 52 |
+
dataset = load_dataset("YOUR_ORG/quantinvbench")
|
| 53 |
+
print(dataset)
|
| 54 |
+
print(dataset["test"][0])
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## Reproduce
|
| 58 |
+
|
| 59 |
+
Run these commands from the original Crypto-MAD project root:
|
| 60 |
+
|
| 61 |
+
```bash
|
| 62 |
+
conda env create -f QuantInv/hf_release/environment.yml
|
| 63 |
+
conda activate quantinv-hf
|
| 64 |
+
python QuantInv/hf_release/scripts/compute_sentiment.py
|
| 65 |
+
python QuantInv/hf_release/scripts/generate.py
|
| 66 |
+
python QuantInv/hf_release/scripts/validate.py --source-data-dir data
|
| 67 |
+
python QuantInv/hf_release/scripts/evaluate.py --baseline equal_weight
|
| 68 |
+
python QuantInv/hf_release/scripts/evaluate.py --baseline simple_avg
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
If the model has already been downloaded, rerun the first command with
|
| 72 |
+
`--local-files-only` to prevent another network lookup:
|
| 73 |
+
|
| 74 |
+
```bash
|
| 75 |
+
python QuantInv/hf_release/scripts/compute_sentiment.py --local-files-only
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
The generator uses only data strictly earlier than `execution_at` for strategy
|
| 79 |
+
inputs. The realized return starts at the execution-day open and ends at the
|
| 80 |
+
open seven calendar days later.
|
| 81 |
+
|
| 82 |
+
## Submission Format
|
| 83 |
+
|
| 84 |
+
To evaluate a method, write one JSON object per line:
|
| 85 |
+
|
| 86 |
+
```json
|
| 87 |
+
{"id": "quantinv_test_0000_20250316", "weights": [0.2, 0.2, 0.2, 0.2, 0.2]}
|
| 88 |
+
```
|
| 89 |
+
|
| 90 |
+
Then run:
|
| 91 |
+
|
| 92 |
+
```bash
|
| 93 |
+
python scripts/evaluate.py --predictions predictions.jsonl
|
| 94 |
+
```
|
| 95 |
+
|
| 96 |
+
## Splits
|
| 97 |
+
|
| 98 |
+
Splits are chronological. Training ends on 2024-03-15, validation covers the
|
| 99 |
+
following year, and test begins on 2025-03-16. The final usable sample must
|
| 100 |
+
have a complete seven-day forward return, so it can precede the raw data's
|
| 101 |
+
last date. Exact counts and SHA-256 values are stored in `data/manifest.json`.
|
| 102 |
+
|
| 103 |
+
## Sources and Limitations
|
| 104 |
+
|
| 105 |
+
BTC, ETH, XRP, and BNB hourly OHLCV data are identified as Binance data in the
|
| 106 |
+
source project. The current USDT series is synthetic and serves as a cash-like
|
| 107 |
+
asset; it must not be interpreted as observed Binance market data.
|
| 108 |
+
|
| 109 |
+
The news proposal uses derived FinBERT scores from English-language GDELT news
|
| 110 |
+
records. Article text, titles, URLs, and publisher content are not included in
|
| 111 |
+
this dataset.
|
| 112 |
+
|
| 113 |
+
The benchmark has survivorship bias, covers only five assets, uses a fixed
|
| 114 |
+
0.1% transaction-cost model, and does not model slippage or market impact.
|
| 115 |
+
It is a research benchmark and not investment advice.
|
| 116 |
+
|
| 117 |
+
## License
|
| 118 |
+
|
| 119 |
+
The release scripts are MIT licensed. Source data and derived dataset records
|
| 120 |
+
remain subject to their source providers' terms; see `DATA_LICENSE.md`.
|
data/manifest.json
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"dataset": "QuantInvBench",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"generated_at": "2026-08-20T06:20:34.246262+00:00",
|
| 5 |
+
"assets": [
|
| 6 |
+
"BTC",
|
| 7 |
+
"ETH",
|
| 8 |
+
"USDT",
|
| 9 |
+
"XRP",
|
| 10 |
+
"BNB"
|
| 11 |
+
],
|
| 12 |
+
"strategies": [
|
| 13 |
+
"Momentum",
|
| 14 |
+
"MaxSharpe",
|
| 15 |
+
"TSMom14",
|
| 16 |
+
"TSMom60",
|
| 17 |
+
"RiskParity",
|
| 18 |
+
"NewsSentiment",
|
| 19 |
+
"Size",
|
| 20 |
+
"ValueNVT",
|
| 21 |
+
"Liquidity"
|
| 22 |
+
],
|
| 23 |
+
"rebalance_days": 7,
|
| 24 |
+
"transaction_cost": 0.001,
|
| 25 |
+
"splits": {
|
| 26 |
+
"train": 298,
|
| 27 |
+
"validation": 53,
|
| 28 |
+
"test": 52
|
| 29 |
+
},
|
| 30 |
+
"data_sha256": {
|
| 31 |
+
"train.jsonl": "c50cc31524e1cecfa53193a2117d7fdf0f2e52be198a68cf743b3bdd1420cde5",
|
| 32 |
+
"validation.jsonl": "c97ce46d06d907146709787ccd74fc864e38c4645d6875a6eb140017565e5f68",
|
| 33 |
+
"test.jsonl": "aafcc5aea0f2f6d1108e7f9f617f91722b1d4ee53cf6f4a379dd9dd6302a19f7"
|
| 34 |
+
},
|
| 35 |
+
"source_sha256": {
|
| 36 |
+
"bitcoin_prices_1h.csv": "408cc935b616c98f4acf1afeb86da87d1da65772294793e227dabace589d2637",
|
| 37 |
+
"ethereum_prices_1h.csv": "e0392097495f62be62bbc8eb1cb2f076b1f432cfe83c71246baca2133cdeb1c0",
|
| 38 |
+
"tether_prices_1h.csv": "1e12d113e57fbbc67a6c234875c6606c1c44763aa560e6b7c6741c10145500e0",
|
| 39 |
+
"xrp_prices_1h.csv": "2132cd2d59f4de6a439eaaad0a86df24740c41c6e30849553c170f3c9e365a07",
|
| 40 |
+
"bnb_prices_1h.csv": "d9afa2b17248b27d1db7a5646c59f2c71e78484d1e2368c0bade2935faacb52a",
|
| 41 |
+
"crypto_news_sentiment.json": "df80650a2190e7e496caa38aa84e4a321b027b0f621a90ea5135965bbab5b789"
|
| 42 |
+
},
|
| 43 |
+
"notes": {
|
| 44 |
+
"USDT": "synthetic cash-like series in the current source data"
|
| 45 |
+
}
|
| 46 |
+
}
|
data/test.jsonl
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "quantinv_test_0000_20250316", "split": "test", "as_of": "2025-03-15T23:59:59.999999Z", "execution_at": "2025-03-16T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1985255928, 0.0, 0.0426276826, 0.468928926, 0.2899177986]}, {"strategy": "MaxSharpe", "weights": [0.5675885857, 0.0, 0.0, 0.2482976062, 0.1841138081]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.455e-07, 2.285e-07, 0.9999989536, 1.441e-07, 3.283e-07]}, {"strategy": "NewsSentiment", "weights": [0.2985290053, 0.2261909363, 0.1495244461, 0.1968054781, 0.1289501342]}, {"strategy": "Size", "weights": [0.0500037807, 0.0914752389, 0.0061769878, 0.1930329672, 0.6593110254]}, {"strategy": "ValueNVT", "weights": [0.0, 1.2e-08, 0.9955665435, 0.0044334231, 2.14e-08]}, {"strategy": "Liquidity", "weights": [1.191e-07, 4.35e-08, 0.999999812, 1.69e-08, 8.5e-09]}], "next_7d_returns": [-0.0059030022, 0.0224553217, 0.0, -0.0083225294, 0.011600142]}
|
| 2 |
+
{"id": "quantinv_test_0001_20250323", "split": "test", "as_of": "2025-03-22T23:59:59.999999Z", "execution_at": "2025-03-23T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0914350214, 0.2056360869, 0.2483692703, 0.187610772, 0.2669488494]}, {"strategy": "MaxSharpe", "weights": [0.5513391532, 0.0, 0.0, 0.2369226735, 0.2117381733]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.483e-07, 2.358e-07, 0.9999989474, 1.521e-07, 3.164e-07]}, {"strategy": "NewsSentiment", "weights": [0.2417707281, 0.2229266973, 0.1138752457, 0.2742846261, 0.1471427028]}, {"strategy": "Size", "weights": [0.0495434705, 0.0950966453, 0.0061038876, 0.198218745, 0.6510372516]}, {"strategy": "ValueNVT", "weights": [0.0, 1.26e-08, 0.9955665417, 0.0044334231, 2.26e-08]}, {"strategy": "Liquidity", "weights": [1.036e-07, 3.86e-08, 0.9999998342, 1.58e-08, 7.8e-09]}], "next_7d_returns": [-0.0142181728, -0.0770391987, 0.0, -0.0995276653, -0.0382928502]}
|
| 3 |
+
{"id": "quantinv_test_0002_20250330", "split": "test", "as_of": "2025-03-29T23:59:59.999999Z", "execution_at": "2025-03-30T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5605667089, 0.0, 0.0, 0.2524602438, 0.1869730473]}, {"strategy": "TSMom14", "weights": [0.0898202931, 0.0, 0.0, 0.0, 0.9101797069]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.497e-07, 2.331e-07, 0.9999989527, 1.511e-07, 3.134e-07]}, {"strategy": "NewsSentiment", "weights": [0.2417707281, 0.2229266973, 0.1138752457, 0.2742846261, 0.1471427028]}, {"strategy": "Size", "weights": [0.0541613181, 0.1107219487, 0.005787432, 0.2142165035, 0.6151127977]}, {"strategy": "ValueNVT", "weights": [0.0, 9.4e-09, 0.9962364979, 0.0037634718, 2.09e-08]}, {"strategy": "Liquidity", "weights": [9.11e-08, 3.6e-08, 0.9999998506, 1.42e-08, 8.1e-09]}], "next_7d_returns": [0.0107619579, -0.0120727098, 0.0, 0.0042618958, -0.0163681592]}
|
| 4 |
+
{"id": "quantinv_test_0003_20250406", "split": "test", "as_of": "2025-04-05T23:59:59.999999Z", "execution_at": "2025-04-06T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0907720285, 0.0252748001, 0.8839531714, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5707451614, 0.0, 0.0, 0.2498266533, 0.1794281853]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.539e-07, 2.385e-07, 0.9999989319, 1.54e-07, 3.217e-07]}, {"strategy": "NewsSentiment", "weights": [0.119163677, 0.1407792396, 0.2164489223, 0.266720108, 0.2568880531]}, {"strategy": "Size", "weights": [0.0604816256, 0.1252984081, 0.0049830747, 0.2515001701, 0.5577367215]}, {"strategy": "ValueNVT", "weights": [0.0, 9.2e-09, 0.996471455, 0.0035285158, 2e-08]}, {"strategy": "Liquidity", "weights": [9.6e-08, 3.64e-08, 0.9999998433, 1.52e-08, 9.1e-09]}], "next_7d_returns": [0.0208159186, -0.0896058737, 0.0, 0.0071818309, 0.0070304992]}
|
| 5 |
+
{"id": "quantinv_test_0004_20250413", "split": "test", "as_of": "2025-04-12T23:59:59.999999Z", "execution_at": "2025-04-13T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.3080252944, 0.0, 0.169008286, 0.2561596068, 0.2668068128]}, {"strategy": "MaxSharpe", "weights": [0.6112793123, 0.0, 0.0, 0.2083771076, 0.1803435801]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.107e-07, 2.038e-07, 0.9999990118, 1.462e-07, 3.275e-07]}, {"strategy": "NewsSentiment", "weights": [0.119163677, 0.1407792396, 0.2164489223, 0.266720108, 0.2568880531]}, {"strategy": "Size", "weights": [0.0567570805, 0.1168220241, 0.004949739, 0.246859487, 0.5746116694]}, {"strategy": "ValueNVT", "weights": [0.0, 9.4e-09, 0.9965005986, 0.0034993733, 1.87e-08]}, {"strategy": "Liquidity", "weights": [9.01e-08, 3.16e-08, 0.999999856, 1.31e-08, 9.2e-09]}], "next_7d_returns": [-0.0023442454, -0.0188116945, 0.0, -0.0333379636, -0.0093085552]}
|
| 6 |
+
{"id": "quantinv_test_0005_20250420", "split": "test", "as_of": "2025-04-19T23:59:59.999999Z", "execution_at": "2025-04-20T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0426376963, 0.0, 0.8940368625, 0.0, 0.0633254412]}, {"strategy": "MaxSharpe", "weights": [0.5614913126, 0.0, 0.0, 0.2307345004, 0.207774187]}, {"strategy": "TSMom14", "weights": [1.0, 0.0, 0.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.105e-07, 2.049e-07, 0.9999989753, 1.468e-07, 3.625e-07]}, {"strategy": "NewsSentiment", "weights": [0.1205984345, 0.1501556682, 0.2663533887, 0.1938269242, 0.2690655844]}, {"strategy": "Size", "weights": [0.0500367675, 0.101316803, 0.0042707144, 0.2437603289, 0.6006153862]}, {"strategy": "ValueNVT", "weights": [0.0, 1.17e-08, 0.9969556608, 0.0030443119, 1.56e-08]}, {"strategy": "Liquidity", "weights": [1.04e-07, 3.52e-08, 0.9999998357, 1.48e-08, 1.03e-08]}], "next_7d_returns": [0.1122630088, 0.1286897338, 0.0, 0.0495760885, 0.0261770372]}
|
| 7 |
+
{"id": "quantinv_test_0006_20250427", "split": "test", "as_of": "2025-04-26T23:59:59.999999Z", "execution_at": "2025-04-27T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.3713459863, 0.4063590281, 0.0, 0.1780764225, 0.0442185631]}, {"strategy": "MaxSharpe", "weights": [0.6677811341, 0.0, 0.0, 0.2053401029, 0.126878763]}, {"strategy": "TSMom14", "weights": [0.3549394383, 0.3661808907, 0.0, 0.2125737823, 0.0663058887]}, {"strategy": "TSMom60", "weights": [1.0, 0.0, 0.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.05e-07, 2.043e-07, 0.9999989552, 1.516e-07, 3.839e-07]}, {"strategy": "NewsSentiment", "weights": [0.1205984345, 0.1501556682, 0.2663533887, 0.1938269242, 0.2690655844]}, {"strategy": "Size", "weights": [0.0432448446, 0.0869775145, 0.004025487, 0.2231803991, 0.6425717548]}, {"strategy": "ValueNVT", "weights": [0.0, 1.34e-08, 0.9963914524, 0.0036085204, 1.38e-08]}, {"strategy": "Liquidity", "weights": [1.134e-07, 3.43e-08, 0.9999998264, 1.58e-08, 1.01e-08]}], "next_7d_returns": [0.0129815699, 0.0069472285, 0.0, -0.0018254838, -0.0129604927]}
|
| 8 |
+
{"id": "quantinv_test_0007_20250504", "split": "test", "as_of": "2025-05-03T23:59:59.999999Z", "execution_at": "2025-05-04T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1658076946, 0.1411554234, 0.693036882, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7139229795, 0.0, 0.0, 0.2233580851, 0.0627189354]}, {"strategy": "TSMom14", "weights": [0.3711990752, 0.401017396, 0.0, 0.1869547781, 0.0408287507]}, {"strategy": "TSMom60", "weights": [0.7360927237, 0.0, 0.0, 0.0, 0.2639072763]}, {"strategy": "RiskParity", "weights": [3.657e-07, 2.437e-07, 0.9999987194, 2.362e-07, 4.35e-07]}, {"strategy": "NewsSentiment", "weights": [0.1065178852, 0.1603227198, 0.2546405111, 0.2108111148, 0.2677077691]}, {"strategy": "Size", "weights": [0.0380080164, 0.0763427747, 0.0034214001, 0.2117169306, 0.6705108782]}, {"strategy": "ValueNVT", "weights": [0.0, 1.29e-08, 0.9969556631, 0.0030443119, 1.21e-08]}, {"strategy": "Liquidity", "weights": [1.252e-07, 4.15e-08, 0.9999998064, 1.58e-08, 1.11e-08]}], "next_7d_returns": [0.0934012558, 0.4088856407, 0.0, 0.1298006584, 0.107681527]}
|
| 9 |
+
{"id": "quantinv_test_0008_20250511", "split": "test", "as_of": "2025-05-10T23:59:59.999999Z", "execution_at": "2025-05-11T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.184398567, 0.3858643858, 0.0, 0.1753011252, 0.254435922]}, {"strategy": "MaxSharpe", "weights": [0.6583773048, 0.0, 0.0, 0.2249659204, 0.1166567748]}, {"strategy": "TSMom14", "weights": [0.1579288293, 0.5110946185, 0.0, 0.1345505931, 0.1964259591]}, {"strategy": "TSMom60", "weights": [0.3094203493, 0.2622801193, 0.0, 0.1693889949, 0.2589105365]}, {"strategy": "RiskParity", "weights": [3.819e-07, 2.101e-07, 0.999998715, 2.488e-07, 4.442e-07]}, {"strategy": "NewsSentiment", "weights": [0.1065178852, 0.1603227198, 0.2546405111, 0.2108111148, 0.2677077691]}, {"strategy": "Size", "weights": [0.0419986566, 0.0719411966, 0.0032200835, 0.2538445728, 0.6289954905]}, {"strategy": "ValueNVT", "weights": [0.0, 1.2e-08, 0.9973222693, 0.0026777065, 1.22e-08]}, {"strategy": "Liquidity", "weights": [1.322e-07, 4.55e-08, 0.9999997951, 1.62e-08, 1.1e-08]}], "next_7d_returns": [-0.0160565552, -0.0418586106, 0.0, -0.0477520133, -0.036752523]}
|
| 10 |
+
{"id": "quantinv_test_0009_20250518", "split": "test", "as_of": "2025-05-17T23:59:59.999999Z", "execution_at": "2025-05-18T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0448084769, 0.9285829604, 0.0266085627, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6907717799, 0.0, 0.0, 0.2264002892, 0.0828279309]}, {"strategy": "TSMom14", "weights": [0.1230017716, 0.5994504438, 0.0, 0.1391507273, 0.1383970573]}, {"strategy": "TSMom60", "weights": [0.3967763812, 0.5246859385, 0.0, 0.0335953652, 0.0449423151]}, {"strategy": "RiskParity", "weights": [4.062e-07, 2.003e-07, 0.9999986411, 2.431e-07, 5.093e-07]}, {"strategy": "NewsSentiment", "weights": [0.0965302091, 0.1694931143, 0.2324651641, 0.2418942709, 0.2596172416]}, {"strategy": "Size", "weights": [0.0506461061, 0.0690990503, 0.0038862835, 0.2588457453, 0.6175228148]}, {"strategy": "ValueNVT", "weights": [0.0, 1.13e-08, 0.9973821561, 0.0026178186, 1.4e-08]}, {"strategy": "Liquidity", "weights": [1.601e-07, 5.26e-08, 0.9999997573, 1.66e-08, 1.34e-08]}], "next_7d_returns": [0.0449471596, 0.0223507024, 0.0, -0.0096468488, 0.0445660672]}
|
| 11 |
+
{"id": "quantinv_test_0010_20250525", "split": "test", "as_of": "2025-05-24T23:59:59.999999Z", "execution_at": "2025-05-25T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0405599505, 0.0574078437, 0.8602325893, 0.0, 0.0417996165]}, {"strategy": "MaxSharpe", "weights": [0.743816257, 0.0, 0.0, 0.246549596, 0.009634147]}, {"strategy": "TSMom14", "weights": [0.3567957567, 0.6432042433, 0.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.4761234783, 0.4521167357, 0.0, 0.0, 0.071759786]}, {"strategy": "RiskParity", "weights": [4.106e-07, 2.007e-07, 0.9999986484, 2.584e-07, 4.819e-07]}, {"strategy": "NewsSentiment", "weights": [0.0965302091, 0.1694931143, 0.2324651641, 0.2418942709, 0.2596172416]}, {"strategy": "Size", "weights": [0.0477848843, 0.0634076753, 0.0042257167, 0.2750122995, 0.6095694242]}, {"strategy": "ValueNVT", "weights": [0.0, 1.24e-08, 0.9974419576, 0.0025580158, 1.42e-08]}, {"strategy": "Liquidity", "weights": [1.638e-07, 6.79e-08, 0.9999997411, 1.5e-08, 1.22e-08]}], "next_7d_returns": [-0.0294168904, -0.0009287033, 0.0, -0.0671558531, -0.0149550898]}
|
| 12 |
+
{"id": "quantinv_test_0011_20250601", "split": "test", "as_of": "2025-05-31T23:59:59.999999Z", "execution_at": "2025-06-01T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7074713072, 0.0, 0.0, 0.2649264343, 0.0276022585]}, {"strategy": "TSMom14", "weights": [0.2757135003, 0.0, 0.0, 0.0, 0.7242864997]}, {"strategy": "TSMom60", "weights": [0.3480549467, 0.4954128946, 0.0, 0.0355061573, 0.1210260014]}, {"strategy": "RiskParity", "weights": [4.153e-07, 2.029e-07, 0.9999986242, 2.635e-07, 4.941e-07]}, {"strategy": "NewsSentiment", "weights": [0.1335347652, 0.2702706606, 0.2682865962, 0.1376602846, 0.1902476934]}, {"strategy": "Size", "weights": [0.048033945, 0.0595117883, 0.0043349338, 0.2945599516, 0.5935593813]}, {"strategy": "ValueNVT", "weights": [0.0, 1.25e-08, 0.9975893683, 0.0024106052, 1.4e-08]}, {"strategy": "Liquidity", "weights": [1.622e-07, 7.33e-08, 0.9999997382, 1.46e-08, 1.17e-08]}], "next_7d_returns": [0.0091811143, -0.001352816, 0.0, 0.001334008, -0.0109268856]}
|
| 13 |
+
{"id": "quantinv_test_0012_20250608", "split": "test", "as_of": "2025-06-07T23:59:59.999999Z", "execution_at": "2025-06-08T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7207743553, 0.0, 0.0, 0.2792256447, 0.0]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.2706510353, 0.4580136102, 0.0, 0.1265619929, 0.1447733616]}, {"strategy": "RiskParity", "weights": [4.447e-07, 2.154e-07, 0.999998526, 2.833e-07, 5.306e-07]}, {"strategy": "NewsSentiment", "weights": [0.1335347652, 0.2702706606, 0.2682865962, 0.1376602846, 0.1902476934]}, {"strategy": "Size", "weights": [0.0482994331, 0.0564993033, 0.0042433639, 0.2954663456, 0.5954915541]}, {"strategy": "ValueNVT", "weights": [0.0, 1.25e-08, 0.9977790927, 0.0022208816, 1.32e-08]}, {"strategy": "Liquidity", "weights": [1.66e-07, 7.62e-08, 0.9999997326, 1.4e-08, 1.12e-08]}], "next_7d_returns": [-0.0013028631, 0.002428069, 0.0, -0.0172271224, -0.0080052856]}
|
| 14 |
+
{"id": "quantinv_test_0013_20250615", "split": "test", "as_of": "2025-06-14T23:59:59.999999Z", "execution_at": "2025-06-15T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0157259042, 0.1372838744, 0.8213056876, 0.0, 0.0256845338]}, {"strategy": "MaxSharpe", "weights": [0.7082820542, 0.0, 0.0, 0.2764720226, 0.0152459232]}, {"strategy": "TSMom14", "weights": [0.4708641172, 0.4448855217, 0.0, 0.0842503611, 0.0]}, {"strategy": "TSMom60", "weights": [0.2784299038, 0.5694795316, 0.0, 0.0113431707, 0.1407473939]}, {"strategy": "RiskParity", "weights": [5.324e-07, 2.361e-07, 0.9999983167, 3.513e-07, 5.635e-07]}, {"strategy": "NewsSentiment", "weights": [0.0899993343, 0.2497504709, 0.2549092099, 0.1886088461, 0.2167321388]}, {"strategy": "Size", "weights": [0.0396450006, 0.0479264447, 0.0032971341, 0.3044820219, 0.6046493987]}, {"strategy": "ValueNVT", "weights": [0.0, 9.9e-09, 0.9980392027, 0.0019607765, 1.09e-08]}, {"strategy": "Liquidity", "weights": [1.463e-07, 7.48e-08, 0.9999997558, 1.35e-08, 9.6e-09]}], "next_7d_returns": [-0.0312538212, -0.0928768715, 0.0, -0.0355723835, -0.0257585849]}
|
| 15 |
+
{"id": "quantinv_test_0014_20250622", "split": "test", "as_of": "2025-06-21T23:59:59.999999Z", "execution_at": "2025-06-22T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7183279276, 0.0, 0.0, 0.2816720724, 0.0]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.2457988688, 0.624181857, 0.0, 0.0239753139, 0.1060439603]}, {"strategy": "RiskParity", "weights": [5.31e-07, 2.336e-07, 0.9999983304, 3.432e-07, 5.618e-07]}, {"strategy": "NewsSentiment", "weights": [0.1043249509, 0.2738953502, 0.251789339, 0.1737404628, 0.1962498971]}, {"strategy": "Size", "weights": [0.0411864812, 0.0459910904, 0.0028525986, 0.2928065297, 0.6171633001]}, {"strategy": "ValueNVT", "weights": [0.0, 8.5e-09, 0.9981520332, 0.0018479483, 1e-08]}, {"strategy": "Liquidity", "weights": [1.421e-07, 6.88e-08, 0.9999997672, 1.21e-08, 9.8e-09]}], "next_7d_returns": [0.0506929983, 0.0609394874, 0.0, 0.0592768515, 0.0312092594]}
|
| 16 |
+
{"id": "quantinv_test_0015_20250629", "split": "test", "as_of": "2025-06-28T23:59:59.999999Z", "execution_at": "2025-06-29T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2353328869, 0.3319675085, 0.0, 0.2410549922, 0.1916446124]}, {"strategy": "MaxSharpe", "weights": [0.6916203682, 0.0, 0.0, 0.3083796318, 0.0]}, {"strategy": "TSMom14", "weights": [1.0, 0.0, 0.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.2485714085, 0.6196769702, 0.0, 0.0, 0.1317516213]}, {"strategy": "RiskParity", "weights": [5.629e-07, 2.358e-07, 0.9999983143, 3.34e-07, 5.53e-07]}, {"strategy": "NewsSentiment", "weights": [0.1043249509, 0.2738953502, 0.251789339, 0.1737404628, 0.1962498971]}, {"strategy": "Size", "weights": [0.0399507751, 0.044367676, 0.0026067049, 0.2550732141, 0.6580016299]}, {"strategy": "ValueNVT", "weights": [0.0, 8.4e-09, 0.997956206, 0.0020437763, 9.3e-09]}, {"strategy": "Liquidity", "weights": [1.413e-07, 6.34e-08, 0.9999997749, 1.13e-08, 9.1e-09]}], "next_7d_returns": [0.0084003445, 0.0331743047, 0.0, 0.0147334706, 0.0116556945]}
|
| 17 |
+
{"id": "quantinv_test_0016_20250706", "split": "test", "as_of": "2025-07-05T23:59:59.999999Z", "execution_at": "2025-07-06T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.015898088, 0.9517045873, 0.0323973247, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.666793079, 0.0, 0.0, 0.333206921, 0.0]}, {"strategy": "TSMom14", "weights": [0.2942790694, 0.274147042, 0.0, 0.3087691271, 0.1228047615]}, {"strategy": "TSMom60", "weights": [0.2248012449, 0.5504487755, 0.0, 0.0709674323, 0.1537825473]}, {"strategy": "RiskParity", "weights": [5.567e-07, 2.291e-07, 0.9999983307, 3.308e-07, 5.527e-07]}, {"strategy": "NewsSentiment", "weights": [0.1043249509, 0.2738953502, 0.251789339, 0.1737404628, 0.1962498971]}, {"strategy": "Size", "weights": [0.0386456648, 0.0422121895, 0.002344477, 0.2336567424, 0.6831409263]}, {"strategy": "ValueNVT", "weights": [0.0, 8.2e-09, 0.9978719568, 0.0021280275, 7.5e-09]}, {"strategy": "Liquidity", "weights": [1.24e-07, 5.49e-08, 0.9999998015, 1.18e-08, 7.8e-09]}], "next_7d_returns": [0.0852314255, 0.1696338449, 0.0, 0.2352888127, 0.0452474206]}
|
| 18 |
+
{"id": "quantinv_test_0017_20250713", "split": "test", "as_of": "2025-07-12T23:59:59.999999Z", "execution_at": "2025-07-13T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1846613049, 0.3238629333, 0.0, 0.3900607858, 0.101414976]}, {"strategy": "MaxSharpe", "weights": [0.6209938592, 0.0, 0.0, 0.3698272896, 0.0091788512]}, {"strategy": "TSMom14", "weights": [0.1549933439, 0.3310736004, 0.0, 0.4039169477, 0.110016108]}, {"strategy": "TSMom60", "weights": [0.319147188, 0.4052164214, 0.0, 0.1701021146, 0.105534276]}, {"strategy": "RiskParity", "weights": [5.964e-07, 3.102e-07, 0.9999980953, 3.591e-07, 6.39e-07]}, {"strategy": "NewsSentiment", "weights": [0.1043249509, 0.2738953502, 0.251789339, 0.1737404628, 0.1962498971]}, {"strategy": "Size", "weights": [0.0410602794, 0.0466004359, 0.002536325, 0.1815990602, 0.7282038995]}, {"strategy": "ValueNVT", "weights": [0.0, 7.8e-09, 0.9975886699, 0.0024113153, 7e-09]}, {"strategy": "Liquidity", "weights": [1.337e-07, 5.64e-08, 0.9999997881, 1.33e-08, 8.5e-09]}], "next_7d_returns": [0.0035769886, 0.2204030184, 0.0, 0.2499726227, 0.0690228326]}
|
| 19 |
+
{"id": "quantinv_test_0018_20250720", "split": "test", "as_of": "2025-07-19T23:59:59.999999Z", "execution_at": "2025-07-20T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.4190204668, 0.0, 0.4311541567, 0.1498253765]}, {"strategy": "MaxSharpe", "weights": [0.3998403216, 0.0, 0.0, 0.5222209975, 0.0779386809]}, {"strategy": "TSMom14", "weights": [0.0903094775, 0.3554228935, 0.0, 0.4410097653, 0.1132578637]}, {"strategy": "TSMom60", "weights": [0.1194378484, 0.3655270888, 0.0, 0.3892177245, 0.1258173383]}, {"strategy": "RiskParity", "weights": [6.054e-07, 3.107e-07, 0.9999981448, 3.047e-07, 6.344e-07]}, {"strategy": "NewsSentiment", "weights": [0.0827711129, 0.2468378861, 0.2392155469, 0.2111275212, 0.2200479329]}, {"strategy": "Size", "weights": [0.0498074758, 0.051360552, 0.0034233274, 0.1433828092, 0.7520258356]}, {"strategy": "ValueNVT", "weights": [0.0, 8.1e-09, 0.9972384603, 0.0027615237, 7.9e-09]}, {"strategy": "Liquidity", "weights": [1.355e-07, 5.44e-08, 0.9999997869, 1.47e-08, 8.5e-09]}], "next_7d_returns": [0.0006787168, 0.0415116927, 0.0, -0.0753730689, 0.081969449]}
|
| 20 |
+
{"id": "quantinv_test_0019_20250727", "split": "test", "as_of": "2025-07-26T23:59:59.999999Z", "execution_at": "2025-07-27T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.014888239, 0.0, 0.7982526745, 0.0, 0.1868590865]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.0, 0.0, 0.6775886087, 0.3224113913]}, {"strategy": "TSMom14", "weights": [0.0014723178, 0.4604218411, 0.0, 0.2792392478, 0.2588665933]}, {"strategy": "TSMom60", "weights": [0.0795778749, 0.4124592915, 0.0, 0.3395279881, 0.1684348455]}, {"strategy": "RiskParity", "weights": [6.483e-07, 3.147e-07, 0.9999980803, 2.871e-07, 6.696e-07]}, {"strategy": "NewsSentiment", "weights": [0.0881224896, 0.2009771021, 0.2617351178, 0.2093735977, 0.2397916928]}, {"strategy": "Size", "weights": [0.0628569751, 0.0557916291, 0.0044820719, 0.1490358305, 0.7278334934]}, {"strategy": "ValueNVT", "weights": [0.0, 8.2e-09, 0.9969591106, 0.0030408733, 7.9e-09]}, {"strategy": "Liquidity", "weights": [1.538e-07, 6.93e-08, 0.9999997474, 2.01e-08, 9.4e-09]}], "next_7d_returns": [-0.045570221, -0.0927986614, 0.0, -0.1252921483, -0.071687886]}
|
| 21 |
+
{"id": "quantinv_test_0020_20250803", "split": "test", "as_of": "2025-08-02T23:59:59.999999Z", "execution_at": "2025-08-03T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.0, 0.0, 0.5862369934, 0.4137630066]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.0864116469, 0.370249356, 0.0, 0.3801337764, 0.1632052207]}, {"strategy": "RiskParity", "weights": [6.448e-07, 3.08e-07, 0.9999981931, 2.87e-07, 5.671e-07]}, {"strategy": "NewsSentiment", "weights": [0.147643392, 0.1919286139, 0.2773503328, 0.1242061434, 0.2588715179]}, {"strategy": "Size", "weights": [0.0747382944, 0.0636174254, 0.0057974271, 0.1761785767, 0.6796682764]}, {"strategy": "ValueNVT", "weights": [0.0, 7.9e-09, 0.9969312323, 0.0030687456, 1.42e-08]}, {"strategy": "Liquidity", "weights": [1.746e-07, 8.16e-08, 0.9999997093, 2.37e-08, 1.08e-08]}], "next_7d_returns": [0.034793665, 0.2553639723, 0.0, 0.1647950894, 0.0847331043]}
|
| 22 |
+
{"id": "quantinv_test_0021_20250810", "split": "test", "as_of": "2025-08-09T23:59:59.999999Z", "execution_at": "2025-08-10T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0705548278, 0.410061963, 0.0, 0.3394372161, 0.1799459931]}, {"strategy": "MaxSharpe", "weights": [0.0715517609, 0.0, 0.0, 0.5238726392, 0.4045755999]}, {"strategy": "TSMom14", "weights": [0.0, 0.5728125988, 0.0, 0.3477404011, 0.0794470001]}, {"strategy": "TSMom60", "weights": [0.0575146278, 0.409881605, 0.0, 0.3537200914, 0.1788836758]}, {"strategy": "RiskParity", "weights": [7.165e-07, 3.11e-07, 0.9999981439, 2.593e-07, 5.693e-07]}, {"strategy": "NewsSentiment", "weights": [0.147643392, 0.1919286139, 0.2773503328, 0.1242061434, 0.2588715179]}, {"strategy": "Size", "weights": [0.0811761624, 0.0627612125, 0.0061957076, 0.1758161297, 0.6740507878]}, {"strategy": "ValueNVT", "weights": [0.0, 6.7e-09, 0.9969619794, 0.0030379997, 1.42e-08]}, {"strategy": "Liquidity", "weights": [1.882e-07, 8.41e-08, 0.999999694, 2.27e-08, 1.1e-08]}], "next_7d_returns": [0.0078859029, 0.0378746805, 0.0, -0.0372919185, 0.0499230124]}
|
| 23 |
+
{"id": "quantinv_test_0022_20250817", "split": "test", "as_of": "2025-08-16T23:59:59.999999Z", "execution_at": "2025-08-17T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.2186074548, 0.6546040211, 0.0, 0.1267885241]}, {"strategy": "MaxSharpe", "weights": [0.4525719017, 0.0, 0.0, 0.2960157789, 0.2514123194]}, {"strategy": "TSMom14", "weights": [0.0867966425, 0.5967872272, 0.0, 0.0954105253, 0.221005605]}, {"strategy": "TSMom60", "weights": [0.0778235546, 0.4600107644, 0.0, 0.26331394, 0.198851741]}, {"strategy": "RiskParity", "weights": [6.639e-07, 2.961e-07, 0.9999982261, 2.545e-07, 5.594e-07]}, {"strategy": "NewsSentiment", "weights": [0.147643392, 0.1919286139, 0.2773503328, 0.1242061434, 0.2588715179]}, {"strategy": "Size", "weights": [0.0841959891, 0.0579555603, 0.0063418226, 0.2226184774, 0.6288881506]}, {"strategy": "ValueNVT", "weights": [0.0, 6.8e-09, 0.9975303028, 0.0024696762, 1.42e-08]}, {"strategy": "Liquidity", "weights": [1.686e-07, 8.83e-08, 0.9999997094, 2.28e-08, 1.09e-08]}], "next_7d_returns": [-0.0165495747, 0.0805970149, 0.0, -0.0183539413, 0.0497311347]}
|
| 24 |
+
{"id": "quantinv_test_0023_20250824", "split": "test", "as_of": "2025-08-23T23:59:59.999999Z", "execution_at": "2025-08-24T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.3818058892, 0.362039307, 0.0, 0.2561548038]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.0458007685, 0.0, 0.2586144838, 0.6955847477]}, {"strategy": "TSMom14", "weights": [0.0071005405, 0.5923883452, 0.0, 0.0, 0.4005111143]}, {"strategy": "TSMom60", "weights": [0.0699595181, 0.4652936489, 0.0, 0.2368616655, 0.2278851675]}, {"strategy": "RiskParity", "weights": [6.617e-07, 2.69e-07, 0.9999983439, 2.486e-07, 4.768e-07]}, {"strategy": "NewsSentiment", "weights": [0.147643392, 0.1919286139, 0.2773503328, 0.1242061434, 0.2588715179]}, {"strategy": "Size", "weights": [0.0767455626, 0.0507111682, 0.0056782556, 0.2667034319, 0.6001615817]}, {"strategy": "ValueNVT", "weights": [0.0, 6.5e-09, 0.9978959985, 0.0021039826, 1.24e-08]}, {"strategy": "Liquidity", "weights": [1.39e-07, 7.78e-08, 0.9999997564, 1.76e-08, 9.2e-09]}], "next_7d_returns": [-0.0573617575, -0.0846936213, 0.0, -0.075641278, -0.0209218328]}
|
| 25 |
+
{"id": "quantinv_test_0024_20250831", "split": "test", "as_of": "2025-08-30T23:59:59.999999Z", "execution_at": "2025-08-31T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.1342949226, 0.0, 0.2052096321, 0.6604954453]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.0106025654, 0.5217093459, 0.0, 0.2151450465, 0.2525430422]}, {"strategy": "RiskParity", "weights": [6.017e-07, 2.499e-07, 0.9999984672, 2.394e-07, 4.418e-07]}, {"strategy": "NewsSentiment", "weights": [0.128653483, 0.2131725603, 0.2719647045, 0.1320221117, 0.2541871405]}, {"strategy": "Size", "weights": [0.0710201188, 0.0431517942, 0.0052443595, 0.2593097027, 0.6212740248]}, {"strategy": "ValueNVT", "weights": [0.0, 6.6e-09, 0.9978569603, 0.0021430223, 1.08e-08]}, {"strategy": "Liquidity", "weights": [1.255e-07, 7.73e-08, 0.9999997721, 1.6e-08, 9.1e-09]}], "next_7d_returns": [0.0126051853, -0.0229896884, 0.0, -0.0029098652, -0.0013225058]}
|
| 26 |
+
{"id": "quantinv_test_0025_20250907", "split": "test", "as_of": "2025-09-06T23:59:59.999999Z", "execution_at": "2025-09-07T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.111028641, 0.0, 0.8190134086, 0.0699579504, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.163274841, 0.0, 0.2747875271, 0.5619376319]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0215659745, 0.519247911, 0.0, 0.2114612884, 0.2477248261]}, {"strategy": "RiskParity", "weights": [6.199e-07, 2.558e-07, 0.9999984399, 2.399e-07, 4.445e-07]}, {"strategy": "NewsSentiment", "weights": [0.128653483, 0.2131725603, 0.2719647045, 0.1320221117, 0.2541871405]}, {"strategy": "Size", "weights": [0.0666097439, 0.0402713129, 0.0049501813, 0.276837466, 0.6113312959]}, {"strategy": "ValueNVT", "weights": [0.0, 6.3e-09, 0.9981273229, 0.0018726604, 1.04e-08]}, {"strategy": "Liquidity", "weights": [1.411e-07, 1.073e-07, 0.9999997212, 1.94e-08, 1.1e-08]}], "next_7d_returns": [0.0520048557, 0.0920608918, 0.0, 0.1101501886, 0.0845898288]}
|
| 27 |
+
{"id": "quantinv_test_0026_20250914", "split": "test", "as_of": "2025-09-13T23:59:59.999999Z", "execution_at": "2025-09-14T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1689310774, 0.3426228895, 0.0, 0.2942807853, 0.1941652478]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.0655470399, 0.0, 0.1299863779, 0.8044665822]}, {"strategy": "TSMom14", "weights": [0.2183694214, 0.2484852603, 0.0, 0.3091394768, 0.2240058415]}, {"strategy": "TSMom60", "weights": [0.0, 0.566027682, 0.0, 0.0614915242, 0.3724807938]}, {"strategy": "RiskParity", "weights": [6.612e-07, 2.607e-07, 0.9999983827, 2.525e-07, 4.429e-07]}, {"strategy": "NewsSentiment", "weights": [0.1063119755, 0.2408067008, 0.2556565232, 0.1514114056, 0.2458133949]}, {"strategy": "Size", "weights": [0.0659397268, 0.0418946944, 0.0044098651, 0.2967731305, 0.5909825832]}, {"strategy": "ValueNVT", "weights": [0.0, 4.6e-09, 0.9983232248, 0.0016767617, 8.9e-09]}, {"strategy": "Liquidity", "weights": [1.445e-07, 1.127e-07, 0.9999997142, 1.8e-08, 1.06e-08]}], "next_7d_returns": [-0.0020071035, -0.0398860826, 0.0, -0.0462603789, 0.1179097764]}
|
| 28 |
+
{"id": "quantinv_test_0027_20250921", "split": "test", "as_of": "2025-09-20T23:59:59.999999Z", "execution_at": "2025-09-21T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0158044569, 0.0, 0.6830399661, 0.0, 0.301155577]}, {"strategy": "MaxSharpe", "weights": [0.0405676535, 0.0, 0.0, 0.0119368088, 0.9474955377]}, {"strategy": "TSMom14", "weights": [0.152904722, 0.1277561679, 0.0, 0.2103029084, 0.5090362017]}, {"strategy": "TSMom60", "weights": [0.0, 0.4073858439, 0.0, 0.0, 0.5926141561]}, {"strategy": "RiskParity", "weights": [6.642e-07, 2.699e-07, 0.9999983418, 2.892e-07, 4.349e-07]}, {"strategy": "NewsSentiment", "weights": [0.106912401, 0.2415222946, 0.2554306156, 0.1504723106, 0.2456623782]}, {"strategy": "Size", "weights": [0.0716870124, 0.0501395818, 0.0046269936, 0.3220867232, 0.551459689]}, {"strategy": "ValueNVT", "weights": [0.0, 4.3e-09, 0.9983917716, 0.0016082152, 8.9e-09]}, {"strategy": "Liquidity", "weights": [1.507e-07, 1.216e-07, 0.9999996969, 1.88e-08, 1.2e-08]}], "next_7d_returns": [-0.0522949998, -0.103120027, 0.0, -0.0572436975, -0.0721519109]}
|
| 29 |
+
{"id": "quantinv_test_0028_20250928", "split": "test", "as_of": "2025-09-27T23:59:59.999999Z", "execution_at": "2025-09-28T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.1395051378, 0.0, 0.0, 0.8604948622]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.2795995987, 0.0, 0.0, 0.7204004013]}, {"strategy": "RiskParity", "weights": [6.373e-07, 2.594e-07, 0.9999984086, 3.008e-07, 3.939e-07]}, {"strategy": "NewsSentiment", "weights": [0.0836758987, 0.2398537192, 0.2484885225, 0.2056916687, 0.2222901909]}, {"strategy": "Size", "weights": [0.0838652817, 0.0664120714, 0.004962087, 0.3705961333, 0.4741644266]}, {"strategy": "ValueNVT", "weights": [0.0, 3.7e-09, 0.9984646734, 0.0015353123, 1.06e-08]}, {"strategy": "Liquidity", "weights": [1.607e-07, 1.164e-07, 0.9999996891, 1.87e-08, 1.51e-08]}], "next_7d_returns": [0.1163409596, 0.1166561732, 0.0, 0.0584019681, 0.1882266691]}
|
| 30 |
+
{"id": "quantinv_test_0029_20251005", "split": "test", "as_of": "2025-10-04T23:59:59.999999Z", "execution_at": "2025-10-05T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2227137756, 0.222137733, 0.0, 0.1546829193, 0.4004655721]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.0055107205, 0.0, 0.0, 0.9944892795]}, {"strategy": "TSMom14", "weights": [0.2044469891, 0.0363269331, 0.0, 0.0613266146, 0.6978994632]}, {"strategy": "TSMom60", "weights": [0.0876903287, 0.2796050522, 0.0, 0.0, 0.6327046191]}, {"strategy": "RiskParity", "weights": [6.005e-07, 2.68e-07, 0.9999984525, 3.212e-07, 3.578e-07]}, {"strategy": "NewsSentiment", "weights": [0.0857943149, 0.2060316207, 0.2583240268, 0.2131675566, 0.236682481]}, {"strategy": "Size", "weights": [0.0885372767, 0.0772881661, 0.0054717596, 0.4086802536, 0.420022544]}, {"strategy": "ValueNVT", "weights": [0.0, 3.7e-09, 0.9983948288, 0.0016051556, 1.19e-08]}, {"strategy": "Liquidity", "weights": [1.433e-07, 9.96e-08, 0.9999997259, 1.82e-08, 1.3e-08]}], "next_7d_returns": [-0.0959759374, -0.1649952308, 0.0, -0.1976082196, -0.0136258962]}
|
| 31 |
+
{"id": "quantinv_test_0030_20251012", "split": "test", "as_of": "2025-10-11T23:59:59.999999Z", "execution_at": "2025-10-12T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.1596704019, 0.0, 0.0, 0.0, 0.8403295981]}, {"strategy": "TSMom14", "weights": [0.1698428302, 0.0, 0.0, 0.0, 0.8301571698]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "RiskParity", "weights": [5.21e-07, 2.507e-07, 0.9999986455, 2.926e-07, 2.902e-07]}, {"strategy": "NewsSentiment", "weights": [0.0857943149, 0.2060316207, 0.2583240268, 0.2131675566, 0.236682481]}, {"strategy": "Size", "weights": [0.0941602876, 0.0921917932, 0.0075841351, 0.4698490781, 0.336214706]}, {"strategy": "ValueNVT", "weights": [0.0, 3.9e-09, 0.9983505609, 0.0016494204, 1.48e-08]}, {"strategy": "Liquidity", "weights": [1.471e-07, 8.49e-08, 0.9999997354, 1.81e-08, 1.45e-08]}], "next_7d_returns": [-0.0312659294, 0.0380057649, 0.0, -0.0093622738, -0.0375747751]}
|
| 32 |
+
{"id": "quantinv_test_0031_20251019", "split": "test", "as_of": "2025-10-18T23:59:59.999999Z", "execution_at": "2025-10-19T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.2259223267, 0.0, 0.0, 0.7740776733]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "RiskParity", "weights": [5.13e-07, 2.472e-07, 0.9999987116, 2.861e-07, 2.421e-07]}, {"strategy": "NewsSentiment", "weights": [0.1013640534, 0.1709335564, 0.242383534, 0.2742036377, 0.2111152185]}, {"strategy": "Size", "weights": [0.0934071245, 0.0978482433, 0.0089876109, 0.51683611, 0.2829209113]}, {"strategy": "ValueNVT", "weights": [0.0, 4.7e-09, 0.9982565485, 0.0017434276, 1.92e-08]}, {"strategy": "Liquidity", "weights": [1.371e-07, 7.85e-08, 0.9999997528, 1.54e-08, 1.62e-08]}], "next_7d_returns": [0.0416221486, 0.016612671, 0.0, 0.1001017122, 0.022070266]}
|
| 33 |
+
{"id": "quantinv_test_0032_20251026", "split": "test", "as_of": "2025-10-25T23:59:59.999999Z", "execution_at": "2025-10-26T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1082846341, 0.0, 0.6466689189, 0.245046447, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.2605417637, 0.0, 0.0, 0.7394582363]}, {"strategy": "TSMom14", "weights": [0.0, 0.3001612515, 0.0, 0.6354057877, 0.0644329608]}, {"strategy": "TSMom60", "weights": [0.0281707023, 0.0, 0.0, 0.0, 0.9718292977]}, {"strategy": "RiskParity", "weights": [5.426e-07, 3.039e-07, 0.999998599, 3.031e-07, 2.514e-07]}, {"strategy": "NewsSentiment", "weights": [0.1013640534, 0.1709335564, 0.242383534, 0.2742036377, 0.2111152185]}, {"strategy": "Size", "weights": [0.0852713724, 0.0964042749, 0.008878989, 0.5326463003, 0.2767990634]}, {"strategy": "ValueNVT", "weights": [0.0, 4.9e-09, 0.9981378596, 0.0018621164, 1.91e-08]}, {"strategy": "Liquidity", "weights": [1.435e-07, 8.19e-08, 0.9999997435, 1.34e-08, 1.77e-08]}], "next_7d_returns": [-0.0138667418, -0.0202412357, 0.0, -0.0348640111, -0.0196949477]}
|
| 34 |
+
{"id": "quantinv_test_0033_20251102", "split": "test", "as_of": "2025-11-01T23:59:59.999999Z", "execution_at": "2025-11-02T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.2434269155, 0.0, 0.0, 0.7565730845]}, {"strategy": "TSMom14", "weights": [0.2098723194, 0.0305188483, 0.0, 0.6423147439, 0.1172940884]}, {"strategy": "TSMom60", "weights": [0.0132205163, 0.0, 0.0, 0.0, 0.9867794837]}, {"strategy": "RiskParity", "weights": [5.429e-07, 3.026e-07, 0.9999985986, 3.053e-07, 2.506e-07]}, {"strategy": "NewsSentiment", "weights": [0.0941238071, 0.2029969813, 0.2324826341, 0.2754989669, 0.1948976106]}, {"strategy": "Size", "weights": [0.0822503628, 0.0966383295, 0.0088838661, 0.5467713391, 0.2654561025]}, {"strategy": "ValueNVT", "weights": [0.0, 5.2e-09, 0.9980470084, 0.0019529662, 2.02e-08]}, {"strategy": "Liquidity", "weights": [1.557e-07, 8.49e-08, 0.9999997231, 1.34e-08, 2.29e-08]}], "next_7d_returns": [-0.0707110295, -0.1219145124, 0.0, -0.0873747655, -0.0945876807]}
|
| 35 |
+
{"id": "quantinv_test_0034_20251109", "split": "test", "as_of": "2025-11-08T23:59:59.999999Z", "execution_at": "2025-11-09T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.2358210515, 0.0, 0.0, 0.7641789485]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "RiskParity", "weights": [4.916e-07, 2.724e-07, 0.9999987251, 2.756e-07, 2.353e-07]}, {"strategy": "NewsSentiment", "weights": [0.0941238071, 0.2029969813, 0.2324826341, 0.2754989669, 0.1948976106]}, {"strategy": "Size", "weights": [0.0778436665, 0.0921402955, 0.00881895, 0.519350601, 0.301846487]}, {"strategy": "ValueNVT", "weights": [0.0, 5.9e-09, 0.9975941462, 0.0024058288, 1.91e-08]}, {"strategy": "Liquidity", "weights": [1.427e-07, 7.68e-08, 0.9999997473, 1.13e-08, 2.19e-08]}], "next_7d_returns": [-0.0656487766, -0.0686871419, 0.0, -0.0215185444, -0.059272863]}
|
| 36 |
+
{"id": "quantinv_test_0035_20251116", "split": "test", "as_of": "2025-11-15T23:59:59.999999Z", "execution_at": "2025-11-16T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.4063791382, 0.0, 0.0, 0.5936208618]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.599e-07, 2.671e-07, 0.9999987772, 2.621e-07, 2.337e-07]}, {"strategy": "NewsSentiment", "weights": [0.1489812842, 0.2561204804, 0.1740738612, 0.2857732857, 0.1350510885]}, {"strategy": "Size", "weights": [0.066061398, 0.0801768535, 0.0066925429, 0.4830423247, 0.3640268809]}, {"strategy": "ValueNVT", "weights": [0.0, 5.3e-09, 0.9978476476, 0.0021523318, 1.53e-08]}, {"strategy": "Liquidity", "weights": [1.337e-07, 7.67e-08, 0.9999997588, 1.08e-08, 2e-08]}], "next_7d_returns": [-0.1135659848, -0.1255575513, 0.0, -0.1280171643, -0.1056453602]}
|
| 37 |
+
{"id": "quantinv_test_0036_20251123", "split": "test", "as_of": "2025-11-22T23:59:59.999999Z", "execution_at": "2025-11-23T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.5753201816, 0.0, 0.0, 0.4246798184]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.387e-07, 2.624e-07, 0.9999988039, 2.573e-07, 2.377e-07]}, {"strategy": "NewsSentiment", "weights": [0.1489812842, 0.2561204804, 0.1740738612, 0.2857732857, 0.1350510885]}, {"strategy": "Size", "weights": [0.0598865534, 0.0765283229, 0.0065034892, 0.4259057821, 0.4311758524]}, {"strategy": "ValueNVT", "weights": [0.0, 6.9e-09, 0.9975869636, 0.0024130158, 1.37e-08]}, {"strategy": "Liquidity", "weights": [1.363e-07, 7.3e-08, 0.9999997615, 1.2e-08, 1.72e-08]}], "next_7d_returns": [0.0715448181, 0.0790759967, 0.0, 0.1282550748, 0.0469188515]}
|
| 38 |
+
{"id": "quantinv_test_0037_20251130", "split": "test", "as_of": "2025-11-29T23:59:59.999999Z", "execution_at": "2025-11-30T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1950231357, 0.3288571549, 0.0, 0.2614353845, 0.2146843249]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.5926990414, 0.0, 0.0, 0.4073009586]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.369e-07, 2.67e-07, 0.9999988017, 2.499e-07, 2.445e-07]}, {"strategy": "NewsSentiment", "weights": [0.1702843799, 0.2169262024, 0.1101577855, 0.2931023936, 0.2095292386]}, {"strategy": "Size", "weights": [0.0557265202, 0.0735743627, 0.0059146524, 0.3917352279, 0.4730492368]}, {"strategy": "ValueNVT", "weights": [0.0, 7.1e-09, 0.9971625866, 0.0028373941, 1.22e-08]}, {"strategy": "Liquidity", "weights": [1.343e-07, 7.54e-08, 0.999999765, 1.2e-08, 1.33e-08]}], "next_7d_returns": [-0.0172422679, 0.0163557108, 0.0, -0.0772376193, 0.0200252033]}
|
| 39 |
+
{"id": "quantinv_test_0038_20251207", "split": "test", "as_of": "2025-12-06T23:59:59.999999Z", "execution_at": "2025-12-07T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0509712506, 0.9018229147, 0.0, 0.0472058347]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.6010885498, 0.0, 0.0, 0.3989114502]}, {"strategy": "TSMom14", "weights": [0.2002332834, 0.3678774938, 0.0, 0.1742298117, 0.2576594111]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.119e-07, 2.543e-07, 0.999998839, 2.411e-07, 2.537e-07]}, {"strategy": "NewsSentiment", "weights": [0.1702843799, 0.2169262024, 0.1101577855, 0.2931023936, 0.2095292386]}, {"strategy": "Size", "weights": [0.049833023, 0.0684696731, 0.0048982414, 0.3598447564, 0.5169543061]}, {"strategy": "ValueNVT", "weights": [0.0, 7e-09, 0.9975247474, 0.0024752349, 1.07e-08]}, {"strategy": "Liquidity", "weights": [1.188e-07, 6.61e-08, 0.9999997946, 1.07e-08, 9.8e-09]}], "next_7d_returns": [0.0112419988, 0.0252068754, 0.0, -0.0041358936, 0.0072328669]}
|
| 40 |
+
{"id": "quantinv_test_0039_20251214", "split": "test", "as_of": "2025-12-13T23:59:59.999999Z", "execution_at": "2025-12-14T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0408288324, 0.9591711676, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.6032234694, 0.0, 0.0, 0.3967765306]}, {"strategy": "TSMom14", "weights": [0.0, 1.0, 0.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.539e-07, 2.941e-07, 0.9999986186, 2.838e-07, 3.496e-07]}, {"strategy": "NewsSentiment", "weights": [0.2140866705, 0.1729164947, 0.100454143, 0.2765905862, 0.2359521056]}, {"strategy": "Size", "weights": [0.0471244989, 0.0643153413, 0.0041956446, 0.352012613, 0.5323519022]}, {"strategy": "ValueNVT", "weights": [0.0, 6.5e-09, 0.9976902352, 0.00230975, 8.3e-09]}, {"strategy": "Liquidity", "weights": [1.226e-07, 6.2e-08, 0.999999794, 1.17e-08, 9.7e-09]}], "next_7d_returns": [-0.0208232491, -0.0438927131, 0.0, -0.04405221, -0.0475569234]}
|
| 41 |
+
{"id": "quantinv_test_0040_20251221", "split": "test", "as_of": "2025-12-20T23:59:59.999999Z", "execution_at": "2025-12-21T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.6939408751, 0.0, 0.0, 0.3060591249]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.494e-07, 2.881e-07, 0.9999986087, 2.829e-07, 3.709e-07]}, {"strategy": "NewsSentiment", "weights": [0.2140866705, 0.1729164947, 0.100454143, 0.2765905862, 0.2359521056]}, {"strategy": "Size", "weights": [0.0534727343, 0.0697684053, 0.0039056044, 0.4035576767, 0.4692955793]}, {"strategy": "ValueNVT", "weights": [0.0, 6.1e-09, 0.997874537, 0.0021254486, 8.3e-09]}, {"strategy": "Liquidity", "weights": [1.082e-07, 6.14e-08, 0.9999998118, 9.1e-09, 9.5e-09]}], "next_7d_returns": [-0.0054765167, -0.0096980117, 0.0, -0.0310835273, -0.0106770315]}
|
| 42 |
+
{"id": "quantinv_test_0041_20251228", "split": "test", "as_of": "2025-12-27T23:59:59.999999Z", "execution_at": "2025-12-28T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.712541083, 0.0, 0.0, 0.287458917]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.645e-07, 2.97e-07, 0.9999985517, 2.937e-07, 3.931e-07]}, {"strategy": "NewsSentiment", "weights": [0.1408873586, 0.2211814954, 0.1270372699, 0.2913965836, 0.2194972925]}, {"strategy": "Size", "weights": [0.0540192145, 0.0664547264, 0.0032037322, 0.4266728967, 0.4496494302]}, {"strategy": "ValueNVT", "weights": [0.0, 5.3e-09, 0.9981370294, 0.001862959, 6.3e-09]}, {"strategy": "Liquidity", "weights": [1.153e-07, 5.77e-08, 0.9999998097, 8.5e-09, 8.8e-09]}], "next_7d_returns": [0.0313052335, 0.060378766, 0.0, 0.077292623, 0.0397491273]}
|
| 43 |
+
{"id": "quantinv_test_0042_20260104", "split": "test", "as_of": "2026-01-03T23:59:59.999999Z", "execution_at": "2026-01-04T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.115590579, 0.2874241927, 0.1084780479, 0.361594338, 0.1269128424]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.6299049608, 0.0, 0.0, 0.3700950392]}, {"strategy": "TSMom14", "weights": [0.1415238045, 0.3244367666, 0.0, 0.3381916413, 0.1958477876]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.736e-07, 3.088e-07, 0.9999984858, 3.011e-07, 4.307e-07]}, {"strategy": "NewsSentiment", "weights": [0.1122696145, 0.1885473549, 0.175628324, 0.2929651316, 0.230589575]}, {"strategy": "Size", "weights": [0.0550201616, 0.0661040876, 0.00280636, 0.4367622475, 0.4393071433]}, {"strategy": "ValueNVT", "weights": [0.0, 4.7e-09, 0.9983379195, 0.00166207, 5.8e-09]}, {"strategy": "Liquidity", "weights": [1.124e-07, 6.6e-08, 0.9999998029, 8.3e-09, 1.04e-08]}], "next_7d_returns": [-0.0013606169, -0.0129160791, 0.0, 0.0359230998, 0.0333356096]}
|
| 44 |
+
{"id": "quantinv_test_0043_20260111", "split": "test", "as_of": "2026-01-10T23:59:59.999999Z", "execution_at": "2026-01-11T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.9800027679, 0.0119565758, 0.0080406563]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.577315314, 0.0, 0.0, 0.422684686]}, {"strategy": "TSMom14", "weights": [0.1267365371, 0.1838633382, 0.0, 0.4418248842, 0.2475752405]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [5.035e-07, 3.423e-07, 0.9999983961, 2.931e-07, 4.65e-07]}, {"strategy": "NewsSentiment", "weights": [0.1381101994, 0.1866783557, 0.15639018, 0.3095660084, 0.2092552565]}, {"strategy": "Size", "weights": [0.0602986146, 0.0790787632, 0.0029424539, 0.385856969, 0.4718231993]}, {"strategy": "ValueNVT", "weights": [0.0, 4.1e-09, 0.998322399, 0.0016775913, 5.6e-09]}, {"strategy": "Liquidity", "weights": [1.103e-07, 6.46e-08, 0.9999998083, 7.6e-09, 9.2e-09]}], "next_7d_returns": [0.0513019766, 0.0725171055, 0.0, -0.0131534893, 0.0431531065]}
|
| 45 |
+
{"id": "quantinv_test_0044_20260118", "split": "test", "as_of": "2026-01-17T23:59:59.999999Z", "execution_at": "2026-01-18T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2442263878, 0.2698002073, 0.3009712504, 0.0, 0.1850021545]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.5313486276, 0.0, 0.0, 0.4686513724]}, {"strategy": "TSMom14", "weights": [0.2912894426, 0.2587548766, 0.0, 0.145605367, 0.3043503138]}, {"strategy": "TSMom60", "weights": [0.2327369761, 0.5485635362, 0.0, 0.0, 0.2186994877]}, {"strategy": "RiskParity", "weights": [5.248e-07, 3.466e-07, 0.9999983645, 2.95e-07, 4.691e-07]}, {"strategy": "NewsSentiment", "weights": [0.0858804954, 0.2071497683, 0.2344380985, 0.2598159529, 0.2127156849]}, {"strategy": "Size", "weights": [0.0577329695, 0.0793741263, 0.0028058534, 0.3643673737, 0.4957196771]}, {"strategy": "ValueNVT", "weights": [0.0, 3.9e-09, 0.9983301391, 0.0016698517, 5.3e-09]}, {"strategy": "Liquidity", "weights": [1.194e-07, 6.59e-08, 0.9999997964, 8.3e-09, 1e-08]}], "next_7d_returns": [-0.0622445487, -0.1079364216, 0.0, -0.0721694455, -0.0632767049]}
|
| 46 |
+
{"id": "quantinv_test_0045_20260125", "split": "test", "as_of": "2026-01-24T23:59:59.999999Z", "execution_at": "2026-01-25T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.3917400515, 0.0, 0.0, 0.6082599485]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.3173028273, 0.0222580222, 0.0, 0.0, 0.6604391505]}, {"strategy": "RiskParity", "weights": [5.479e-07, 3.537e-07, 0.99999827, 3.246e-07, 5.038e-07]}, {"strategy": "NewsSentiment", "weights": [0.0858804954, 0.2071497683, 0.2344380985, 0.2598159529, 0.2127156849]}, {"strategy": "Size", "weights": [0.0513821792, 0.068765322, 0.0026012386, 0.3225274604, 0.5547237998]}, {"strategy": "ValueNVT", "weights": [0.0, 4.1e-09, 0.9983029361, 0.0016970542, 5.6e-09]}, {"strategy": "Liquidity", "weights": [1.087e-07, 6.54e-08, 0.9999998079, 8.2e-09, 9.8e-09]}], "next_7d_returns": [-0.1175029425, -0.1697361872, 0.0, -0.1395288095, -0.1192429947]}
|
| 47 |
+
{"id": "quantinv_test_0046_20260201", "split": "test", "as_of": "2026-01-31T23:59:59.999999Z", "execution_at": "2026-02-01T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.423542021, 0.0, 0.0, 0.576457979]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "RiskParity", "weights": [5.411e-07, 3.348e-07, 0.999998285, 3.155e-07, 5.236e-07]}, {"strategy": "NewsSentiment", "weights": [0.0868099802, 0.2081122001, 0.2607561226, 0.2371391461, 0.207182551]}, {"strategy": "Size", "weights": [0.0512038582, 0.0663873581, 0.0030949332, 0.3189154308, 0.5603984197]}, {"strategy": "ValueNVT", "weights": [0.0, 4.7e-09, 0.9977549784, 0.002245011, 5.9e-09]}, {"strategy": "Liquidity", "weights": [1.022e-07, 5.27e-08, 0.9999998278, 8.6e-09, 8.7e-09]}], "next_7d_returns": [-0.1200355342, -0.148811563, 0.0, -0.1360490529, -0.171975582]}
|
| 48 |
+
{"id": "quantinv_test_0047_20260208", "split": "test", "as_of": "2026-02-07T23:59:59.999999Z", "execution_at": "2026-02-08T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.3442115915, 0.0, 0.1768738444, 0.4789145641]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.246e-07, 2.466e-07, 0.9999988832, 2.06e-07, 3.396e-07]}, {"strategy": "NewsSentiment", "weights": [0.0869035718, 0.2079546482, 0.2609484486, 0.2371745109, 0.2070188205]}, {"strategy": "Size", "weights": [0.0457317656, 0.0584045242, 0.0038900539, 0.3408457828, 0.5511278735]}, {"strategy": "ValueNVT", "weights": [0.0, 6e-09, 0.9976857276, 0.0023142594, 7e-09]}, {"strategy": "Liquidity", "weights": [9.46e-08, 5.2e-08, 0.9999998366, 9e-09, 7.8e-09]}], "next_7d_returns": [0.007700604, -0.0002347778, 0.0, 0.0606422599, -0.0220089334]}
|
| 49 |
+
{"id": "quantinv_test_0048_20260215", "split": "test", "as_of": "2026-02-14T23:59:59.999999Z", "execution_at": "2026-02-15T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.4651359632, 0.0, 0.1314254889, 0.4034385479]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.21e-07, 2.487e-07, 0.999998885, 2.06e-07, 3.393e-07]}, {"strategy": "NewsSentiment", "weights": [0.0973640055, 0.2111957673, 0.2851939058, 0.2087355392, 0.1975107822]}, {"strategy": "Size", "weights": [0.0435783615, 0.0569253716, 0.0037666674, 0.331682506, 0.5640470935]}, {"strategy": "ValueNVT", "weights": [0.0, 8.4e-09, 0.9965573104, 0.0034426718, 9.4e-09]}, {"strategy": "Liquidity", "weights": [8.71e-08, 4.59e-08, 0.999999852, 8.2e-09, 6.8e-09]}], "next_7d_returns": [-0.0264527675, -0.0542703646, 0.0, -0.0524049291, -0.0113153278]}
|
| 50 |
+
{"id": "quantinv_test_0049_20260222", "split": "test", "as_of": "2026-02-21T23:59:59.999999Z", "execution_at": "2026-02-22T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0058221951, 0.9071865762, 0.0, 0.0869912287]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.3171287397, 0.0, 0.2286599412, 0.4542113191]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.225e-07, 2.501e-07, 0.9999988844, 2.047e-07, 3.383e-07]}, {"strategy": "NewsSentiment", "weights": [0.098165828, 0.210691807, 0.2862427642, 0.2081799522, 0.1967196486]}, {"strategy": "Size", "weights": [0.0414940525, 0.0565263227, 0.0036133969, 0.3148931814, 0.5834730465]}, {"strategy": "ValueNVT", "weights": [0.0, 8.8e-09, 0.9963868378, 0.0036131441, 9.3e-09]}, {"strategy": "Liquidity", "weights": [9.09e-08, 4.68e-08, 0.9999998477, 8.8e-09, 5.8e-09]}], "next_7d_returns": [-0.0147503683, -0.0044796919, 0.0, -0.0378941481, -0.0135387861]}
|
| 51 |
+
{"id": "quantinv_test_0050_20260301", "split": "test", "as_of": "2026-02-28T23:59:59.999999Z", "execution_at": "2026-03-01T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.4396701895, 0.0, 0.138896805, 0.4214330055]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.069e-07, 2.303e-07, 0.9999989442, 2.005e-07, 3.181e-07]}, {"strategy": "NewsSentiment", "weights": [0.0950119425, 0.199029463, 0.2815444393, 0.2160179031, 0.2083962521]}, {"strategy": "Size", "weights": [0.0410304882, 0.0587501146, 0.0036356305, 0.2967872686, 0.5997964981]}, {"strategy": "ValueNVT", "weights": [0.0, 1.05e-08, 0.9951586845, 0.0048412942, 1.08e-08]}, {"strategy": "Liquidity", "weights": [8.49e-08, 4e-08, 0.9999998616, 8.5e-09, 5e-09]}], "next_7d_returns": [0.0043248604, 0.0025909769, 0.0, -0.0140251435, 0.0050717827]}
|
| 52 |
+
{"id": "quantinv_test_0051_20260308", "split": "test", "as_of": "2026-03-07T23:59:59.999999Z", "execution_at": "2026-03-08T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1758414, 0.1001166333, 0.608998058, 0.0395357586, 0.0755081501]}, {"strategy": "MaxSharpe", "weights": [0.0, 0.480933306, 0.0, 0.0938960073, 0.4251706867]}, {"strategy": "TSMom14", "weights": [0.1606779806, 0.577565105, 0.0, 0.0, 0.2617569144]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [2.909e-07, 2.23e-07, 0.999998959, 2.148e-07, 3.123e-07]}, {"strategy": "NewsSentiment", "weights": [0.0988358878, 0.1952519354, 0.2848837634, 0.19792596, 0.2231024534]}, {"strategy": "Size", "weights": [0.0362983174, 0.0600082731, 0.0026698075, 0.270152439, 0.630871163]}, {"strategy": "ValueNVT", "weights": [0.0, 9.4e-09, 0.9959087501, 0.0040912312, 9.3e-09]}, {"strategy": "Liquidity", "weights": [7.95e-08, 3.74e-08, 0.99999987, 8.4e-09, 4.7e-09]}], "next_7d_returns": [0.0587105137, 0.0642567019, 0.0, 0.0364829009, 0.0603446886]}
|
data/train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/validation.jsonl
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"id": "quantinv_validation_0000_20240316", "split": "validation", "as_of": "2024-03-15T23:59:59.999999Z", "execution_at": "2024-03-16T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1553554149, 0.0, 0.0, 0.2647617292, 0.5798828559]}, {"strategy": "MaxSharpe", "weights": [0.5337212801, 0.067243778, 0.0, 0.0, 0.3990349419]}, {"strategy": "TSMom14", "weights": [0.1827074062, 0.17699013, 0.0, 0.1544115736, 0.4858908902]}, {"strategy": "TSMom60", "weights": [0.2921909895, 0.2453987817, 0.0, 0.0811784017, 0.3812318271]}, {"strategy": "RiskParity", "weights": [3.819e-07, 4.15e-07, 0.9999986532, 2.813e-07, 2.686e-07]}, {"strategy": "NewsSentiment", "weights": [0.1642328227, 0.2430865575, 0.2600217079, 0.0992688822, 0.2333900297]}, {"strategy": "Size", "weights": [0.061563487, 0.1072654312, 0.0087676379, 0.4780875846, 0.3443158593]}, {"strategy": "ValueNVT", "weights": [0.0, 6.5e-09, 0.9596112265, 0.0403886495, 1.175e-07]}, {"strategy": "Liquidity", "weights": [1.484e-07, 8.13e-08, 0.99999974, 1.39e-08, 1.64e-08]}], "next_7d_returns": [-0.0820606206, -0.1084498649, 0.0, -0.0356410661, -0.124703651]}
|
| 2 |
+
{"id": "quantinv_validation_0001_20240323", "split": "validation", "as_of": "2024-03-22T23:59:59.999999Z", "execution_at": "2024-03-23T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0153615812, 0.0, 0.6848501955, 0.2997882233, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6836294011, 0.0375939662, 0.0, 0.0, 0.2787766327]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.1189230036, 0.8810769964]}, {"strategy": "TSMom60", "weights": [0.2995013161, 0.2318212624, 0.0, 0.1045160761, 0.3641613454]}, {"strategy": "RiskParity", "weights": [3.048e-07, 3.057e-07, 0.9999989043, 2.514e-07, 2.338e-07]}, {"strategy": "NewsSentiment", "weights": [0.153163477, 0.1056303628, 0.2384243183, 0.25982389, 0.2429579519]}, {"strategy": "Size", "weights": [0.0612759143, 0.1086857439, 0.010122276, 0.493893041, 0.3260230248]}, {"strategy": "ValueNVT", "weights": [0.0, 6.6e-09, 0.9510742953, 0.0489255777, 1.204e-07]}, {"strategy": "Liquidity", "weights": [1.189e-07, 7.15e-08, 0.9999997788, 1.29e-08, 1.79e-08]}], "next_7d_returns": [0.0948935555, 0.0519699672, 0.0, 0.0302534751, 0.105994944]}
|
| 3 |
+
{"id": "quantinv_validation_0002_20240330", "split": "validation", "as_of": "2024-03-29T23:59:59.999999Z", "execution_at": "2024-03-30T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.4195480024, 0.2880534912, 0.0, 0.0524376465, 0.2399608599]}, {"strategy": "MaxSharpe", "weights": [0.7086928452, 0.0227262939, 0.0, 0.0, 0.2685808609]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.2896360181, 0.2533629963, 0.0, 0.0971190197, 0.3598819659]}, {"strategy": "RiskParity", "weights": [3.063e-07, 3.072e-07, 0.9999988994, 2.496e-07, 2.375e-07]}, {"strategy": "NewsSentiment", "weights": [0.153163477, 0.1056303628, 0.2384243183, 0.25982389, 0.2429579519]}, {"strategy": "Size", "weights": [0.061717552, 0.1117141137, 0.0100867118, 0.489870068, 0.3266115545]}, {"strategy": "ValueNVT", "weights": [0.0, 6.2e-09, 0.9573306765, 0.0426692096, 1.077e-07]}, {"strategy": "Liquidity", "weights": [1.324e-07, 7.33e-08, 0.9999997621, 1.38e-08, 1.84e-08]}], "next_7d_returns": [-0.0290606242, -0.0546735656, 0.0, -0.0682539683, -0.0566530612]}
|
| 4 |
+
{"id": "quantinv_validation_0003_20240406", "split": "validation", "as_of": "2024-04-05T23:59:59.999999Z", "execution_at": "2024-04-06T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7171398709, 0.0, 0.0, 0.0, 0.2828601291]}, {"strategy": "TSMom14", "weights": [0.445513236, 0.0, 0.0, 0.0, 0.554486764]}, {"strategy": "TSMom60", "weights": [0.2850685993, 0.2241948644, 0.0, 0.0990292996, 0.3917072367]}, {"strategy": "RiskParity", "weights": [2.931e-07, 2.913e-07, 0.9999989377, 2.488e-07, 2.291e-07]}, {"strategy": "NewsSentiment", "weights": [0.1646550888, 0.0979996197, 0.2509654183, 0.2462267571, 0.2401531161]}, {"strategy": "Size", "weights": [0.0617399336, 0.1148365392, 0.0090041091, 0.5149788333, 0.2994405848]}, {"strategy": "ValueNVT", "weights": [0.0, 5.6e-09, 0.9621333911, 0.0378665317, 7.16e-08]}, {"strategy": "Liquidity", "weights": [1.278e-07, 6.78e-08, 0.9999997732, 1.33e-08, 1.79e-08]}], "next_7d_returns": [-0.0103819443, -0.0242416022, 0.0, -0.068483816, 0.0308065074]}
|
| 5 |
+
{"id": "quantinv_validation_0004_20240413", "split": "validation", "as_of": "2024-04-12T23:59:59.999999Z", "execution_at": "2024-04-13T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0803982635, 0.2214323294, 0.4065398215, 0.1299523681, 0.1616772175]}, {"strategy": "MaxSharpe", "weights": [0.6982425115, 0.0, 0.0, 0.0, 0.3017574885]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.2499092815, 0.2251007315, 0.0, 0.0978457636, 0.4271442234]}, {"strategy": "RiskParity", "weights": [2.902e-07, 2.78e-07, 0.9999989563, 2.478e-07, 2.277e-07]}, {"strategy": "NewsSentiment", "weights": [0.1646550888, 0.0979996197, 0.2509654183, 0.2462267571, 0.2401531161]}, {"strategy": "Size", "weights": [0.0566860037, 0.1053160551, 0.0075614726, 0.5246905715, 0.3057458971]}, {"strategy": "ValueNVT", "weights": [0.0, 5.2e-09, 0.9645305404, 0.0354694027, 5.17e-08]}, {"strategy": "Liquidity", "weights": [1.125e-07, 5.21e-08, 0.9999998038, 1.23e-08, 1.93e-08]}], "next_7d_returns": [-0.0491460225, -0.0558994508, 0.0, -0.080102414, -0.069677636]}
|
| 6 |
+
{"id": "quantinv_validation_0005_20240420", "split": "validation", "as_of": "2024-04-19T23:59:59.999999Z", "execution_at": "2024-04-20T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0951384072, 0.6613177124, 0.2435438804, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6997268614, 0.0, 0.0, 0.0, 0.3002731386]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.2752658984, 0.0862755211, 0.0, 0.0, 0.6384585805]}, {"strategy": "RiskParity", "weights": [2.761e-07, 2.624e-07, 0.9999990188, 2.207e-07, 2.22e-07]}, {"strategy": "NewsSentiment", "weights": [0.2713940049, 0.0960431716, 0.2412924968, 0.1823554797, 0.208914847]}, {"strategy": "Size", "weights": [0.0516088732, 0.097587923, 0.0061780797, 0.4867321182, 0.3578930059]}, {"strategy": "ValueNVT", "weights": [0.0, 5.1e-09, 0.9645305463, 0.0354694029, 4.57e-08]}, {"strategy": "Liquidity", "weights": [1.192e-07, 5.62e-08, 0.9999997923, 1.34e-08, 1.89e-08]}], "next_7d_returns": [-0.0007522955, 0.024489195, 0.0, 0.0459244533, 0.0792275762]}
|
| 7 |
+
{"id": "quantinv_validation_0006_20240427", "split": "validation", "as_of": "2024-04-26T23:59:59.999999Z", "execution_at": "2024-04-27T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 3.16878e-05, 0.6448020196, 0.0, 0.3551662926]}, {"strategy": "MaxSharpe", "weights": [0.6350689738, 0.0, 0.0, 0.0, 0.3649310262]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.3192948903, 0.0199527882, 0.0, 0.0, 0.6607523215]}, {"strategy": "RiskParity", "weights": [2.737e-07, 2.649e-07, 0.9999990214, 2.153e-07, 2.247e-07]}, {"strategy": "NewsSentiment", "weights": [0.2713940049, 0.0960431716, 0.2412924968, 0.1823554797, 0.208914847]}, {"strategy": "Size", "weights": [0.0516454266, 0.0990664163, 0.0055953324, 0.4891806857, 0.354512139]}, {"strategy": "ValueNVT", "weights": [0.0, 4.5e-09, 0.9663490694, 0.0336508842, 4.19e-08]}, {"strategy": "Liquidity", "weights": [1.215e-07, 5.64e-08, 0.9999997949, 1.18e-08, 1.54e-08]}], "next_7d_returns": [-0.0139248863, -0.0091623287, 0.0, 0.0106443642, -0.0183946488]}
|
| 8 |
+
{"id": "quantinv_validation_0007_20240504", "split": "validation", "as_of": "2024-05-03T23:59:59.999999Z", "execution_at": "2024-05-04T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.9980687548, 0.0019312452, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6321676857, 0.0, 0.0, 0.0, 0.3678323143]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.6638674286, 0.3361325714]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "RiskParity", "weights": [2.92e-07, 2.621e-07, 0.9999989963, 2.236e-07, 2.26e-07]}, {"strategy": "NewsSentiment", "weights": [0.1851104821, 0.231221945, 0.2496371587, 0.2450012692, 0.089029145]}, {"strategy": "Size", "weights": [0.0469935025, 0.0910610703, 0.0051556296, 0.4969447719, 0.3598450257]}, {"strategy": "ValueNVT", "weights": [0.0, 4.7e-09, 0.9692528453, 0.0307471109, 3.91e-08]}, {"strategy": "Liquidity", "weights": [1.183e-07, 5.64e-08, 0.9999997994, 1.06e-08, 1.53e-08]}], "next_7d_returns": [-0.0331099467, -0.0620864369, 0.0, -0.0554824149, -0.0022146508]}
|
| 9 |
+
{"id": "quantinv_validation_0008_20240511", "split": "validation", "as_of": "2024-05-10T23:59:59.999999Z", "execution_at": "2024-05-11T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.9055241931, 0.0, 0.0944758069]}, {"strategy": "MaxSharpe", "weights": [0.6439013973, 0.0, 0.0, 0.0, 0.3560986027]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "RiskParity", "weights": [3.075e-07, 2.705e-07, 0.9999989352, 2.321e-07, 2.547e-07]}, {"strategy": "NewsSentiment", "weights": [0.1851104821, 0.231221945, 0.2496371587, 0.2450012692, 0.089029145]}, {"strategy": "Size", "weights": [0.0452864229, 0.0881432121, 0.0046556291, 0.4975201017, 0.3643946342]}, {"strategy": "ValueNVT", "weights": [0.0, 4.6e-09, 0.9717124139, 0.0282875509, 3.06e-08]}, {"strategy": "Liquidity", "weights": [1.156e-07, 5.65e-08, 0.999999804, 9.9e-09, 1.4e-08]}], "next_7d_returns": [0.1023686024, 0.0625502581, 0.0, 0.0424133811, -0.0081953218]}
|
| 10 |
+
{"id": "quantinv_validation_0009_20240518", "split": "validation", "as_of": "2024-05-17T23:59:59.999999Z", "execution_at": "2024-05-18T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.347366184, 0.0553092545, 0.4997901948, 0.0975343667, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.680436563, 0.0, 0.0, 0.0, 0.319563437]}, {"strategy": "TSMom14", "weights": [0.8658751331, 0.0, 0.0, 0.0, 0.1341248669]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.109e-07, 2.765e-07, 0.9999987826, 2.937e-07, 3.363e-07]}, {"strategy": "NewsSentiment", "weights": [0.1754076007, 0.2417044178, 0.2590856779, 0.2299518448, 0.0938504588]}, {"strategy": "Size", "weights": [0.0408829585, 0.0843239678, 0.0035037577, 0.4938211108, 0.3774682052]}, {"strategy": "ValueNVT", "weights": [0.0, 4.1e-09, 0.9730782095, 0.0269217636, 2.28e-08]}, {"strategy": "Liquidity", "weights": [1.031e-07, 5.03e-08, 0.9999998254, 9.1e-09, 1.21e-08]}], "next_7d_returns": [0.0227678145, 0.2057826649, 0.0, 0.023686724, 0.0333964538]}
|
| 11 |
+
{"id": "quantinv_validation_0010_20240525", "split": "validation", "as_of": "2024-05-24T23:59:59.999999Z", "execution_at": "2024-05-25T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0715879823, 0.7145333988, 0.0, 0.0653818966, 0.1484967223]}, {"strategy": "MaxSharpe", "weights": [0.5564122349, 0.0798952156, 0.0, 0.0, 0.3636925495]}, {"strategy": "TSMom14", "weights": [0.237908514, 0.7003511679, 0.0, 0.0479052018, 0.0138351163]}, {"strategy": "TSMom60", "weights": [0.0719294427, 0.5814597024, 0.0, 0.0, 0.3466108549]}, {"strategy": "RiskParity", "weights": [3.494e-07, 2.553e-07, 0.9999986739, 3.275e-07, 3.939e-07]}, {"strategy": "NewsSentiment", "weights": [0.1754076007, 0.2417044178, 0.2590856779, 0.2299518448, 0.0938504588]}, {"strategy": "Size", "weights": [0.0400441719, 0.0643580657, 0.003439055, 0.5147350887, 0.3774236187]}, {"strategy": "ValueNVT", "weights": [0.0, 4.5e-09, 0.9744961334, 0.0255038404, 2.17e-08]}, {"strategy": "Liquidity", "weights": [1.043e-07, 4.81e-08, 0.9999998257, 9e-09, 1.29e-08]}], "next_7d_returns": [-0.0147334814, 0.0091221689, 0.0, -0.034148162, -0.0108279194]}
|
| 12 |
+
{"id": "quantinv_validation_0011_20240601", "split": "validation", "as_of": "2024-05-31T23:59:59.999999Z", "execution_at": "2024-06-01T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5448028774, 0.1055598098, 0.0, 0.0, 0.3496373128]}, {"strategy": "TSMom14", "weights": [0.1382599329, 0.714461358, 0.0, 0.0154657128, 0.1318129963]}, {"strategy": "TSMom60", "weights": [0.0, 1.0, 0.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.56e-07, 2.587e-07, 0.9999986368, 3.304e-07, 4.181e-07]}, {"strategy": "NewsSentiment", "weights": [0.1852727517, 0.2517420159, 0.2424544171, 0.2314897671, 0.0890410482]}, {"strategy": "Size", "weights": [0.0397957558, 0.0598173644, 0.0031298893, 0.4940803049, 0.4031766856]}, {"strategy": "ValueNVT", "weights": [0.0, 4e-09, 0.9756363958, 0.0243635809, 1.93e-08]}, {"strategy": "Liquidity", "weights": [9.94e-08, 5.12e-08, 0.9999998269, 8.7e-09, 1.38e-08]}], "next_7d_returns": [0.0268816958, -0.0223215116, 0.0, -0.0357418856, 0.1519029976]}
|
| 13 |
+
{"id": "quantinv_validation_0012_20240608", "split": "validation", "as_of": "2024-06-07T23:59:59.999999Z", "execution_at": "2024-06-08T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2200650462, 0.0, 0.0341635705, 0.0260207299, 0.7197506534]}, {"strategy": "MaxSharpe", "weights": [0.5348066356, 0.0546555519, 0.0, 0.0, 0.4105378125]}, {"strategy": "TSMom14", "weights": [0.1857785236, 0.0358198596, 0.0, 0.0, 0.7784016168]}, {"strategy": "TSMom60", "weights": [0.0648176897, 0.3124038203, 0.0, 0.0, 0.62277849]}, {"strategy": "RiskParity", "weights": [3.763e-07, 2.681e-07, 0.9999986166, 3.417e-07, 3.973e-07]}, {"strategy": "NewsSentiment", "weights": [0.1852727517, 0.2517420159, 0.2424544171, 0.2314897671, 0.0890410482]}, {"strategy": "Size", "weights": [0.0430142642, 0.0623015071, 0.0032724237, 0.5475199322, 0.3438918728]}, {"strategy": "ValueNVT", "weights": [0.0, 3.4e-09, 0.9770012777, 0.0229986989, 2e-08]}, {"strategy": "Liquidity", "weights": [1.087e-07, 5.12e-08, 0.9999998177, 8.5e-09, 1.39e-08]}], "next_7d_returns": [-0.0477482712, -0.0534239909, 0.0, -0.049088359, -0.1179824561]}
|
| 14 |
+
{"id": "quantinv_validation_0013_20240615", "split": "validation", "as_of": "2024-06-14T23:59:59.999999Z", "execution_at": "2024-06-15T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5764235177, 0.0796899437, 0.0, 0.0, 0.3438865386]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.099274586, 0.5617674625, 0.0, 0.0, 0.3389579515]}, {"strategy": "RiskParity", "weights": [4.026e-07, 2.989e-07, 0.9999984351, 4.755e-07, 3.879e-07]}, {"strategy": "NewsSentiment", "weights": [0.0978671272, 0.2657130902, 0.2379743676, 0.2292843534, 0.1691610616]}, {"strategy": "Size", "weights": [0.0445358999, 0.061577284, 0.0033395712, 0.5548113507, 0.3357358942]}, {"strategy": "ValueNVT", "weights": [0.0, 3.3e-09, 0.9775285028, 0.0224714749, 1.9e-08]}, {"strategy": "Liquidity", "weights": [1.35e-07, 5.83e-08, 0.999999785, 8.5e-09, 1.32e-08]}], "next_7d_returns": [-0.0287752148, 0.010540525, 0.0, 0.0303413401, -0.0283441074]}
|
| 15 |
+
{"id": "quantinv_validation_0014_20240622", "split": "validation", "as_of": "2024-06-21T23:59:59.999999Z", "execution_at": "2024-06-22T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5190103252, 0.1243673298, 0.0, 0.0, 0.356622345]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.8878170471, 0.0, 0.0, 0.1121829529]}, {"strategy": "RiskParity", "weights": [4.248e-07, 3.003e-07, 0.9999984014, 4.755e-07, 3.98e-07]}, {"strategy": "NewsSentiment", "weights": [0.0932385578, 0.272787848, 0.2282001179, 0.2185712925, 0.1872021838]}, {"strategy": "Size", "weights": [0.0470100309, 0.0669703072, 0.0032335337, 0.5210935662, 0.361692562]}, {"strategy": "ValueNVT", "weights": [0.0, 3.3e-09, 0.9777480354, 0.022251944, 1.73e-08]}, {"strategy": "Liquidity", "weights": [1.594e-07, 7.07e-08, 0.9999997475, 9.2e-09, 1.32e-08]}], "next_7d_returns": [-0.0579281848, -0.0393207333, 0.0, -0.0355828221, -0.0320709655]}
|
| 16 |
+
{"id": "quantinv_validation_0015_20240629", "split": "validation", "as_of": "2024-06-28T23:59:59.999999Z", "execution_at": "2024-06-29T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.3982274256, 0.2219929775, 0.0, 0.0, 0.3797795969]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 1.0, 0.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.156e-07, 3.019e-07, 0.9999983538, 5.25e-07, 4.037e-07]}, {"strategy": "NewsSentiment", "weights": [0.0932385578, 0.272787848, 0.2282001179, 0.2185712925, 0.1872021838]}, {"strategy": "Size", "weights": [0.0451497255, 0.0761850408, 0.0030005148, 0.5219687983, 0.3536959206]}, {"strategy": "ValueNVT", "weights": [0.0, 2.8e-09, 0.9785938245, 0.0214061571, 1.56e-08]}, {"strategy": "Liquidity", "weights": [1.315e-07, 5.9e-08, 0.9999997904, 9.3e-09, 9.8e-09]}], "next_7d_returns": [-0.0628692007, -0.117852758, 0.0, -0.0983884648, -0.1226647867]}
|
| 17 |
+
{"id": "quantinv_validation_0016_20240706", "split": "validation", "as_of": "2024-07-05T23:59:59.999999Z", "execution_at": "2024-07-06T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.3653835888, 0.2058048049, 0.0, 0.0, 0.4288116063]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.389e-07, 2.988e-07, 0.9999983989, 4.832e-07, 3.802e-07]}, {"strategy": "NewsSentiment", "weights": [0.0932385578, 0.272787848, 0.2282001179, 0.2185712925, 0.1872021838]}, {"strategy": "Size", "weights": [0.0419196519, 0.0724408572, 0.0029360984, 0.501130926, 0.3815724665]}, {"strategy": "ValueNVT", "weights": [0.0, 2.8e-09, 0.9778708907, 0.0221290909, 1.56e-08]}, {"strategy": "Liquidity", "weights": [1.097e-07, 5.2e-08, 0.9999998222, 7.7e-09, 8.4e-09]}], "next_7d_returns": [0.022255464, 0.0510096284, 0.0, 0.1159454374, 0.072519084]}
|
| 18 |
+
{"id": "quantinv_validation_0017_20240713", "split": "validation", "as_of": "2024-07-12T23:59:59.999999Z", "execution_at": "2024-07-13T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0533269557, 0.9444453804, 0.0022276639, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.3352123707, 0.2560904842, 0.0, 0.0, 0.4086971451]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 1.0, 0.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.358e-07, 2.958e-07, 0.9999984936, 4.308e-07, 3.44e-07]}, {"strategy": "NewsSentiment", "weights": [0.0932385578, 0.272787848, 0.2282001179, 0.2185712925, 0.1872021838]}, {"strategy": "Size", "weights": [0.0384702578, 0.0672716055, 0.0026561788, 0.4565926577, 0.4350093002]}, {"strategy": "ValueNVT", "weights": [0.0, 3.2e-09, 0.9759478772, 0.0240521038, 1.58e-08]}, {"strategy": "Liquidity", "weights": [9.05e-08, 4.59e-08, 0.9999998511, 5.8e-09, 6.7e-09]}], "next_7d_returns": [0.1515124871, 0.117949258, 0.0, 0.2082191781, 0.1114440907]}
|
| 19 |
+
{"id": "quantinv_validation_0018_20240720", "split": "validation", "as_of": "2024-07-19T23:59:59.999999Z", "execution_at": "2024-07-20T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2540612355, 0.2486420205, 0.0, 0.2621954611, 0.2351012829]}, {"strategy": "MaxSharpe", "weights": [0.5129027065, 0.0563106733, 0.0, 0.0, 0.4307866202]}, {"strategy": "TSMom14", "weights": [0.1880647826, 0.1855308118, 0.0, 0.4496087181, 0.1767956875]}, {"strategy": "TSMom60", "weights": [0.0, 0.4954384783, 0.0, 0.5045615217, 0.0]}, {"strategy": "RiskParity", "weights": [4.499e-07, 2.97e-07, 0.9999986202, 3.006e-07, 3.323e-07]}, {"strategy": "NewsSentiment", "weights": [0.2, 0.2, 0.2, 0.2, 0.2]}, {"strategy": "Size", "weights": [0.0407740958, 0.0778417077, 0.0029338405, 0.3863944573, 0.4920558987]}, {"strategy": "ValueNVT", "weights": [0.0, 2.9e-09, 0.972516504, 0.0274834777, 1.54e-08]}, {"strategy": "Liquidity", "weights": [7.68e-08, 4.14e-08, 0.9999998702, 5.6e-09, 6e-09]}], "next_7d_returns": [0.0187217194, -0.0653426687, 0.0, 0.0523286238, -0.0210650489]}
|
| 20 |
+
{"id": "quantinv_validation_0019_20240727", "split": "validation", "as_of": "2024-07-26T23:59:59.999999Z", "execution_at": "2024-07-27T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.951200799, 0.048799201, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5537559302, 0.0, 0.0, 0.0, 0.4462440698]}, {"strategy": "TSMom14", "weights": [0.2574848529, 0.0452625046, 0.0, 0.5407366382, 0.1565160043]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.881e-07, 4.188e-07, 0.9999984562, 3.015e-07, 3.354e-07]}, {"strategy": "NewsSentiment", "weights": [0.2, 0.2, 0.2, 0.2, 0.2]}, {"strategy": "Size", "weights": [0.0422142945, 0.0802001405, 0.0030824453, 0.3589258818, 0.5155772379]}, {"strategy": "ValueNVT", "weights": [0.0, 3e-09, 0.9725494944, 0.0274504872, 1.54e-08]}, {"strategy": "Liquidity", "weights": [8.05e-08, 3.82e-08, 0.9999998694, 5.7e-09, 6.2e-09]}], "next_7d_returns": [-0.0943874065, -0.087030477, 0.0, -0.070777391, -0.0654157342]}
|
| 21 |
+
{"id": "quantinv_validation_0020_20240803", "split": "validation", "as_of": "2024-08-02T23:59:59.999999Z", "execution_at": "2024-08-03T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.9924447374, 0.0075552626, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.4731820055, 0.0, 0.0, 0.0, 0.5268179945]}, {"strategy": "TSMom14", "weights": [0.2906815363, 0.0, 0.0, 0.6325522461, 0.0767662176]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.742e-07, 4.151e-07, 0.999998485, 2.941e-07, 3.316e-07]}, {"strategy": "NewsSentiment", "weights": [0.3093621575, 0.2185004113, 0.1604314394, 0.1666711833, 0.1450348085]}, {"strategy": "Size", "weights": [0.041406331, 0.0809703397, 0.0032521973, 0.338405545, 0.535965587]}, {"strategy": "ValueNVT", "weights": [0.0, 3.4e-09, 0.9717213541, 0.0282786268, 1.57e-08]}, {"strategy": "Liquidity", "weights": [8.7e-08, 3.84e-08, 0.9999998627, 5.7e-09, 6.2e-09]}], "next_7d_returns": [-0.0107376882, -0.1307260813, 0.0, 0.0354976811, -0.0629950267]}
|
| 22 |
+
{"id": "quantinv_validation_0021_20240810", "split": "validation", "as_of": "2024-08-09T23:59:59.999999Z", "execution_at": "2024-08-10T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0812081479, 0.0, 0.4205540214, 0.4982378307, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.4816484433, 0.0, 0.0, 0.0, 0.5183515567]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.418e-07, 2.802e-07, 0.9999988402, 2.292e-07, 3.086e-07]}, {"strategy": "NewsSentiment", "weights": [0.3093621575, 0.2185004113, 0.1604314394, 0.1666711833, 0.1450348085]}, {"strategy": "Size", "weights": [0.0417864006, 0.0757045864, 0.0036828847, 0.3235241731, 0.5553019552]}, {"strategy": "ValueNVT", "weights": [0.0, 3.6e-09, 0.9694580728, 0.0305419081, 1.55e-08]}, {"strategy": "Liquidity", "weights": [8.62e-08, 3.71e-08, 0.9999998635, 6.9e-09, 6.3e-09]}], "next_7d_returns": [-0.0322725981, -0.0023357024, 0.0, -0.0289405685, 0.0216237468]}
|
| 23 |
+
{"id": "quantinv_validation_0022_20240817", "split": "validation", "as_of": "2024-08-16T23:59:59.999999Z", "execution_at": "2024-08-17T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.3128161649, 0.0, 0.0, 0.0, 0.6871838351]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.37e-07, 2.752e-07, 0.9999988438, 2.248e-07, 3.192e-07]}, {"strategy": "NewsSentiment", "weights": [0.3093621575, 0.2185004113, 0.1604314394, 0.1666711833, 0.1450348085]}, {"strategy": "Size", "weights": [0.0398901602, 0.0704670864, 0.0034406325, 0.3508085411, 0.5353935798]}, {"strategy": "ValueNVT", "weights": [0.0, 4.5e-09, 0.97527346, 0.0247265188, 1.67e-08]}, {"strategy": "Liquidity", "weights": [8.63e-08, 3.84e-08, 0.9999998618, 7.4e-09, 6.1e-09]}], "next_7d_returns": [0.0876889334, 0.0654794964, 0.0, 0.0837324818, 0.1385414662]}
|
| 24 |
+
{"id": "quantinv_validation_0023_20240824", "split": "validation", "as_of": "2024-08-23T23:59:59.999999Z", "execution_at": "2024-08-24T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0741459435, 0.0160245757, 0.2765907663, 0.2694832258, 0.3637554887]}, {"strategy": "MaxSharpe", "weights": [0.3369999496, 0.0, 0.0, 0.0, 0.6630000504]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.9586439258, 0.0413560742]}, {"strategy": "RiskParity", "weights": [3.301e-07, 2.755e-07, 0.9999988616, 2.235e-07, 3.093e-07]}, {"strategy": "NewsSentiment", "weights": [0.3093621575, 0.2185004113, 0.1604314394, 0.1666711833, 0.1450348085]}, {"strategy": "Size", "weights": [0.0402605917, 0.0743114041, 0.0033944704, 0.3896003465, 0.4924331873]}, {"strategy": "ValueNVT", "weights": [0.0, 4.7e-09, 0.9805377794, 0.0194621973, 1.86e-08]}, {"strategy": "Liquidity", "weights": [7.39e-08, 3.67e-08, 0.9999998765, 7.4e-09, 5.5e-09]}], "next_7d_returns": [-0.076724887, -0.0856111696, 0.0, -0.0723522671, -0.0954875782]}
|
| 25 |
+
{"id": "quantinv_validation_0024_20240831", "split": "validation", "as_of": "2024-08-30T23:59:59.999999Z", "execution_at": "2024-08-31T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.379473414, 0.0, 0.0, 0.0, 0.620526586]}, {"strategy": "TSMom14", "weights": [0.4750493818, 0.0, 0.0, 0.0272089375, 0.4977416807]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.226e-07, 2.609e-07, 0.9999988897, 2.211e-07, 3.057e-07]}, {"strategy": "NewsSentiment", "weights": [0.3171214074, 0.1926592742, 0.1656095684, 0.172407918, 0.152201832]}, {"strategy": "Size", "weights": [0.0411522803, 0.0753073835, 0.0033727215, 0.4104385563, 0.4697290584]}, {"strategy": "ValueNVT", "weights": [0.0, 4.9e-09, 0.9807281047, 0.0192718703, 2.01e-08]}, {"strategy": "Liquidity", "weights": [7.49e-08, 3.58e-08, 0.9999998765, 7.1e-09, 5.7e-09]}], "next_7d_returns": [-0.08729147, -0.1190622291, 0.0, -0.0804658549, -0.0894992526]}
|
| 26 |
+
{"id": "quantinv_validation_0025_20240907", "split": "validation", "as_of": "2024-09-06T23:59:59.999999Z", "execution_at": "2024-09-07T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5727244389, 0.0, 0.0, 0.0, 0.4272755611]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0198407726, 0.0, 0.0, 0.8988718874, 0.08128734]}, {"strategy": "RiskParity", "weights": [3.305e-07, 2.65e-07, 0.9999988282, 2.327e-07, 3.436e-07]}, {"strategy": "NewsSentiment", "weights": [0.3171214074, 0.1926592742, 0.1656095684, 0.172407918, 0.152201832]}, {"strategy": "Size", "weights": [0.0396066089, 0.080887505, 0.0026056073, 0.4157682692, 0.4611320096]}, {"strategy": "ValueNVT", "weights": [0.0, 4.4e-09, 0.9818982884, 0.0181016891, 1.81e-08]}, {"strategy": "Liquidity", "weights": [7.05e-08, 3.09e-08, 0.9999998857, 7.1e-09, 5.8e-09]}], "next_7d_returns": [0.1211019334, 0.0961469325, 0.0, 0.0990213011, 0.1418017648]}
|
| 27 |
+
{"id": "quantinv_validation_0026_20240914", "split": "validation", "as_of": "2024-09-13T23:59:59.999999Z", "execution_at": "2024-09-14T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2578880787, 0.140687007, 0.0, 0.2524156152, 0.3490092991]}, {"strategy": "MaxSharpe", "weights": [0.4533295774, 0.0, 0.0, 0.0, 0.5466704226]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 0.0758510136, 0.9241489864]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.262e-07, 2.607e-07, 0.9999988289, 2.439e-07, 3.403e-07]}, {"strategy": "NewsSentiment", "weights": [0.2102546702, 0.0816718555, 0.2360244915, 0.2360244914, 0.2360244914]}, {"strategy": "Size", "weights": [0.0371071246, 0.0837579562, 0.0023564514, 0.4519287968, 0.424849671]}, {"strategy": "ValueNVT", "weights": [0.0, 3.9e-09, 0.9836925185, 0.0163074602, 1.74e-08]}, {"strategy": "Liquidity", "weights": [7.72e-08, 3.12e-08, 0.9999998781, 7e-09, 6.5e-09]}], "next_7d_returns": [0.0446801621, 0.050102698, 0.0, 0.0216518247, 0.0228253055]}
|
| 28 |
+
{"id": "quantinv_validation_0027_20240921", "split": "validation", "as_of": "2024-09-20T23:59:59.999999Z", "execution_at": "2024-09-21T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2414157938, 0.097730729, 0.5394815275, 0.0, 0.1213719497]}, {"strategy": "MaxSharpe", "weights": [0.5105233445, 0.0, 0.0, 0.0, 0.4894766555]}, {"strategy": "TSMom14", "weights": [0.3257021375, 0.114217426, 0.0, 0.2142255615, 0.345854875]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.324e-07, 2.635e-07, 0.9999987782, 2.697e-07, 3.562e-07]}, {"strategy": "NewsSentiment", "weights": [0.2102546702, 0.0816718555, 0.2360244915, 0.2360244914, 0.2360244914]}, {"strategy": "Size", "weights": [0.0354440792, 0.0811060542, 0.0023052342, 0.4560407965, 0.4251038359]}, {"strategy": "ValueNVT", "weights": [0.0, 4.2e-09, 0.9846294965, 0.015370482, 1.73e-08]}, {"strategy": "Liquidity", "weights": [8.3e-08, 2.78e-08, 0.9999998759, 6.3e-09, 7e-09]}], "next_7d_returns": [0.0406464766, 0.051936441, 0.0, 0.0064946163, 0.0664206642]}
|
| 29 |
+
{"id": "quantinv_validation_0028_20240928", "split": "validation", "as_of": "2024-09-27T23:59:59.999999Z", "execution_at": "2024-09-28T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.1430569014, 0.0379736165, 0.7545099761, 0.0, 0.064459506]}, {"strategy": "MaxSharpe", "weights": [0.6181490436, 0.0, 0.0, 0.0, 0.3818509564]}, {"strategy": "TSMom14", "weights": [0.3158132155, 0.2995094227, 0.0, 0.1341777851, 0.2504995767]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 0.0, 1.0]}, {"strategy": "RiskParity", "weights": [3.329e-07, 2.651e-07, 0.9999987801, 2.723e-07, 3.496e-07]}, {"strategy": "NewsSentiment", "weights": [0.3187065386, 0.1533098315, 0.1759945433, 0.1759945433, 0.1759945433]}, {"strategy": "Size", "weights": [0.0352208769, 0.0802057902, 0.0021858891, 0.4764304508, 0.405956993]}, {"strategy": "ValueNVT", "weights": [0.0, 4.2e-09, 0.9862143315, 0.0137856484, 1.59e-08]}, {"strategy": "Liquidity", "weights": [8.89e-08, 2.81e-08, 0.9999998697, 6.2e-09, 7.1e-09]}], "next_7d_returns": [-0.0560126623, -0.1039255056, 0.0, -0.0932246561, -0.0850222442]}
|
| 30 |
+
{"id": "quantinv_validation_0029_20241005", "split": "validation", "as_of": "2024-10-04T23:59:59.999999Z", "execution_at": "2024-10-05T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5955404406, 0.0, 0.0, 0.0, 0.4044595594]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.3214470368, 0.0, 0.0, 0.0, 0.6785529632]}, {"strategy": "RiskParity", "weights": [3.453e-07, 2.735e-07, 0.9999987502, 2.625e-07, 3.685e-07]}, {"strategy": "NewsSentiment", "weights": [0.3187065386, 0.1533098315, 0.1759945433, 0.1759945433, 0.1759945433]}, {"strategy": "Size", "weights": [0.0410309512, 0.093073245, 0.0025925549, 0.4107540066, 0.4525492423]}, {"strategy": "ValueNVT", "weights": [0.0, 4.4e-09, 0.9844626427, 0.0155373365, 1.64e-08]}, {"strategy": "Liquidity", "weights": [9.51e-08, 2.91e-08, 0.9999998622, 6.4e-09, 7.2e-09]}], "next_7d_returns": [0.0073122765, 0.0103876309, 0.0, 0.0088014981, 0.0331352422]}
|
| 31 |
+
{"id": "quantinv_validation_0030_20241012", "split": "validation", "as_of": "2024-10-11T23:59:59.999999Z", "execution_at": "2024-10-12T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.9825065778, 0.010388746, 0.0071046762]}, {"strategy": "MaxSharpe", "weights": [0.480488851, 0.0, 0.0, 0.0, 0.519511149]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.1933633627, 0.0, 0.0, 0.0, 0.8066366373]}, {"strategy": "RiskParity", "weights": [4.517e-07, 3.57e-07, 0.9999983555, 3.824e-07, 4.534e-07]}, {"strategy": "NewsSentiment", "weights": [0.3188009986, 0.1539159912, 0.1757610034, 0.1757610034, 0.1757610034]}, {"strategy": "Size", "weights": [0.0443587835, 0.1006705852, 0.0025947355, 0.411144969, 0.4412309268]}, {"strategy": "ValueNVT", "weights": [0.0, 4.3e-09, 0.9844626421, 0.0155373365, 1.71e-08]}, {"strategy": "Liquidity", "weights": [9.69e-08, 3.17e-08, 0.9999998566, 7e-09, 7.8e-09]}], "next_7d_returns": [0.0941477605, 0.0830829395, 0.0, 0.014479302, 0.0446226251]}
|
| 32 |
+
{"id": "quantinv_validation_0031_20241019", "split": "validation", "as_of": "2024-10-18T23:59:59.999999Z", "execution_at": "2024-10-19T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.3216404982, 0.2554607419, 0.238013999, 0.0444727777, 0.1404119832]}, {"strategy": "MaxSharpe", "weights": [0.561449249, 0.0, 0.0, 0.0, 0.438550751]}, {"strategy": "TSMom14", "weights": [0.3118286404, 0.3095815067, 0.0, 0.1252888468, 0.2533010061]}, {"strategy": "TSMom60", "weights": [0.5662067073, 0.0, 0.0, 0.0, 0.4337932927]}, {"strategy": "RiskParity", "weights": [4.433e-07, 3.601e-07, 0.9999983489, 3.815e-07, 4.662e-07]}, {"strategy": "NewsSentiment", "weights": [0.319927304, 0.1659744578, 0.1713660794, 0.1713660794, 0.1713660794]}, {"strategy": "Size", "weights": [0.0422749075, 0.0945309646, 0.0025688647, 0.422317278, 0.4383079852]}, {"strategy": "ValueNVT", "weights": [0.0, 4.3e-09, 0.9844017834, 0.0155981953, 1.7e-08]}, {"strategy": "Liquidity", "weights": [1.101e-07, 3.64e-08, 0.9999998367, 8.3e-09, 8.5e-09]}], "next_7d_returns": [-0.0252772294, -0.0762782107, 0.0, -0.0810612992, -0.0400467212]}
|
| 33 |
+
{"id": "quantinv_validation_0032_20241026", "split": "validation", "as_of": "2024-10-25T23:59:59.999999Z", "execution_at": "2024-10-26T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5515248659, 0.0, 0.0, 0.0, 0.4484751341]}, {"strategy": "TSMom14", "weights": [0.5127751722, 0.2537482309, 0.0, 0.0118046806, 0.2216719163]}, {"strategy": "TSMom60", "weights": [0.6302246919, 0.0, 0.0, 0.0, 0.3697753081]}, {"strategy": "RiskParity", "weights": [4.724e-07, 3.6e-07, 0.9999982708, 4.031e-07, 4.937e-07]}, {"strategy": "NewsSentiment", "weights": [0.3104306419, 0.1405002282, 0.1606801805, 0.1761473972, 0.2122415522]}, {"strategy": "Size", "weights": [0.0400567528, 0.089917606, 0.0025112576, 0.4055553662, 0.4619590174]}, {"strategy": "ValueNVT", "weights": [0.0, 4.3e-09, 0.9834920387, 0.0165079413, 1.57e-08]}, {"strategy": "Liquidity", "weights": [1.07e-07, 3.87e-08, 0.9999998381, 8e-09, 8.2e-09]}], "next_7d_returns": [0.0419452844, 0.0290334873, 0.0, 0.0215053763, -0.0038240918]}
|
| 34 |
+
{"id": "quantinv_validation_0033_20241102", "split": "validation", "as_of": "2024-11-01T23:59:59.999999Z", "execution_at": "2024-11-02T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2340027371, 0.0725808142, 0.6934164487, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7001640652, 0.0, 0.0, 0.0, 0.2998359348]}, {"strategy": "TSMom14", "weights": [1.0, 0.0, 0.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.5676142084, 0.1044043404, 0.0, 0.0, 0.3279814512]}, {"strategy": "RiskParity", "weights": [4.823e-07, 3.748e-07, 0.999998241, 3.936e-07, 5.083e-07]}, {"strategy": "NewsSentiment", "weights": [0.3113162561, 0.1434269768, 0.152583755, 0.1881804813, 0.2044925308]}, {"strategy": "Size", "weights": [0.0318126093, 0.0709305776, 0.0021188062, 0.4568641046, 0.4382739023]}, {"strategy": "ValueNVT", "weights": [0.0, 4.3e-09, 0.9839727001, 0.016027282, 1.36e-08]}, {"strategy": "Liquidity", "weights": [1.034e-07, 4.11e-08, 0.9999998403, 7.5e-09, 7.7e-09]}], "next_7d_returns": [0.1009235064, 0.179280029, 0.0, 0.079337232, 0.0431338335]}
|
| 35 |
+
{"id": "quantinv_validation_0034_20241109", "split": "validation", "as_of": "2024-11-08T23:59:59.999999Z", "execution_at": "2024-11-09T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2457038136, 0.3755918588, 0.0, 0.2349152348, 0.1437890928]}, {"strategy": "MaxSharpe", "weights": [0.5918379656, 0.0, 0.0, 0.0, 0.4081620344]}, {"strategy": "TSMom14", "weights": [0.3685689627, 0.4592473371, 0.0, 0.1502950146, 0.0218886856]}, {"strategy": "TSMom60", "weights": [0.4171342747, 0.2980286835, 0.0, 0.0619662143, 0.2228708275]}, {"strategy": "RiskParity", "weights": [4.549e-07, 3.385e-07, 0.9999983088, 3.939e-07, 5.039e-07]}, {"strategy": "NewsSentiment", "weights": [0.3113162561, 0.1434269768, 0.152583755, 0.1881804813, 0.2044925308]}, {"strategy": "Size", "weights": [0.0268989159, 0.0605708966, 0.0022711503, 0.4862548033, 0.4240042339]}, {"strategy": "ValueNVT", "weights": [0.0, 4.8e-09, 0.9836826492, 0.0163173313, 1.47e-08]}, {"strategy": "Liquidity", "weights": [1.143e-07, 4.08e-08, 0.9999998293, 7.3e-09, 8.3e-09]}], "next_7d_returns": [0.1898097211, 0.0433054782, 0.0, 0.6111612787, 0.0360476398]}
|
| 36 |
+
{"id": "quantinv_validation_0035_20241116", "split": "validation", "as_of": "2024-11-15T23:59:59.999999Z", "execution_at": "2024-11-16T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.3854926882, 0.0, 0.0, 0.6145073118, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6825957375, 0.0, 0.0, 0.1069816885, 0.210422574]}, {"strategy": "TSMom14", "weights": [0.2397152085, 0.2146741987, 0.0, 0.4611556197, 0.0844549731]}, {"strategy": "TSMom60", "weights": [0.3577705069, 0.2552438832, 0.0, 0.2793059018, 0.1076797081]}, {"strategy": "RiskParity", "weights": [3.91e-07, 3.205e-07, 0.999998535, 2.947e-07, 4.588e-07]}, {"strategy": "NewsSentiment", "weights": [0.2547152471, 0.1238104902, 0.134266179, 0.2203893893, 0.2668186944]}, {"strategy": "Size", "weights": [0.0372325795, 0.0830446625, 0.0045643156, 0.4122221335, 0.4629363089]}, {"strategy": "ValueNVT", "weights": [0.0, 6.2e-09, 0.9828361893, 0.0171637866, 1.79e-08]}, {"strategy": "Liquidity", "weights": [1.313e-07, 4.49e-08, 0.9999998065, 7.7e-09, 9.6e-09]}], "next_7d_returns": [0.0863423092, 0.076947971, 0.0, 0.6507118036, 0.0220062321]}
|
| 37 |
+
{"id": "quantinv_validation_0036_20241123", "split": "validation", "as_of": "2024-11-22T23:59:59.999999Z", "execution_at": "2024-11-23T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.3208048988, 0.272276391, 0.0, 0.4069187102, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7454260311, 0.0, 0.0, 0.2545739689, 0.0]}, {"strategy": "TSMom14", "weights": [0.206790328, 0.1176670007, 0.0, 0.6447056364, 0.0308370349]}, {"strategy": "TSMom60", "weights": [0.2893319073, 0.1742560719, 0.0, 0.5000408178, 0.036371203]}, {"strategy": "RiskParity", "weights": [3.84e-07, 3.002e-07, 0.9999986483, 1.876e-07, 4.799e-07]}, {"strategy": "NewsSentiment", "weights": [0.2547152471, 0.1238104902, 0.134266179, 0.2203893893, 0.2668186944]}, {"strategy": "Size", "weights": [0.0459071586, 0.1009634133, 0.0067261809, 0.2824428958, 0.5639603514]}, {"strategy": "ValueNVT", "weights": [0.0, 6.9e-09, 0.9776726121, 0.0223273542, 2.68e-08]}, {"strategy": "Liquidity", "weights": [1.4e-07, 5.08e-08, 0.9999997896, 8.2e-09, 1.14e-08]}], "next_7d_returns": [-0.0144804433, 0.0794643877, 0.0, 0.222667391, 0.0342338073]}
|
| 38 |
+
{"id": "quantinv_validation_0037_20241130", "split": "validation", "as_of": "2024-11-29T23:59:59.999999Z", "execution_at": "2024-11-30T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.2658426359, 0.4630500666, 0.2448226487, 0.0262846488]}, {"strategy": "MaxSharpe", "weights": [0.6537085731, 0.0, 0.0, 0.3462914269, 0.0]}, {"strategy": "TSMom14", "weights": [0.0921679666, 0.1590353569, 0.0, 0.6987158565, 0.05008082]}, {"strategy": "TSMom60", "weights": [0.2291382627, 0.1808646209, 0.0, 0.5332979723, 0.0566991441]}, {"strategy": "RiskParity", "weights": [3.673e-07, 2.822e-07, 0.9999987313, 1.729e-07, 4.463e-07]}, {"strategy": "NewsSentiment", "weights": [0.2547152471, 0.1238104902, 0.134266179, 0.2203893893, 0.2668186944]}, {"strategy": "Size", "weights": [0.0547523309, 0.1119639794, 0.00894045, 0.2523198446, 0.5720233951]}, {"strategy": "ValueNVT", "weights": [0.0, 7.2e-09, 0.974077287, 0.0259226679, 3.79e-08]}, {"strategy": "Liquidity", "weights": [1.791e-07, 5.75e-08, 0.9999997355, 1.14e-08, 1.65e-08]}], "next_7d_returns": [0.0234028319, 0.1132029775, 0.0, 0.3472368786, 0.1154016527]}
|
| 39 |
+
{"id": "quantinv_validation_0038_20241207", "split": "validation", "as_of": "2024-12-06T23:59:59.999999Z", "execution_at": "2024-12-07T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0227508092, 0.0895677709, 0.0, 0.5188521304, 0.3688292895]}, {"strategy": "MaxSharpe", "weights": [0.4320539509, 0.0, 0.0, 0.4786378082, 0.0893082409]}, {"strategy": "TSMom14", "weights": [0.0, 0.1415406464, 0.0, 0.6909202491, 0.1675391045]}, {"strategy": "TSMom60", "weights": [0.1709230232, 0.1729781761, 0.0, 0.5659342831, 0.0901645176]}, {"strategy": "RiskParity", "weights": [3.777e-07, 2.871e-07, 0.9999988182, 1.479e-07, 3.691e-07]}, {"strategy": "NewsSentiment", "weights": [0.2547152471, 0.1238104902, 0.134266179, 0.2203893893, 0.2668186944]}, {"strategy": "Size", "weights": [0.0715305527, 0.1320881976, 0.0126944161, 0.1898260463, 0.5938607873]}, {"strategy": "ValueNVT", "weights": [0.0, 8e-09, 0.973354418, 0.0266455314, 4.26e-08]}, {"strategy": "Liquidity", "weights": [2.062e-07, 7.47e-08, 0.9999996772, 1.65e-08, 2.54e-08]}], "next_7d_returns": [0.0168777404, -0.0230240043, 0.0, -0.0016077833, -0.0061488319]}
|
| 40 |
+
{"id": "quantinv_validation_0039_20241214", "split": "validation", "as_of": "2024-12-13T23:59:59.999999Z", "execution_at": "2024-12-14T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0086292842, 0.0, 0.9913707158, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5322940109, 0.0, 0.0, 0.4677059891, 0.0]}, {"strategy": "TSMom14", "weights": [0.0720597633, 0.1312843576, 0.0, 0.6731192146, 0.1235366645]}, {"strategy": "TSMom60", "weights": [0.178060008, 0.1735803334, 0.0, 0.5679405479, 0.0804191107]}, {"strategy": "RiskParity", "weights": [3.686e-07, 2.687e-07, 0.9999988825, 1.39e-07, 3.412e-07]}, {"strategy": "NewsSentiment", "weights": [0.2, 0.2, 0.2, 0.2, 0.2]}, {"strategy": "Size", "weights": [0.0805933286, 0.13876774, 0.0127370159, 0.1612840861, 0.6066178294]}, {"strategy": "ValueNVT", "weights": [0.0, 7.1e-09, 0.9777951267, 0.0222048256, 4.06e-08]}, {"strategy": "Liquidity", "weights": [1.984e-07, 8.52e-08, 0.9999996723, 2.17e-08, 2.24e-08]}], "next_7d_returns": [-0.0356798335, -0.1112419371, 0.0, -0.0588405318, -0.0649415072]}
|
| 41 |
+
{"id": "quantinv_validation_0040_20241221", "split": "validation", "as_of": "2024-12-20T23:59:59.999999Z", "execution_at": "2024-12-21T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6003729535, 0.0, 0.0, 0.3996270465, 0.0]}, {"strategy": "TSMom14", "weights": [1.0, 0.0, 0.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.1670693322, 0.105741944, 0.0, 0.6816593411, 0.0455293827]}, {"strategy": "RiskParity", "weights": [3.542e-07, 2.591e-07, 0.9999989195, 1.355e-07, 3.317e-07]}, {"strategy": "NewsSentiment", "weights": [0.2, 0.2, 0.2, 0.2, 0.2]}, {"strategy": "Size", "weights": [0.0819381361, 0.1315304605, 0.013183197, 0.160153882, 0.6131943244]}, {"strategy": "ValueNVT", "weights": [0.0, 7.5e-09, 0.9812317622, 0.0187681884, 4.19e-08]}, {"strategy": "Liquidity", "weights": [2.005e-07, 8.73e-08, 0.9999996633, 2.84e-08, 2.05e-08]}], "next_7d_returns": [-0.0358508688, -0.0399429756, 0.0, -0.0581757557, 0.0195402299]}
|
| 42 |
+
{"id": "quantinv_validation_0041_20241228", "split": "validation", "as_of": "2024-12-27T23:59:59.999999Z", "execution_at": "2024-12-28T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.8072640828, 0.0, 0.1927359172]}, {"strategy": "MaxSharpe", "weights": [0.5427469796, 0.0, 0.0, 0.4215033473, 0.0357496731]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.1547252642, 0.1288421264, 0.0, 0.6455274431, 0.0709051663]}, {"strategy": "RiskParity", "weights": [3.484e-07, 2.571e-07, 0.999998939, 1.354e-07, 3.201e-07]}, {"strategy": "NewsSentiment", "weights": [0.0823986178, 0.2491167391, 0.2341539538, 0.2162515105, 0.2180791788]}, {"strategy": "Size", "weights": [0.084597524, 0.1348233437, 0.01181378, 0.1581193052, 0.6106460471]}, {"strategy": "ValueNVT", "weights": [0.0, 5.6e-09, 0.9888729449, 0.0111270175, 3.2e-08]}, {"strategy": "Liquidity", "weights": [1.717e-07, 8.08e-08, 0.9999996984, 2.9e-08, 2.01e-08]}], "next_7d_returns": [0.0410941661, 0.0826426199, 0.0, 0.1434294499, 0.0332581736]}
|
| 43 |
+
{"id": "quantinv_validation_0042_20250104", "split": "validation", "as_of": "2025-01-03T23:59:59.999999Z", "execution_at": "2025-01-04T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0881645139, 0.0757503925, 0.374562219, 0.4615228746, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5675543846, 0.0, 0.0, 0.4324456154, 0.0]}, {"strategy": "TSMom14", "weights": [0.0, 0.0798683467, 0.0, 0.4996084929, 0.4205231604]}, {"strategy": "TSMom60", "weights": [0.1383515183, 0.1371767698, 0.0, 0.6294192233, 0.0950524886]}, {"strategy": "RiskParity", "weights": [3.552e-07, 2.623e-07, 0.9999989309, 1.337e-07, 3.179e-07]}, {"strategy": "NewsSentiment", "weights": [0.1838071174, 0.254501032, 0.2588984703, 0.0940650462, 0.2087283341]}, {"strategy": "Size", "weights": [0.0713717766, 0.1216754301, 0.0090930317, 0.1834832541, 0.6143765075]}, {"strategy": "ValueNVT", "weights": [0.0, 4.4e-09, 0.9929663134, 0.0070336584, 2.38e-08]}, {"strategy": "Liquidity", "weights": [1.431e-07, 6.56e-08, 0.9999997506, 2.52e-08, 1.55e-08]}], "next_7d_returns": [-0.0351219674, -0.094749238, 0.0, -0.0461174937, -0.0302992152]}
|
| 44 |
+
{"id": "quantinv_validation_0043_20250111", "split": "validation", "as_of": "2025-01-10T23:59:59.999999Z", "execution_at": "2025-01-11T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6173938828, 0.0, 0.0, 0.3826061172, 0.0]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0886567907, 0.007064347, 0.0, 0.8486128301, 0.0556660322]}, {"strategy": "RiskParity", "weights": [3.704e-07, 2.805e-07, 0.9999988967, 1.312e-07, 3.212e-07]}, {"strategy": "NewsSentiment", "weights": [0.1838071174, 0.254501032, 0.2588984703, 0.0940650462, 0.2087283341]}, {"strategy": "Size", "weights": [0.0674949456, 0.1127285309, 0.0071533156, 0.1971086339, 0.615514574]}, {"strategy": "ValueNVT", "weights": [0.0, 4.2e-09, 0.9941537342, 0.005846241, 2.06e-08]}, {"strategy": "Liquidity", "weights": [1.318e-07, 6.08e-08, 0.9999997687, 2.34e-08, 1.53e-08]}], "next_7d_returns": [0.0987200993, 0.0632344164, 0.0, 0.4061245409, 0.0411852108]}
|
| 45 |
+
{"id": "quantinv_validation_0044_20250118", "split": "validation", "as_of": "2025-01-17T23:59:59.999999Z", "execution_at": "2025-01-18T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.2203642467, 0.0304994112, 0.0, 0.6843197376, 0.0648166045]}, {"strategy": "MaxSharpe", "weights": [0.582634335, 0.0, 0.0, 0.417365665, 0.0]}, {"strategy": "TSMom14", "weights": [0.0913483864, 0.0, 0.0, 0.9007712394, 0.0078803742]}, {"strategy": "TSMom60", "weights": [0.0742835326, 0.0505693035, 0.0, 0.7815631018, 0.0935840621]}, {"strategy": "RiskParity", "weights": [4.319e-07, 2.775e-07, 0.9999988093, 1.464e-07, 3.349e-07]}, {"strategy": "NewsSentiment", "weights": [0.1838071174, 0.254501032, 0.2588984703, 0.0940650462, 0.2087283341]}, {"strategy": "Size", "weights": [0.0636574215, 0.1088039703, 0.0064559101, 0.1571080454, 0.6639746527]}, {"strategy": "ValueNVT", "weights": [0.0, 4.5e-09, 0.9943799175, 0.0056200608, 1.72e-08]}, {"strategy": "Liquidity", "weights": [1.327e-07, 5.28e-08, 0.9999997801, 2.12e-08, 1.32e-08]}], "next_7d_returns": [0.0076197087, -0.0470802962, 0.0, -0.0581660238, -0.057235092]}
|
| 46 |
+
{"id": "quantinv_validation_0045_20250125", "split": "validation", "as_of": "2025-01-24T23:59:59.999999Z", "execution_at": "2025-01-25T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0460868497, 0.9539131503, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5784403077, 0.0, 0.0, 0.4215596923, 0.0]}, {"strategy": "TSMom14", "weights": [0.2436152198, 0.0764079296, 0.0, 0.6669377116, 0.013039139]}, {"strategy": "TSMom60", "weights": [0.0675707648, 0.0, 0.0, 0.8818591957, 0.0505700395]}, {"strategy": "RiskParity", "weights": [4.196e-07, 2.855e-07, 0.9999988069, 1.542e-07, 3.338e-07]}, {"strategy": "NewsSentiment", "weights": [0.1838071174, 0.254501032, 0.2588984703, 0.0940650462, 0.2087283341]}, {"strategy": "Size", "weights": [0.054188477, 0.099025033, 0.0061593432, 0.1404471213, 0.7001800255]}, {"strategy": "ValueNVT", "weights": [0.0, 5e-09, 0.9947074551, 0.0052925227, 1.72e-08]}, {"strategy": "Liquidity", "weights": [1.401e-07, 5.46e-08, 0.9999997693, 2.21e-08, 1.39e-08]}], "next_7d_returns": [-0.0232758475, -0.0027521827, 0.0, -0.0208655831, -0.0043647586]}
|
| 47 |
+
{"id": "quantinv_validation_0046_20250201", "split": "validation", "as_of": "2025-01-31T23:59:59.999999Z", "execution_at": "2025-02-01T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 0.968317181, 0.031682819, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6645531636, 0.0, 0.0, 0.3354468364, 0.0]}, {"strategy": "TSMom14", "weights": [1.0, 0.0, 0.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.1790969915, 0.0, 0.0, 0.7434788906, 0.0774241179]}, {"strategy": "RiskParity", "weights": [4.449e-07, 3.029e-07, 0.9999987332, 1.761e-07, 3.429e-07]}, {"strategy": "NewsSentiment", "weights": [0.2336584604, 0.2620360382, 0.2464748499, 0.1095160409, 0.1483146106]}, {"strategy": "Size", "weights": [0.050774795, 0.090834236, 0.0060584882, 0.1293486997, 0.7229837811]}, {"strategy": "ValueNVT", "weights": [0.0, 5.6e-09, 0.9950261338, 0.0049738442, 1.64e-08]}, {"strategy": "Liquidity", "weights": [1.547e-07, 5.48e-08, 0.9999997468, 3.03e-08, 1.34e-08]}], "next_7d_returns": [-0.0578227613, -0.2056595143, 0.0, -0.2105332499, -0.1472811005]}
|
| 48 |
+
{"id": "quantinv_validation_0047_20250208", "split": "validation", "as_of": "2025-02-07T23:59:59.999999Z", "execution_at": "2025-02-08T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.7015106457, 0.0, 0.0, 0.2984893543, 0.0]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.294e-07, 2.928e-07, 0.9999986941, 1.932e-07, 3.905e-07]}, {"strategy": "NewsSentiment", "weights": [0.2220045917, 0.2632553804, 0.253655396, 0.1083284292, 0.1527562027]}, {"strategy": "Size", "weights": [0.0509558196, 0.0805581523, 0.0067766133, 0.1196475236, 0.7420618912]}, {"strategy": "ValueNVT", "weights": [0.0, 6.3e-09, 0.9944472795, 0.0055526979, 1.63e-08]}, {"strategy": "Liquidity", "weights": [1.714e-07, 5.69e-08, 0.9999997321, 2.84e-08, 1.12e-08]}], "next_7d_returns": [0.0102963729, 0.0396016948, 0.0, 0.1424756978, 0.1419768046]}
|
| 49 |
+
{"id": "quantinv_validation_0048_20250215", "split": "validation", "as_of": "2025-02-14T23:59:59.999999Z", "execution_at": "2025-02-15T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0084699319, 0.0822650607, 0.2227052003, 0.2834621738, 0.4030976333]}, {"strategy": "MaxSharpe", "weights": [0.672909515, 0.0, 0.0, 0.327090485, 0.0]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.58e-07, 3.045e-07, 0.9999986641, 2.116e-07, 3.618e-07]}, {"strategy": "NewsSentiment", "weights": [0.2873986779, 0.2198123068, 0.2254999763, 0.1176352221, 0.1496538169]}, {"strategy": "Size", "weights": [0.0654474595, 0.1002435379, 0.0082709189, 0.1628839099, 0.6631541738]}, {"strategy": "ValueNVT", "weights": [0.0, 6.8e-09, 0.99541766, 0.0045823126, 2.06e-08]}, {"strategy": "Liquidity", "weights": [1.77e-07, 6.05e-08, 0.9999997182, 3.3e-08, 1.13e-08]}], "next_7d_returns": [-0.0135228066, -0.0230928667, 0.0, -0.0606923751, -0.0185684836]}
|
| 50 |
+
{"id": "quantinv_validation_0049_20250222", "split": "validation", "as_of": "2025-02-21T23:59:59.999999Z", "execution_at": "2025-02-22T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0376649905, 0.0833548439, 0.8789801656, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6348456904, 0.0, 0.0, 0.332940278, 0.0322140316]}, {"strategy": "TSMom14", "weights": [0.0561597226, 0.0592406771, 0.0, 0.4530548823, 0.431544718]}, {"strategy": "TSMom60", "weights": [0.1336935795, 0.0, 0.0, 0.8244599075, 0.041846513]}, {"strategy": "RiskParity", "weights": [4.924e-07, 3.205e-07, 0.9999986005, 2.133e-07, 3.733e-07]}, {"strategy": "NewsSentiment", "weights": [0.3067589794, 0.1998706346, 0.2056532736, 0.1323082172, 0.1554088952]}, {"strategy": "Size", "weights": [0.0724811272, 0.1021401101, 0.0073025724, 0.1968487212, 0.6212274691]}, {"strategy": "ValueNVT", "weights": [0.0, 6.6e-09, 0.996447707, 0.003552265, 2.14e-08]}, {"strategy": "Liquidity", "weights": [1.703e-07, 6.06e-08, 0.9999997326, 2.52e-08, 1.13e-08]}], "next_7d_returns": [-0.1230172094, -0.1597484041, 0.0, -0.1659279994, -0.0917417023]}
|
| 51 |
+
{"id": "quantinv_validation_0050_20250301", "split": "validation", "as_of": "2025-02-28T23:59:59.999999Z", "execution_at": "2025-03-01T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5943564535, 0.0, 0.0, 0.3104705589, 0.0951729876]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [4.678e-07, 2.917e-07, 0.9999986539, 2.043e-07, 3.823e-07]}, {"strategy": "NewsSentiment", "weights": [0.228679321, 0.3017998369, 0.1830563658, 0.1368273403, 0.149637136]}, {"strategy": "Size", "weights": [0.0683463709, 0.0969548631, 0.0076041458, 0.2125981529, 0.6144964673]}, {"strategy": "ValueNVT", "weights": [0.0, 9.2e-09, 0.996295118, 0.0037048492, 2.36e-08]}, {"strategy": "Liquidity", "weights": [1.7e-07, 5.58e-08, 0.9999997407, 2.27e-08, 1.08e-08]}], "next_7d_returns": [0.0290668815, -0.0428988331, 0.0, 0.1119138622, 0.0113932015]}
|
| 52 |
+
{"id": "quantinv_validation_0051_20250308", "split": "validation", "as_of": "2025-03-07T23:59:59.999999Z", "execution_at": "2025-03-08T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.220971011, 0.0, 0.0477510609, 0.7312779281, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.6582570358, 0.0, 0.0, 0.2656485354, 0.0760944288]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.657e-07, 2.353e-07, 0.9999989059, 1.458e-07, 3.473e-07]}, {"strategy": "NewsSentiment", "weights": [0.2985290053, 0.2261909363, 0.1495244461, 0.1968054781, 0.1289501342]}, {"strategy": "Size", "weights": [0.0598457171, 0.1041356612, 0.0071528668, 0.2196167764, 0.6092489785]}, {"strategy": "ValueNVT", "weights": [0.0, 9.5e-09, 0.9957878105, 0.0042121564, 2.36e-08]}, {"strategy": "Liquidity", "weights": [1.59e-07, 5.37e-08, 0.9999997555, 2.08e-08, 1.1e-08]}], "next_7d_returns": [-0.0324711233, -0.1073776616, 0.0, -0.0121987005, -0.0117860686]}
|
| 53 |
+
{"id": "quantinv_validation_0052_20250315", "split": "validation", "as_of": "2025-03-14T23:59:59.999999Z", "execution_at": "2025-03-15T00:00:00Z", "assets": ["BTC", "ETH", "USDT", "XRP", "BNB"], "strategy_proposals": [{"strategy": "Momentum", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "MaxSharpe", "weights": [0.5728159995, 0.0, 0.0, 0.2513175433, 0.1758664572]}, {"strategy": "TSMom14", "weights": [0.0, 0.0, 0.0, 1.0, 0.0]}, {"strategy": "TSMom60", "weights": [0.0, 0.0, 1.0, 0.0, 0.0]}, {"strategy": "RiskParity", "weights": [3.504e-07, 2.286e-07, 0.9999989474, 1.446e-07, 3.29e-07]}, {"strategy": "NewsSentiment", "weights": [0.2985290053, 0.2261909363, 0.1495244461, 0.1968054781, 0.1289501342]}, {"strategy": "Size", "weights": [0.0543499589, 0.0989196972, 0.0067870491, 0.2104071481, 0.6295361467]}, {"strategy": "ValueNVT", "weights": [0.0, 1.2e-08, 0.9955665426, 0.0044334231, 2.23e-08]}, {"strategy": "Liquidity", "weights": [1.18e-07, 4.44e-08, 0.9999998117, 1.66e-08, 9.3e-09]}], "next_7d_returns": [0.0012573945, 0.0283003076, 0.0, 0.0103972161, 0.0806451613]}
|
environment.yml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: quantinv-hf
|
| 2 |
+
channels:
|
| 3 |
+
- pytorch
|
| 4 |
+
- conda-forge
|
| 5 |
+
dependencies:
|
| 6 |
+
- python=3.11
|
| 7 |
+
- numpy>=1.26
|
| 8 |
+
- pandas>=2.1
|
| 9 |
+
- scipy>=1.11
|
| 10 |
+
- pyarrow>=15
|
| 11 |
+
- pytorch>=2.6
|
| 12 |
+
- cpuonly
|
| 13 |
+
- pip
|
| 14 |
+
- pip:
|
| 15 |
+
- datasets>=3,<4
|
| 16 |
+
- huggingface_hub>=0.28,<1
|
| 17 |
+
- transformers>=4.40,<6
|
requirements-generation.txt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
-r requirements.txt
|
| 2 |
+
torch>=2.6,<3
|
| 3 |
+
transformers>=4.40,<6
|
requirements.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
numpy>=1.26,<3
|
| 2 |
+
pandas>=2.1,<4
|
| 3 |
+
scipy>=1.11,<2
|
| 4 |
+
datasets>=3,<4
|
| 5 |
+
huggingface_hub>=0.28,<1
|
scripts/__init__.py
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""QuantInvBench Hugging Face release tools."""
|
| 2 |
+
|
scripts/common.py
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Shared constants and JSONL helpers for the QuantInvBench release."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import hashlib
|
| 6 |
+
import json
|
| 7 |
+
import math
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
from typing import Iterable, Mapping, Sequence
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
COINS = ("bitcoin", "ethereum", "tether", "xrp", "bnb")
|
| 13 |
+
ASSETS = ("BTC", "ETH", "USDT", "XRP", "BNB")
|
| 14 |
+
COIN_TO_ASSET = dict(zip(COINS, ASSETS))
|
| 15 |
+
STRATEGIES = (
|
| 16 |
+
"Momentum",
|
| 17 |
+
"MaxSharpe",
|
| 18 |
+
"TSMom14",
|
| 19 |
+
"TSMom60",
|
| 20 |
+
"RiskParity",
|
| 21 |
+
"NewsSentiment",
|
| 22 |
+
"Size",
|
| 23 |
+
"ValueNVT",
|
| 24 |
+
"Liquidity",
|
| 25 |
+
)
|
| 26 |
+
REBALANCE_DAYS = 7
|
| 27 |
+
TRANSACTION_COST = 0.001
|
| 28 |
+
WEIGHT_TOLERANCE = 1e-6
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def sha256_file(path: Path) -> str:
|
| 32 |
+
digest = hashlib.sha256()
|
| 33 |
+
with path.open("rb") as handle:
|
| 34 |
+
for block in iter(lambda: handle.read(1024 * 1024), b""):
|
| 35 |
+
digest.update(block)
|
| 36 |
+
return digest.hexdigest()
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def read_jsonl(path: Path) -> list[dict]:
|
| 40 |
+
records = []
|
| 41 |
+
with path.open(encoding="utf-8") as handle:
|
| 42 |
+
for line_number, line in enumerate(handle, start=1):
|
| 43 |
+
if not line.strip():
|
| 44 |
+
continue
|
| 45 |
+
try:
|
| 46 |
+
records.append(json.loads(line))
|
| 47 |
+
except json.JSONDecodeError as exc:
|
| 48 |
+
raise ValueError(f"{path}:{line_number}: invalid JSON: {exc}") from exc
|
| 49 |
+
return records
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
def write_jsonl(path: Path, records: Iterable[dict]) -> None:
|
| 53 |
+
path.parent.mkdir(parents=True, exist_ok=True)
|
| 54 |
+
with path.open("w", encoding="utf-8", newline="\n") as handle:
|
| 55 |
+
for record in records:
|
| 56 |
+
handle.write(json.dumps(record, ensure_ascii=False, allow_nan=False))
|
| 57 |
+
handle.write("\n")
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
def validated_weights(
|
| 61 |
+
values: Mapping[str, float] | Sequence[float],
|
| 62 |
+
*,
|
| 63 |
+
label: str,
|
| 64 |
+
) -> list[float]:
|
| 65 |
+
if isinstance(values, Mapping):
|
| 66 |
+
weights = [float(values[coin]) for coin in COINS]
|
| 67 |
+
else:
|
| 68 |
+
weights = [float(value) for value in values]
|
| 69 |
+
|
| 70 |
+
if len(weights) != len(ASSETS):
|
| 71 |
+
raise ValueError(f"{label}: expected {len(ASSETS)} weights, got {len(weights)}")
|
| 72 |
+
if not all(math.isfinite(value) for value in weights):
|
| 73 |
+
raise ValueError(f"{label}: weights contain NaN or Infinity")
|
| 74 |
+
if any(value < -WEIGHT_TOLERANCE for value in weights):
|
| 75 |
+
raise ValueError(f"{label}: weights must be non-negative: {weights}")
|
| 76 |
+
|
| 77 |
+
weights = [max(0.0, value) for value in weights]
|
| 78 |
+
total = sum(weights)
|
| 79 |
+
if total <= 0:
|
| 80 |
+
raise ValueError(f"{label}: weights sum to zero")
|
| 81 |
+
|
| 82 |
+
normalized = [value / total for value in weights]
|
| 83 |
+
rounded = [round(value, 10) for value in normalized]
|
| 84 |
+
largest_index = max(range(len(rounded)), key=rounded.__getitem__)
|
| 85 |
+
rounded[largest_index] = round(
|
| 86 |
+
rounded[largest_index] + (1.0 - sum(rounded)), 10
|
| 87 |
+
)
|
| 88 |
+
if abs(sum(rounded) - 1.0) > WEIGHT_TOLERANCE:
|
| 89 |
+
raise ValueError(f"{label}: normalized weights do not sum to one")
|
| 90 |
+
return rounded
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def usdt_fallback() -> dict[str, float]:
|
| 94 |
+
return {coin: (1.0 if coin == "tether" else 0.0) for coin in COINS}
|
scripts/compute_sentiment.py
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Create the derived FinBERT sentiment file required by generate.py."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import glob
|
| 8 |
+
import json
|
| 9 |
+
from datetime import datetime, timezone
|
| 10 |
+
from pathlib import Path
|
| 11 |
+
|
| 12 |
+
import torch
|
| 13 |
+
import torch.nn.functional as functional
|
| 14 |
+
from transformers import AutoModelForSequenceClassification, AutoTokenizer
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
MODEL_ID = "ProsusAI/finbert"
|
| 18 |
+
CRYPTO_KEYWORDS = {
|
| 19 |
+
"bitcoin": ("bitcoin", "btc"),
|
| 20 |
+
"ethereum": ("ethereum", "eth", "ether"),
|
| 21 |
+
"tether": ("tether", "usdt"),
|
| 22 |
+
"xrp": ("xrp", "ripple"),
|
| 23 |
+
"bnb": ("bnb", "binance coin", "binance"),
|
| 24 |
+
}
|
| 25 |
+
GENERAL_KEYWORDS = (
|
| 26 |
+
"crypto",
|
| 27 |
+
"cryptocurrency",
|
| 28 |
+
"digital currency",
|
| 29 |
+
"blockchain",
|
| 30 |
+
"defi",
|
| 31 |
+
"digital asset",
|
| 32 |
+
"altcoin",
|
| 33 |
+
"token",
|
| 34 |
+
)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
def parse_args() -> argparse.Namespace:
|
| 38 |
+
project_root = Path(__file__).resolve().parents[3]
|
| 39 |
+
release_root = Path(__file__).resolve().parents[1]
|
| 40 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 41 |
+
parser.add_argument("--input-dir", type=Path, default=project_root / "smdata")
|
| 42 |
+
parser.add_argument(
|
| 43 |
+
"--output",
|
| 44 |
+
type=Path,
|
| 45 |
+
default=release_root / "cache" / "crypto_news_sentiment.json",
|
| 46 |
+
)
|
| 47 |
+
parser.add_argument("--batch-size", type=int, default=16)
|
| 48 |
+
parser.add_argument("--device", choices=("auto", "cpu", "cuda"), default="auto")
|
| 49 |
+
parser.add_argument(
|
| 50 |
+
"--local-files-only",
|
| 51 |
+
action="store_true",
|
| 52 |
+
help="Use the already cached tokenizer/model without contacting Hugging Face",
|
| 53 |
+
)
|
| 54 |
+
return parser.parse_args()
|
| 55 |
+
|
| 56 |
+
|
| 57 |
+
def article_text(article: dict) -> str:
|
| 58 |
+
title = article.get("title", "") or article.get("original_content", "")
|
| 59 |
+
full = article.get("full_content", "") or ""
|
| 60 |
+
if len(full) > 50 and not full.startswith(("HTTP", "Could not")):
|
| 61 |
+
return f"{title}. {full[:400]}" if title else full[:500]
|
| 62 |
+
return title
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
def mentioned_coins(text: str) -> list[str]:
|
| 66 |
+
lowered = text.lower()
|
| 67 |
+
matches = [
|
| 68 |
+
coin
|
| 69 |
+
for coin, keywords in CRYPTO_KEYWORDS.items()
|
| 70 |
+
if any(keyword in lowered for keyword in keywords)
|
| 71 |
+
]
|
| 72 |
+
if matches:
|
| 73 |
+
return matches
|
| 74 |
+
if any(keyword in lowered for keyword in GENERAL_KEYWORDS):
|
| 75 |
+
return list(CRYPTO_KEYWORDS)
|
| 76 |
+
return list(CRYPTO_KEYWORDS)
|
| 77 |
+
|
| 78 |
+
|
| 79 |
+
def score_articles(articles: list[dict], tokenizer, model, device, batch_size: int) -> list[float]:
|
| 80 |
+
scores = []
|
| 81 |
+
texts = [article_text(article) for article in articles]
|
| 82 |
+
for start in range(0, len(texts), batch_size):
|
| 83 |
+
batch = texts[start : start + batch_size]
|
| 84 |
+
inputs = tokenizer(
|
| 85 |
+
batch,
|
| 86 |
+
padding=True,
|
| 87 |
+
truncation=True,
|
| 88 |
+
max_length=512,
|
| 89 |
+
return_tensors="pt",
|
| 90 |
+
).to(device)
|
| 91 |
+
with torch.no_grad():
|
| 92 |
+
logits = model(**inputs).logits
|
| 93 |
+
probabilities = functional.softmax(logits, dim=-1)
|
| 94 |
+
scores.extend((probabilities[:, 0] - probabilities[:, 1]).cpu().tolist())
|
| 95 |
+
print(f"Scored {min(start + batch_size, len(texts))}/{len(texts)}", end="\r")
|
| 96 |
+
print()
|
| 97 |
+
return scores
|
| 98 |
+
|
| 99 |
+
|
| 100 |
+
def main() -> None:
|
| 101 |
+
args = parse_args()
|
| 102 |
+
if args.batch_size <= 0:
|
| 103 |
+
raise ValueError("batch size must be positive")
|
| 104 |
+
paths = sorted(Path(path) for path in glob.glob(str(args.input_dir / "crypto_strong_news_*_scored.json")))
|
| 105 |
+
if not paths:
|
| 106 |
+
raise FileNotFoundError(f"No scored news files found in {args.input_dir}")
|
| 107 |
+
|
| 108 |
+
articles = []
|
| 109 |
+
seen_articles = set()
|
| 110 |
+
for path in paths:
|
| 111 |
+
with path.open(encoding="utf-8") as handle:
|
| 112 |
+
payload = json.load(handle)
|
| 113 |
+
source_articles = payload if isinstance(payload, list) else payload.get("articles", [])
|
| 114 |
+
for article in source_articles:
|
| 115 |
+
if article.get("language") != "English" or not article_text(article).strip():
|
| 116 |
+
continue
|
| 117 |
+
identity = (
|
| 118 |
+
article.get("timestamp", ""),
|
| 119 |
+
article.get("title", ""),
|
| 120 |
+
article.get("url", ""),
|
| 121 |
+
)
|
| 122 |
+
if identity in seen_articles:
|
| 123 |
+
continue
|
| 124 |
+
seen_articles.add(identity)
|
| 125 |
+
articles.append(article)
|
| 126 |
+
articles.sort(key=lambda article: article.get("timestamp", ""))
|
| 127 |
+
|
| 128 |
+
if args.device == "auto":
|
| 129 |
+
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
| 130 |
+
else:
|
| 131 |
+
device = torch.device(args.device)
|
| 132 |
+
print(f"Loading {MODEL_ID} on {device}; {len(articles)} articles")
|
| 133 |
+
tokenizer = AutoTokenizer.from_pretrained(
|
| 134 |
+
MODEL_ID,
|
| 135 |
+
local_files_only=args.local_files_only,
|
| 136 |
+
)
|
| 137 |
+
# FinBERT is published with both .bin and .safetensors weights. Newer
|
| 138 |
+
# Transformers rejects torch.load for older PyTorch versions, so force the
|
| 139 |
+
# safe checkpoint even when the legacy .bin file is also cached.
|
| 140 |
+
model = AutoModelForSequenceClassification.from_pretrained(
|
| 141 |
+
MODEL_ID,
|
| 142 |
+
use_safetensors=True,
|
| 143 |
+
local_files_only=args.local_files_only,
|
| 144 |
+
).to(device).eval()
|
| 145 |
+
scores = score_articles(articles, tokenizer, model, device, args.batch_size)
|
| 146 |
+
|
| 147 |
+
derived = [
|
| 148 |
+
{
|
| 149 |
+
"timestamp": article.get("timestamp", ""),
|
| 150 |
+
"sentiment": round(float(score), 6),
|
| 151 |
+
"coins": mentioned_coins(article_text(article)),
|
| 152 |
+
}
|
| 153 |
+
for article, score in zip(articles, scores)
|
| 154 |
+
]
|
| 155 |
+
output = {
|
| 156 |
+
"metadata": {
|
| 157 |
+
"model": MODEL_ID,
|
| 158 |
+
"model_revision": getattr(model.config, "_commit_hash", None),
|
| 159 |
+
"score_formula": "P(positive) - P(negative)",
|
| 160 |
+
"generated_at": datetime.now(timezone.utc).isoformat(),
|
| 161 |
+
"article_count": len(derived),
|
| 162 |
+
"contains_article_text": False,
|
| 163 |
+
},
|
| 164 |
+
"articles": derived,
|
| 165 |
+
}
|
| 166 |
+
args.output.parent.mkdir(parents=True, exist_ok=True)
|
| 167 |
+
with args.output.open("w", encoding="utf-8") as handle:
|
| 168 |
+
json.dump(output, handle, ensure_ascii=False, allow_nan=False)
|
| 169 |
+
handle.write("\n")
|
| 170 |
+
print(f"Wrote {len(derived)} derived records to {args.output}")
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
if __name__ == "__main__":
|
| 174 |
+
main()
|
scripts/evaluate.py
ADDED
|
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Evaluate QuantInvBench baselines or submitted portfolio weights."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import json
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
import numpy as np
|
| 11 |
+
|
| 12 |
+
from common import ASSETS, TRANSACTION_COST, read_jsonl, validated_weights
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
def parse_args() -> argparse.Namespace:
|
| 16 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 17 |
+
parser.add_argument("--data", type=Path, default=Path(__file__).resolve().parents[1] / "data" / "test.jsonl")
|
| 18 |
+
group = parser.add_mutually_exclusive_group(required=True)
|
| 19 |
+
group.add_argument("--baseline", choices=("equal_weight", "simple_avg"))
|
| 20 |
+
group.add_argument("--predictions", type=Path, help="JSONL records with id and weights")
|
| 21 |
+
parser.add_argument("--transaction-cost", type=float, default=TRANSACTION_COST)
|
| 22 |
+
return parser.parse_args()
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def baseline_weights(record: dict, baseline: str) -> list[float]:
|
| 26 |
+
if baseline == "equal_weight":
|
| 27 |
+
return [1.0 / len(ASSETS)] * len(ASSETS)
|
| 28 |
+
proposals = [proposal["weights"] for proposal in record["strategy_proposals"]]
|
| 29 |
+
return validated_weights(np.mean(proposals, axis=0).tolist(), label="simple_avg")
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
def load_predictions(path: Path) -> dict[str, list[float]]:
|
| 33 |
+
predictions = {}
|
| 34 |
+
for index, record in enumerate(read_jsonl(path)):
|
| 35 |
+
if set(record) != {"id", "weights"}:
|
| 36 |
+
raise ValueError(f"prediction {index}: expected only id and weights")
|
| 37 |
+
identifier = record["id"]
|
| 38 |
+
if not isinstance(identifier, str) or identifier in predictions:
|
| 39 |
+
raise ValueError(f"prediction {index}: invalid or duplicate id")
|
| 40 |
+
predictions[identifier] = validated_weights(record["weights"], label=identifier)
|
| 41 |
+
return predictions
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def evaluate(records: list[dict], weights_by_id: dict[str, list[float]], transaction_cost: float) -> dict:
|
| 45 |
+
if not 0 <= transaction_cost < 1:
|
| 46 |
+
raise ValueError("transaction cost must be in [0, 1)")
|
| 47 |
+
capital = 1.0
|
| 48 |
+
peak = capital
|
| 49 |
+
maximum_drawdown = 0.0
|
| 50 |
+
previous_weights = np.full(len(ASSETS), 1.0 / len(ASSETS))
|
| 51 |
+
period_returns = []
|
| 52 |
+
turnovers = []
|
| 53 |
+
|
| 54 |
+
for record in records:
|
| 55 |
+
identifier = record["id"]
|
| 56 |
+
if identifier not in weights_by_id:
|
| 57 |
+
raise ValueError(f"missing prediction for {identifier}")
|
| 58 |
+
weights = np.asarray(weights_by_id[identifier], dtype=float)
|
| 59 |
+
asset_returns = np.asarray(record["next_7d_returns"], dtype=float)
|
| 60 |
+
turnover = float(np.abs(weights - previous_weights).sum() / 2.0)
|
| 61 |
+
gross_return = float(weights @ asset_returns)
|
| 62 |
+
net_growth = (1.0 - transaction_cost * turnover) * (1.0 + gross_return)
|
| 63 |
+
if net_growth <= 0:
|
| 64 |
+
raise ValueError(f"{identifier}: portfolio value became non-positive")
|
| 65 |
+
net_return = net_growth - 1.0
|
| 66 |
+
capital *= net_growth
|
| 67 |
+
peak = max(peak, capital)
|
| 68 |
+
maximum_drawdown = max(maximum_drawdown, 1.0 - capital / peak)
|
| 69 |
+
period_returns.append(net_return)
|
| 70 |
+
turnovers.append(turnover)
|
| 71 |
+
previous_weights = weights
|
| 72 |
+
|
| 73 |
+
returns = np.asarray(period_returns, dtype=float)
|
| 74 |
+
volatility = float(returns.std(ddof=1)) if len(returns) > 1 else 0.0
|
| 75 |
+
sharpe = float(returns.mean() / volatility * np.sqrt(52)) if volatility > 0 else 0.0
|
| 76 |
+
return {
|
| 77 |
+
"samples": len(records),
|
| 78 |
+
"cumulative_return": round(capital - 1.0, 10),
|
| 79 |
+
"annualized_sharpe": round(sharpe, 10),
|
| 80 |
+
"max_drawdown": round(maximum_drawdown, 10),
|
| 81 |
+
"average_turnover": round(float(np.mean(turnovers)), 10),
|
| 82 |
+
"transaction_cost": transaction_cost,
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
def main() -> None:
|
| 87 |
+
args = parse_args()
|
| 88 |
+
records = read_jsonl(args.data.resolve())
|
| 89 |
+
if not records:
|
| 90 |
+
raise ValueError(f"empty dataset: {args.data}")
|
| 91 |
+
|
| 92 |
+
if args.baseline:
|
| 93 |
+
weights_by_id = {
|
| 94 |
+
record["id"]: baseline_weights(record, args.baseline)
|
| 95 |
+
for record in records
|
| 96 |
+
}
|
| 97 |
+
method = args.baseline
|
| 98 |
+
else:
|
| 99 |
+
weights_by_id = load_predictions(args.predictions.resolve())
|
| 100 |
+
expected_ids = {record["id"] for record in records}
|
| 101 |
+
extra_ids = set(weights_by_id) - expected_ids
|
| 102 |
+
if extra_ids:
|
| 103 |
+
raise ValueError(f"predictions contain unknown ids: {sorted(extra_ids)[:3]}")
|
| 104 |
+
method = str(args.predictions)
|
| 105 |
+
|
| 106 |
+
metrics = evaluate(records, weights_by_id, args.transaction_cost)
|
| 107 |
+
print(json.dumps({"method": method, **metrics}, indent=2, allow_nan=False))
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
if __name__ == "__main__":
|
| 111 |
+
main()
|
| 112 |
+
|
scripts/generate.py
ADDED
|
@@ -0,0 +1,230 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Generate causal QuantInvBench JSONL splits for Hugging Face."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import json
|
| 8 |
+
from datetime import datetime, timedelta, timezone
|
| 9 |
+
from pathlib import Path
|
| 10 |
+
|
| 11 |
+
import numpy as np
|
| 12 |
+
import pandas as pd
|
| 13 |
+
|
| 14 |
+
from common import (
|
| 15 |
+
ASSETS,
|
| 16 |
+
COINS,
|
| 17 |
+
REBALANCE_DAYS,
|
| 18 |
+
STRATEGIES,
|
| 19 |
+
TRANSACTION_COST,
|
| 20 |
+
sha256_file,
|
| 21 |
+
write_jsonl,
|
| 22 |
+
)
|
| 23 |
+
from strategies import SentimentIndex, compute_proposals
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
PROJECT_ROOT = Path(__file__).resolve().parents[3]
|
| 27 |
+
RELEASE_ROOT = Path(__file__).resolve().parents[1]
|
| 28 |
+
SPLIT_BOUNDS = {
|
| 29 |
+
"train": (None, pd.Timestamp("2024-03-15", tz="UTC")),
|
| 30 |
+
"validation": (
|
| 31 |
+
pd.Timestamp("2024-03-16", tz="UTC"),
|
| 32 |
+
pd.Timestamp("2025-03-15", tz="UTC"),
|
| 33 |
+
),
|
| 34 |
+
"test": (
|
| 35 |
+
pd.Timestamp("2025-03-16", tz="UTC"),
|
| 36 |
+
pd.Timestamp("2026-03-15", tz="UTC"),
|
| 37 |
+
),
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
def parse_args() -> argparse.Namespace:
|
| 42 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 43 |
+
parser.add_argument("--data-dir", type=Path, default=PROJECT_ROOT / "data")
|
| 44 |
+
parser.add_argument(
|
| 45 |
+
"--sentiment-file",
|
| 46 |
+
type=Path,
|
| 47 |
+
default=RELEASE_ROOT / "cache" / "crypto_news_sentiment.json",
|
| 48 |
+
)
|
| 49 |
+
parser.add_argument("--output-dir", type=Path, default=RELEASE_ROOT / "data")
|
| 50 |
+
return parser.parse_args()
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def load_daily_data(data_dir: Path) -> dict[str, pd.DataFrame]:
|
| 54 |
+
frames = {}
|
| 55 |
+
required_columns = {
|
| 56 |
+
"date",
|
| 57 |
+
"open",
|
| 58 |
+
"high",
|
| 59 |
+
"low",
|
| 60 |
+
"close",
|
| 61 |
+
"volume",
|
| 62 |
+
"quote_volume",
|
| 63 |
+
}
|
| 64 |
+
for coin in COINS:
|
| 65 |
+
path = data_dir / f"{coin}_prices_1h.csv"
|
| 66 |
+
if not path.exists():
|
| 67 |
+
raise FileNotFoundError(f"Missing source data: {path}")
|
| 68 |
+
hourly = pd.read_csv(path)
|
| 69 |
+
missing = required_columns - set(hourly.columns)
|
| 70 |
+
if missing:
|
| 71 |
+
raise ValueError(f"{path}: missing columns {sorted(missing)}")
|
| 72 |
+
|
| 73 |
+
hourly["date"] = pd.to_datetime(hourly["date"], utc=True)
|
| 74 |
+
for column in required_columns - {"date"}:
|
| 75 |
+
hourly[column] = pd.to_numeric(hourly[column], errors="raise")
|
| 76 |
+
if hourly["date"].duplicated().any():
|
| 77 |
+
raise ValueError(f"{path}: duplicate hourly timestamps")
|
| 78 |
+
if not hourly["date"].is_monotonic_increasing:
|
| 79 |
+
hourly = hourly.sort_values("date")
|
| 80 |
+
|
| 81 |
+
daily = (
|
| 82 |
+
hourly.set_index("date")
|
| 83 |
+
.resample("1D")
|
| 84 |
+
.agg(
|
| 85 |
+
{
|
| 86 |
+
"open": "first",
|
| 87 |
+
"high": "max",
|
| 88 |
+
"low": "min",
|
| 89 |
+
"close": "last",
|
| 90 |
+
"volume": "sum",
|
| 91 |
+
"quote_volume": "sum",
|
| 92 |
+
}
|
| 93 |
+
)
|
| 94 |
+
.dropna()
|
| 95 |
+
)
|
| 96 |
+
if not np.isfinite(daily.to_numpy(dtype=float)).all():
|
| 97 |
+
raise ValueError(f"{path}: daily data contains NaN or Infinity")
|
| 98 |
+
if (daily[["open", "high", "low", "close"]] <= 0).any().any():
|
| 99 |
+
raise ValueError(f"{path}: source contains non-positive prices")
|
| 100 |
+
frames[coin] = daily
|
| 101 |
+
|
| 102 |
+
common_dates = frames[COINS[0]].index
|
| 103 |
+
for coin in COINS[1:]:
|
| 104 |
+
common_dates = common_dates.intersection(frames[coin].index)
|
| 105 |
+
if common_dates.empty:
|
| 106 |
+
raise ValueError("The five assets have no common daily dates")
|
| 107 |
+
return {coin: frame.loc[common_dates].copy() for coin, frame in frames.items()}
|
| 108 |
+
|
| 109 |
+
|
| 110 |
+
def scalar_at(frame: pd.DataFrame, date: pd.Timestamp, column: str) -> float:
|
| 111 |
+
try:
|
| 112 |
+
value = frame.at[date, column]
|
| 113 |
+
except KeyError as exc:
|
| 114 |
+
raise ValueError(f"Missing {column} for {date.date()}") from exc
|
| 115 |
+
if isinstance(value, pd.Series):
|
| 116 |
+
raise ValueError(f"Duplicate value for {date.date()}")
|
| 117 |
+
return float(value)
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def split_dates(
|
| 121 |
+
split: str,
|
| 122 |
+
common_dates: pd.DatetimeIndex,
|
| 123 |
+
) -> list[pd.Timestamp]:
|
| 124 |
+
configured_start, configured_end = SPLIT_BOUNDS[split]
|
| 125 |
+
history_ready = common_dates.min() + pd.Timedelta(days=61)
|
| 126 |
+
start = max(history_ready, configured_start) if configured_start is not None else history_ready
|
| 127 |
+
latest_execution = common_dates.max() - pd.Timedelta(days=REBALANCE_DAYS)
|
| 128 |
+
end = min(configured_end, latest_execution)
|
| 129 |
+
if start > end:
|
| 130 |
+
raise ValueError(f"{split}: no dates available between {start} and {end}")
|
| 131 |
+
|
| 132 |
+
dates = list(pd.date_range(start=start, end=end, freq=f"{REBALANCE_DAYS}D"))
|
| 133 |
+
common_set = set(common_dates)
|
| 134 |
+
for execution in dates:
|
| 135 |
+
if execution not in common_set:
|
| 136 |
+
raise ValueError(f"{split}: missing execution date {execution.date()}")
|
| 137 |
+
exit_date = execution + pd.Timedelta(days=REBALANCE_DAYS)
|
| 138 |
+
if exit_date not in common_set:
|
| 139 |
+
raise ValueError(f"{split}: missing exit date {exit_date.date()}")
|
| 140 |
+
return dates
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
def make_record(
|
| 144 |
+
split: str,
|
| 145 |
+
index: int,
|
| 146 |
+
execution: pd.Timestamp,
|
| 147 |
+
frames: dict[str, pd.DataFrame],
|
| 148 |
+
sentiment: SentimentIndex,
|
| 149 |
+
) -> dict:
|
| 150 |
+
history = {coin: frame.loc[frame.index < execution] for coin, frame in frames.items()}
|
| 151 |
+
if min(len(frame) for frame in history.values()) < 61:
|
| 152 |
+
raise ValueError(f"{execution.date()}: insufficient causal history")
|
| 153 |
+
|
| 154 |
+
as_of_timestamp = execution.to_pydatetime() - timedelta(microseconds=1)
|
| 155 |
+
exit_date = execution + pd.Timedelta(days=REBALANCE_DAYS)
|
| 156 |
+
next_returns = []
|
| 157 |
+
for coin in COINS:
|
| 158 |
+
entry = scalar_at(frames[coin], execution, "open")
|
| 159 |
+
exit_price = scalar_at(frames[coin], exit_date, "open")
|
| 160 |
+
next_returns.append(round(exit_price / entry - 1.0, 10))
|
| 161 |
+
|
| 162 |
+
proposals = compute_proposals(history, sentiment, as_of_timestamp)
|
| 163 |
+
if [proposal["strategy"] for proposal in proposals] != list(STRATEGIES):
|
| 164 |
+
raise ValueError(f"{execution.date()}: strategy roster changed")
|
| 165 |
+
|
| 166 |
+
return {
|
| 167 |
+
"id": f"quantinv_{split}_{index:04d}_{execution:%Y%m%d}",
|
| 168 |
+
"split": split,
|
| 169 |
+
"as_of": as_of_timestamp.astimezone(timezone.utc).isoformat().replace("+00:00", "Z"),
|
| 170 |
+
"execution_at": execution.isoformat().replace("+00:00", "Z"),
|
| 171 |
+
"assets": list(ASSETS),
|
| 172 |
+
"strategy_proposals": proposals,
|
| 173 |
+
"next_7d_returns": next_returns,
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
def main() -> None:
|
| 178 |
+
args = parse_args()
|
| 179 |
+
data_dir = args.data_dir.resolve()
|
| 180 |
+
sentiment_file = args.sentiment_file.resolve()
|
| 181 |
+
output_dir = args.output_dir.resolve()
|
| 182 |
+
|
| 183 |
+
frames = load_daily_data(data_dir)
|
| 184 |
+
sentiment = SentimentIndex(sentiment_file)
|
| 185 |
+
common_dates = frames[COINS[0]].index
|
| 186 |
+
|
| 187 |
+
split_records = {}
|
| 188 |
+
for split in SPLIT_BOUNDS:
|
| 189 |
+
dates = split_dates(split, common_dates)
|
| 190 |
+
records = [
|
| 191 |
+
make_record(split, index, execution, frames, sentiment)
|
| 192 |
+
for index, execution in enumerate(dates)
|
| 193 |
+
]
|
| 194 |
+
split_records[split] = records
|
| 195 |
+
|
| 196 |
+
output_dir.mkdir(parents=True, exist_ok=True)
|
| 197 |
+
for split, records in split_records.items():
|
| 198 |
+
write_jsonl(output_dir / f"{split}.jsonl", records)
|
| 199 |
+
|
| 200 |
+
source_hashes = {
|
| 201 |
+
f"{coin}_prices_1h.csv": sha256_file(data_dir / f"{coin}_prices_1h.csv")
|
| 202 |
+
for coin in COINS
|
| 203 |
+
}
|
| 204 |
+
source_hashes[sentiment_file.name] = sha256_file(sentiment_file)
|
| 205 |
+
manifest = {
|
| 206 |
+
"dataset": "QuantInvBench",
|
| 207 |
+
"version": "1.0.0",
|
| 208 |
+
"generated_at": datetime.now(timezone.utc).isoformat(),
|
| 209 |
+
"assets": list(ASSETS),
|
| 210 |
+
"strategies": list(STRATEGIES),
|
| 211 |
+
"rebalance_days": REBALANCE_DAYS,
|
| 212 |
+
"transaction_cost": TRANSACTION_COST,
|
| 213 |
+
"splits": {split: len(records) for split, records in split_records.items()},
|
| 214 |
+
"data_sha256": {
|
| 215 |
+
f"{split}.jsonl": sha256_file(output_dir / f"{split}.jsonl")
|
| 216 |
+
for split in split_records
|
| 217 |
+
},
|
| 218 |
+
"source_sha256": source_hashes,
|
| 219 |
+
"notes": {"USDT": "synthetic cash-like series in the current source data"},
|
| 220 |
+
}
|
| 221 |
+
with (output_dir / "manifest.json").open("w", encoding="utf-8") as handle:
|
| 222 |
+
json.dump(manifest, handle, indent=2, ensure_ascii=False, allow_nan=False)
|
| 223 |
+
handle.write("\n")
|
| 224 |
+
|
| 225 |
+
counts = ", ".join(f"{split}={len(records)}" for split, records in split_records.items())
|
| 226 |
+
print(f"Generated QuantInvBench in {output_dir} ({counts})")
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
if __name__ == "__main__":
|
| 230 |
+
main()
|
scripts/strategies.py
ADDED
|
@@ -0,0 +1,204 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Causal, deterministic strategy implementations used by the HF generator."""
|
| 2 |
+
|
| 3 |
+
from __future__ import annotations
|
| 4 |
+
|
| 5 |
+
import json
|
| 6 |
+
from collections import defaultdict
|
| 7 |
+
from datetime import datetime, timedelta, timezone
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
from typing import Mapping
|
| 10 |
+
|
| 11 |
+
import numpy as np
|
| 12 |
+
import pandas as pd
|
| 13 |
+
|
| 14 |
+
from common import COINS, STRATEGIES, usdt_fallback, validated_weights
|
| 15 |
+
|
| 16 |
+
|
| 17 |
+
History = Mapping[str, pd.DataFrame]
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
def _normalize(raw: Mapping[str, float], name: str) -> list[float]:
|
| 21 |
+
return validated_weights(raw, label=name)
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def _positive_signal_or_usdt(signal: Mapping[str, float]) -> dict[str, float]:
|
| 25 |
+
raw = {coin: max(0.0, float(signal.get(coin, 0.0))) for coin in COINS}
|
| 26 |
+
if sum(raw.values()) <= 1e-15:
|
| 27 |
+
return usdt_fallback()
|
| 28 |
+
return raw
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def momentum(history: History, lookback: int = 5) -> list[float]:
|
| 32 |
+
raw = {}
|
| 33 |
+
for coin in COINS:
|
| 34 |
+
prices = history[coin]["open"].to_numpy(dtype=float)
|
| 35 |
+
if len(prices) < lookback + 1 or prices[-lookback - 1] <= 0:
|
| 36 |
+
raw[coin] = 0.0
|
| 37 |
+
continue
|
| 38 |
+
change = prices[-1] / prices[-lookback - 1] - 1.0
|
| 39 |
+
raw[coin] = max(0.0, float(np.tanh(5.0 * change)))
|
| 40 |
+
|
| 41 |
+
raw = _positive_signal_or_usdt(raw)
|
| 42 |
+
total = sum(raw.values())
|
| 43 |
+
if total < 1.0 and raw != usdt_fallback():
|
| 44 |
+
raw["tether"] += 1.0 - total
|
| 45 |
+
return _normalize(raw, "Momentum")
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
def max_sharpe(history: History, lookback: int = 252) -> list[float]:
|
| 49 |
+
return_series = []
|
| 50 |
+
for coin in COINS:
|
| 51 |
+
prices = history[coin]["open"].tail(lookback + 1).to_numpy(dtype=float)
|
| 52 |
+
if len(prices) < 3 or np.any(prices[:-1] <= 0):
|
| 53 |
+
raise ValueError(f"MaxSharpe: insufficient price history for {coin}")
|
| 54 |
+
return_series.append(np.diff(prices) / prices[:-1])
|
| 55 |
+
|
| 56 |
+
common_length = min(len(values) for values in return_series)
|
| 57 |
+
matrix = np.column_stack([values[-common_length:] for values in return_series])
|
| 58 |
+
expected = matrix.mean(axis=0)
|
| 59 |
+
covariance = np.cov(matrix, rowvar=False)
|
| 60 |
+
raw_vector = np.linalg.pinv(covariance, rcond=1e-10) @ expected
|
| 61 |
+
raw_vector = np.maximum(raw_vector, 0.0)
|
| 62 |
+
raw = dict(zip(COINS, raw_vector.tolist()))
|
| 63 |
+
return _normalize(_positive_signal_or_usdt(raw), "MaxSharpe")
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def ts_momentum(history: History, period: int, name: str) -> list[float]:
|
| 67 |
+
raw = {}
|
| 68 |
+
for coin in COINS:
|
| 69 |
+
prices = history[coin]["open"].to_numpy(dtype=float)
|
| 70 |
+
if len(prices) <= period or prices[-period - 1] <= 0 or prices[-1] <= 0:
|
| 71 |
+
raw[coin] = 0.0
|
| 72 |
+
continue
|
| 73 |
+
raw[coin] = max(0.0, float(np.log(prices[-1]) - np.log(prices[-period - 1])))
|
| 74 |
+
return _normalize(_positive_signal_or_usdt(raw), name)
|
| 75 |
+
|
| 76 |
+
|
| 77 |
+
def risk_parity(history: History, lookback: int = 60) -> list[float]:
|
| 78 |
+
inverse_volatility = {}
|
| 79 |
+
for coin in COINS:
|
| 80 |
+
prices = history[coin]["open"].tail(lookback + 1).to_numpy(dtype=float)
|
| 81 |
+
if len(prices) < 11 or np.any(prices[:-1] <= 0):
|
| 82 |
+
raise ValueError(f"RiskParity: insufficient price history for {coin}")
|
| 83 |
+
volatility = float(np.std(np.diff(prices) / prices[:-1]))
|
| 84 |
+
inverse_volatility[coin] = 1.0 / max(volatility, 1e-8)
|
| 85 |
+
return _normalize(inverse_volatility, "RiskParity")
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
class SentimentIndex:
|
| 89 |
+
"""Precomputed FinBERT scores indexed without retaining article text."""
|
| 90 |
+
|
| 91 |
+
def __init__(self, path: Path):
|
| 92 |
+
if not path.exists():
|
| 93 |
+
raise FileNotFoundError(
|
| 94 |
+
f"Missing FinBERT sentiment file: {path}. "
|
| 95 |
+
"Run scripts/compute_sentiment.py before generate.py."
|
| 96 |
+
)
|
| 97 |
+
with path.open(encoding="utf-8") as handle:
|
| 98 |
+
payload = json.load(handle)
|
| 99 |
+
articles = payload if isinstance(payload, list) else payload.get("articles", [])
|
| 100 |
+
self._records: dict[
|
| 101 |
+
str, list[tuple[datetime, float, tuple[str, ...]]]
|
| 102 |
+
] = defaultdict(list)
|
| 103 |
+
for article in articles:
|
| 104 |
+
timestamp = str(article.get("timestamp", ""))
|
| 105 |
+
score = article.get("sentiment")
|
| 106 |
+
coins = tuple(coin for coin in article.get("coins", COINS) if coin in COINS)
|
| 107 |
+
if len(timestamp) < 10 or not isinstance(score, (int, float)) or not coins:
|
| 108 |
+
continue
|
| 109 |
+
try:
|
| 110 |
+
published_at = datetime.fromisoformat(timestamp.replace("Z", "+00:00"))
|
| 111 |
+
except ValueError:
|
| 112 |
+
continue
|
| 113 |
+
if published_at.tzinfo is None:
|
| 114 |
+
published_at = published_at.replace(tzinfo=timezone.utc)
|
| 115 |
+
published_at = published_at.astimezone(timezone.utc)
|
| 116 |
+
self._records[published_at.date().isoformat()].append(
|
| 117 |
+
(published_at, float(score), coins)
|
| 118 |
+
)
|
| 119 |
+
|
| 120 |
+
def weights(self, as_of: datetime, lookback_days: int = 45) -> list[float]:
|
| 121 |
+
scores: dict[str, list[float]] = {coin: [] for coin in COINS}
|
| 122 |
+
for offset in range(lookback_days):
|
| 123 |
+
day = (as_of - timedelta(days=offset)).date().isoformat()
|
| 124 |
+
for published_at, score, mentioned_coins in self._records.get(day, []):
|
| 125 |
+
if published_at > as_of:
|
| 126 |
+
continue
|
| 127 |
+
for coin in mentioned_coins:
|
| 128 |
+
scores[coin].append(score)
|
| 129 |
+
|
| 130 |
+
averages = np.array(
|
| 131 |
+
[float(np.mean(scores[coin])) if scores[coin] else 0.0 for coin in COINS]
|
| 132 |
+
)
|
| 133 |
+
standard_deviation = float(averages.std())
|
| 134 |
+
z_scores = (
|
| 135 |
+
(averages - averages.mean()) / standard_deviation
|
| 136 |
+
if standard_deviation > 1e-8
|
| 137 |
+
else np.zeros_like(averages)
|
| 138 |
+
)
|
| 139 |
+
tilted = np.maximum((1.0 / len(COINS)) * (1.0 + 0.3 * z_scores), 0.0)
|
| 140 |
+
return validated_weights(tilted.tolist(), label="NewsSentiment")
|
| 141 |
+
|
| 142 |
+
|
| 143 |
+
def size(history: History, lookback: int = 30) -> list[float]:
|
| 144 |
+
inverse_size = {}
|
| 145 |
+
for coin in COINS:
|
| 146 |
+
recent = history[coin].tail(lookback)
|
| 147 |
+
proxy = float((recent["close"] * recent["volume"]).mean())
|
| 148 |
+
if not np.isfinite(proxy) or proxy <= 0:
|
| 149 |
+
raise ValueError(f"Size: invalid size proxy for {coin}")
|
| 150 |
+
inverse_size[coin] = 1.0 / proxy
|
| 151 |
+
return _normalize(inverse_size, "Size")
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
def value_nvt(history: History, lookback: int = 30) -> list[float]:
|
| 155 |
+
inverse_nvt = {}
|
| 156 |
+
for coin in COINS:
|
| 157 |
+
recent = history[coin].tail(lookback)
|
| 158 |
+
quote_volume = recent["quote_volume"].to_numpy(dtype=float)
|
| 159 |
+
close = recent["close"].to_numpy(dtype=float)
|
| 160 |
+
valid = quote_volume > 0
|
| 161 |
+
if not valid.any():
|
| 162 |
+
raise ValueError(f"ValueNVT: invalid quote volume for {coin}")
|
| 163 |
+
nvt = float(np.median(np.square(close[valid]) / quote_volume[valid]))
|
| 164 |
+
inverse_nvt[coin] = 1.0 / max(nvt, 1e-18)
|
| 165 |
+
return _normalize(inverse_nvt, "ValueNVT")
|
| 166 |
+
|
| 167 |
+
|
| 168 |
+
def liquidity(history: History, lookback: int = 30) -> list[float]:
|
| 169 |
+
inverse_illiquidity = {}
|
| 170 |
+
for coin in COINS:
|
| 171 |
+
recent = history[coin].tail(lookback + 1)
|
| 172 |
+
close = recent["close"].to_numpy(dtype=float)
|
| 173 |
+
quote_volume = recent["quote_volume"].to_numpy(dtype=float)[1:]
|
| 174 |
+
returns = np.abs(np.diff(close) / close[:-1])
|
| 175 |
+
valid = quote_volume > 0
|
| 176 |
+
if not valid.any():
|
| 177 |
+
raise ValueError(f"Liquidity: invalid quote volume for {coin}")
|
| 178 |
+
illiquidity = float(np.mean(returns[valid] / quote_volume[valid]))
|
| 179 |
+
inverse_illiquidity[coin] = 1.0 / max(illiquidity, 1e-18)
|
| 180 |
+
return _normalize(inverse_illiquidity, "Liquidity")
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
def compute_proposals(
|
| 184 |
+
history: History,
|
| 185 |
+
sentiment: SentimentIndex,
|
| 186 |
+
as_of: datetime,
|
| 187 |
+
) -> list[dict]:
|
| 188 |
+
if as_of.tzinfo is None:
|
| 189 |
+
as_of = as_of.replace(tzinfo=timezone.utc)
|
| 190 |
+
proposal_map = {
|
| 191 |
+
"Momentum": momentum(history),
|
| 192 |
+
"MaxSharpe": max_sharpe(history),
|
| 193 |
+
"TSMom14": ts_momentum(history, 14, "TSMom14"),
|
| 194 |
+
"TSMom60": ts_momentum(history, 60, "TSMom60"),
|
| 195 |
+
"RiskParity": risk_parity(history),
|
| 196 |
+
"NewsSentiment": sentiment.weights(as_of),
|
| 197 |
+
"Size": size(history),
|
| 198 |
+
"ValueNVT": value_nvt(history),
|
| 199 |
+
"Liquidity": liquidity(history),
|
| 200 |
+
}
|
| 201 |
+
return [
|
| 202 |
+
{"strategy": name, "weights": proposal_map[name]}
|
| 203 |
+
for name in STRATEGIES
|
| 204 |
+
]
|
scripts/upload.py
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Create or update a Hugging Face Dataset repository from hf_release."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
from huggingface_hub import HfApi
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def main() -> None:
|
| 13 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 14 |
+
parser.add_argument("repo_id", help="Hugging Face repository, for example org/quantinvbench")
|
| 15 |
+
parser.add_argument("--private", action="store_true")
|
| 16 |
+
parser.add_argument("--revision", default="main")
|
| 17 |
+
args = parser.parse_args()
|
| 18 |
+
|
| 19 |
+
release_root = Path(__file__).resolve().parents[1]
|
| 20 |
+
required = [release_root / "README.md", release_root / "LICENSE", release_root / "data" / "manifest.json"]
|
| 21 |
+
missing = [str(path) for path in required if not path.exists()]
|
| 22 |
+
if missing:
|
| 23 |
+
raise FileNotFoundError(f"Release is incomplete: {missing}")
|
| 24 |
+
|
| 25 |
+
api = HfApi()
|
| 26 |
+
api.create_repo(args.repo_id, repo_type="dataset", private=args.private, exist_ok=True)
|
| 27 |
+
api.upload_folder(
|
| 28 |
+
repo_id=args.repo_id,
|
| 29 |
+
repo_type="dataset",
|
| 30 |
+
revision=args.revision,
|
| 31 |
+
folder_path=release_root,
|
| 32 |
+
ignore_patterns=["__pycache__/**", "*.pyc", ".pytest_cache/**", "cache/**"],
|
| 33 |
+
commit_message="Publish QuantInvBench dataset",
|
| 34 |
+
)
|
| 35 |
+
print(f"Uploaded https://huggingface.co/datasets/{args.repo_id}")
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
if __name__ == "__main__":
|
| 39 |
+
main()
|
scripts/validate.py
ADDED
|
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/usr/bin/env python3
|
| 2 |
+
"""Strict validation for a generated QuantInvBench release."""
|
| 3 |
+
|
| 4 |
+
from __future__ import annotations
|
| 5 |
+
|
| 6 |
+
import argparse
|
| 7 |
+
import json
|
| 8 |
+
import math
|
| 9 |
+
import re
|
| 10 |
+
import sys
|
| 11 |
+
from datetime import datetime, timedelta
|
| 12 |
+
from pathlib import Path
|
| 13 |
+
|
| 14 |
+
import pandas as pd
|
| 15 |
+
|
| 16 |
+
from common import ASSETS, REBALANCE_DAYS, STRATEGIES, WEIGHT_TOLERANCE, read_jsonl, sha256_file
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
ID_PATTERN = re.compile(r"^quantinv_(train|validation|test)_\d{4}_\d{8}$")
|
| 20 |
+
REQUIRED_FIELDS = {
|
| 21 |
+
"id",
|
| 22 |
+
"split",
|
| 23 |
+
"as_of",
|
| 24 |
+
"execution_at",
|
| 25 |
+
"assets",
|
| 26 |
+
"strategy_proposals",
|
| 27 |
+
"next_7d_returns",
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
class Validation:
|
| 32 |
+
def __init__(self) -> None:
|
| 33 |
+
self.checks = 0
|
| 34 |
+
self.errors: list[str] = []
|
| 35 |
+
|
| 36 |
+
def check(self, condition: bool, message: str) -> None:
|
| 37 |
+
self.checks += 1
|
| 38 |
+
if not condition:
|
| 39 |
+
self.errors.append(message)
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
def parse_timestamp(value: object, label: str) -> datetime:
|
| 43 |
+
if not isinstance(value, str):
|
| 44 |
+
raise ValueError(f"{label}: timestamp must be a string")
|
| 45 |
+
parsed = datetime.fromisoformat(value.replace("Z", "+00:00"))
|
| 46 |
+
if parsed.tzinfo is None:
|
| 47 |
+
raise ValueError(f"{label}: timestamp must include a timezone")
|
| 48 |
+
return parsed
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
def validate_weights(values: object, label: str, result: Validation) -> None:
|
| 52 |
+
result.check(isinstance(values, list), f"{label}: weights must be a list")
|
| 53 |
+
if not isinstance(values, list):
|
| 54 |
+
return
|
| 55 |
+
result.check(len(values) == len(ASSETS), f"{label}: expected five weights")
|
| 56 |
+
if len(values) != len(ASSETS):
|
| 57 |
+
return
|
| 58 |
+
numeric = all(isinstance(value, (int, float)) and not isinstance(value, bool) for value in values)
|
| 59 |
+
result.check(numeric, f"{label}: weights must be numeric")
|
| 60 |
+
if not numeric:
|
| 61 |
+
return
|
| 62 |
+
finite = all(math.isfinite(float(value)) for value in values)
|
| 63 |
+
result.check(finite, f"{label}: weights contain NaN or Infinity")
|
| 64 |
+
if not finite:
|
| 65 |
+
return
|
| 66 |
+
result.check(all(value >= 0 for value in values), f"{label}: weights must be non-negative")
|
| 67 |
+
result.check(
|
| 68 |
+
abs(sum(values) - 1.0) <= WEIGHT_TOLERANCE,
|
| 69 |
+
f"{label}: weights sum to {sum(values)}, not 1",
|
| 70 |
+
)
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
def validate_record(record: dict, split: str, index: int, result: Validation) -> datetime | None:
|
| 74 |
+
label = f"{split}[{index}]"
|
| 75 |
+
result.check(set(record) == REQUIRED_FIELDS, f"{label}: fields do not match schema")
|
| 76 |
+
result.check(record.get("split") == split, f"{label}: wrong split value")
|
| 77 |
+
identifier = record.get("id")
|
| 78 |
+
result.check(isinstance(identifier, str) and bool(ID_PATTERN.fullmatch(identifier)), f"{label}: invalid id")
|
| 79 |
+
result.check(record.get("assets") == list(ASSETS), f"{label}: asset roster/order changed")
|
| 80 |
+
|
| 81 |
+
try:
|
| 82 |
+
as_of = parse_timestamp(record.get("as_of"), f"{label}.as_of")
|
| 83 |
+
execution = parse_timestamp(record.get("execution_at"), f"{label}.execution_at")
|
| 84 |
+
result.check(as_of < execution, f"{label}: as_of must precede execution_at")
|
| 85 |
+
result.check(execution - as_of <= timedelta(seconds=1), f"{label}: unexpected decision gap")
|
| 86 |
+
except (TypeError, ValueError) as exc:
|
| 87 |
+
result.check(False, str(exc))
|
| 88 |
+
execution = None
|
| 89 |
+
|
| 90 |
+
proposals = record.get("strategy_proposals")
|
| 91 |
+
result.check(isinstance(proposals, list), f"{label}: strategy_proposals must be a list")
|
| 92 |
+
if isinstance(proposals, list):
|
| 93 |
+
result.check(len(proposals) == len(STRATEGIES), f"{label}: expected nine strategies")
|
| 94 |
+
names = [proposal.get("strategy") for proposal in proposals if isinstance(proposal, dict)]
|
| 95 |
+
result.check(names == list(STRATEGIES), f"{label}: strategy roster/order changed")
|
| 96 |
+
for proposal_index, proposal in enumerate(proposals):
|
| 97 |
+
proposal_label = f"{label}.strategy_proposals[{proposal_index}]"
|
| 98 |
+
result.check(isinstance(proposal, dict), f"{proposal_label}: must be an object")
|
| 99 |
+
if isinstance(proposal, dict):
|
| 100 |
+
result.check(set(proposal) == {"strategy", "weights"}, f"{proposal_label}: invalid fields")
|
| 101 |
+
validate_weights(proposal.get("weights"), proposal_label, result)
|
| 102 |
+
|
| 103 |
+
returns = record.get("next_7d_returns")
|
| 104 |
+
result.check(isinstance(returns, list) and len(returns) == len(ASSETS), f"{label}: invalid returns")
|
| 105 |
+
if isinstance(returns, list) and len(returns) == len(ASSETS):
|
| 106 |
+
result.check(
|
| 107 |
+
all(isinstance(value, (int, float)) and math.isfinite(float(value)) for value in returns),
|
| 108 |
+
f"{label}: returns contain invalid values",
|
| 109 |
+
)
|
| 110 |
+
return execution
|
| 111 |
+
|
| 112 |
+
|
| 113 |
+
def main() -> int:
|
| 114 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 115 |
+
parser.add_argument("data_dir", type=Path, nargs="?", default=Path(__file__).resolve().parents[1] / "data")
|
| 116 |
+
parser.add_argument(
|
| 117 |
+
"--source-data-dir",
|
| 118 |
+
type=Path,
|
| 119 |
+
help="Optional original hourly data directory for replaying next_7d_returns",
|
| 120 |
+
)
|
| 121 |
+
args = parser.parse_args()
|
| 122 |
+
data_dir = args.data_dir.resolve()
|
| 123 |
+
result = Validation()
|
| 124 |
+
|
| 125 |
+
manifest_path = data_dir / "manifest.json"
|
| 126 |
+
result.check(manifest_path.exists(), f"missing {manifest_path}")
|
| 127 |
+
manifest = {}
|
| 128 |
+
if manifest_path.exists():
|
| 129 |
+
try:
|
| 130 |
+
manifest = json.loads(manifest_path.read_text(encoding="utf-8"))
|
| 131 |
+
except (OSError, json.JSONDecodeError) as exc:
|
| 132 |
+
result.check(False, f"invalid manifest: {exc}")
|
| 133 |
+
|
| 134 |
+
seen_ids = set()
|
| 135 |
+
split_ranges = {}
|
| 136 |
+
all_records = []
|
| 137 |
+
for split in ("train", "validation", "test"):
|
| 138 |
+
path = data_dir / f"{split}.jsonl"
|
| 139 |
+
result.check(path.exists(), f"missing {path}")
|
| 140 |
+
if not path.exists():
|
| 141 |
+
continue
|
| 142 |
+
try:
|
| 143 |
+
records = read_jsonl(path)
|
| 144 |
+
except ValueError as exc:
|
| 145 |
+
result.check(False, str(exc))
|
| 146 |
+
continue
|
| 147 |
+
all_records.extend(records)
|
| 148 |
+
result.check(bool(records), f"{split}: split is empty")
|
| 149 |
+
execution_times = []
|
| 150 |
+
for index, record in enumerate(records):
|
| 151 |
+
result.check(isinstance(record, dict), f"{split}[{index}]: record must be an object")
|
| 152 |
+
if not isinstance(record, dict):
|
| 153 |
+
continue
|
| 154 |
+
execution = validate_record(record, split, index, result)
|
| 155 |
+
if execution is not None:
|
| 156 |
+
execution_times.append(execution)
|
| 157 |
+
identifier = record.get("id")
|
| 158 |
+
result.check(identifier not in seen_ids, f"duplicate id: {identifier}")
|
| 159 |
+
seen_ids.add(identifier)
|
| 160 |
+
|
| 161 |
+
result.check(execution_times == sorted(execution_times), f"{split}: records are not sorted")
|
| 162 |
+
for left, right in zip(execution_times, execution_times[1:]):
|
| 163 |
+
result.check(right - left == timedelta(days=REBALANCE_DAYS), f"{split}: rebalance interval is not seven days")
|
| 164 |
+
if execution_times:
|
| 165 |
+
split_ranges[split] = (execution_times[0], execution_times[-1])
|
| 166 |
+
|
| 167 |
+
expected_count = manifest.get("splits", {}).get(split)
|
| 168 |
+
result.check(expected_count == len(records), f"{split}: manifest count does not match")
|
| 169 |
+
expected_hash = manifest.get("data_sha256", {}).get(path.name)
|
| 170 |
+
result.check(expected_hash == sha256_file(path), f"{split}: SHA-256 does not match manifest")
|
| 171 |
+
|
| 172 |
+
ordered_ranges = [split_ranges.get(split) for split in ("train", "validation", "test")]
|
| 173 |
+
if all(ordered_ranges):
|
| 174 |
+
result.check(ordered_ranges[0][1] < ordered_ranges[1][0], "train overlaps validation")
|
| 175 |
+
result.check(ordered_ranges[1][1] < ordered_ranges[2][0], "validation overlaps test")
|
| 176 |
+
|
| 177 |
+
if args.source_data_dir:
|
| 178 |
+
from generate import load_daily_data, scalar_at
|
| 179 |
+
|
| 180 |
+
frames = load_daily_data(args.source_data_dir.resolve())
|
| 181 |
+
for record in all_records:
|
| 182 |
+
execution = parse_timestamp(record["execution_at"], record["id"])
|
| 183 |
+
execution_date = pd.Timestamp(execution)
|
| 184 |
+
exit_date = execution_date + pd.Timedelta(days=REBALANCE_DAYS)
|
| 185 |
+
for asset_index, coin in enumerate(("bitcoin", "ethereum", "tether", "xrp", "bnb")):
|
| 186 |
+
entry = scalar_at(frames[coin], execution_date, "open")
|
| 187 |
+
exit_price = scalar_at(frames[coin], exit_date, "open")
|
| 188 |
+
expected = exit_price / entry - 1.0
|
| 189 |
+
actual = record["next_7d_returns"][asset_index]
|
| 190 |
+
result.check(
|
| 191 |
+
abs(expected - actual) <= 1e-9,
|
| 192 |
+
f"{record['id']}: {ASSETS[asset_index]} next_7d_returns does not match source",
|
| 193 |
+
)
|
| 194 |
+
|
| 195 |
+
if result.errors:
|
| 196 |
+
for error in result.errors:
|
| 197 |
+
print(f"[FAIL] {error}", file=sys.stderr)
|
| 198 |
+
print(f"Validation failed: {len(result.errors)} errors across {result.checks} checks", file=sys.stderr)
|
| 199 |
+
return 1
|
| 200 |
+
print(f"Validation passed: {result.checks} checks, {len(seen_ids)} records")
|
| 201 |
+
return 0
|
| 202 |
+
|
| 203 |
+
|
| 204 |
+
if __name__ == "__main__":
|
| 205 |
+
raise SystemExit(main())
|
tests/test_release.py
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from __future__ import annotations
|
| 2 |
+
|
| 3 |
+
import json
|
| 4 |
+
import sys
|
| 5 |
+
import tempfile
|
| 6 |
+
import unittest
|
| 7 |
+
from datetime import datetime, timezone
|
| 8 |
+
from pathlib import Path
|
| 9 |
+
|
| 10 |
+
import numpy as np
|
| 11 |
+
import pandas as pd
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
SCRIPT_DIR = Path(__file__).resolve().parents[1] / "scripts"
|
| 15 |
+
sys.path.insert(0, str(SCRIPT_DIR))
|
| 16 |
+
|
| 17 |
+
from common import ASSETS, STRATEGIES # noqa: E402
|
| 18 |
+
from evaluate import evaluate # noqa: E402
|
| 19 |
+
from strategies import SentimentIndex, compute_proposals # noqa: E402
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
class ReleaseTests(unittest.TestCase):
|
| 23 |
+
def make_history(self) -> dict[str, pd.DataFrame]:
|
| 24 |
+
dates = pd.date_range("2023-01-01", periods=320, tz="UTC")
|
| 25 |
+
frames = {}
|
| 26 |
+
for index, coin in enumerate(("bitcoin", "ethereum", "tether", "xrp", "bnb")):
|
| 27 |
+
trend = 1.0 + 0.0005 * (index + 1)
|
| 28 |
+
close = (100.0 + index) * np.power(trend, np.arange(len(dates)))
|
| 29 |
+
if coin == "tether":
|
| 30 |
+
close = 1.0 + np.sin(np.arange(len(dates)) / 15.0) * 0.0001
|
| 31 |
+
frames[coin] = pd.DataFrame(
|
| 32 |
+
{
|
| 33 |
+
"open": close,
|
| 34 |
+
"high": close * 1.001,
|
| 35 |
+
"low": close * 0.999,
|
| 36 |
+
"close": close,
|
| 37 |
+
"volume": np.full(len(dates), 1_000_000.0 * (index + 1)),
|
| 38 |
+
"quote_volume": close * 1_000_000.0 * (index + 1),
|
| 39 |
+
},
|
| 40 |
+
index=dates,
|
| 41 |
+
)
|
| 42 |
+
return frames
|
| 43 |
+
|
| 44 |
+
def make_sentiment(self, directory: Path) -> SentimentIndex:
|
| 45 |
+
path = directory / "sentiment.json"
|
| 46 |
+
path.write_text(
|
| 47 |
+
json.dumps(
|
| 48 |
+
{
|
| 49 |
+
"articles": [
|
| 50 |
+
{
|
| 51 |
+
"timestamp": "2023-11-15T12:00:00Z",
|
| 52 |
+
"sentiment": 0.8,
|
| 53 |
+
"coins": ["bitcoin"],
|
| 54 |
+
}
|
| 55 |
+
]
|
| 56 |
+
}
|
| 57 |
+
),
|
| 58 |
+
encoding="utf-8",
|
| 59 |
+
)
|
| 60 |
+
return SentimentIndex(path)
|
| 61 |
+
|
| 62 |
+
def test_all_strategies_return_valid_weights(self) -> None:
|
| 63 |
+
with tempfile.TemporaryDirectory() as temporary_directory:
|
| 64 |
+
sentiment = self.make_sentiment(Path(temporary_directory))
|
| 65 |
+
proposals = compute_proposals(
|
| 66 |
+
self.make_history(),
|
| 67 |
+
sentiment,
|
| 68 |
+
datetime(2023, 11, 16, tzinfo=timezone.utc),
|
| 69 |
+
)
|
| 70 |
+
self.assertEqual([proposal["strategy"] for proposal in proposals], list(STRATEGIES))
|
| 71 |
+
for proposal in proposals:
|
| 72 |
+
self.assertEqual(len(proposal["weights"]), len(ASSETS))
|
| 73 |
+
self.assertAlmostEqual(sum(proposal["weights"]), 1.0, places=6)
|
| 74 |
+
self.assertTrue(all(weight >= 0 for weight in proposal["weights"]))
|
| 75 |
+
|
| 76 |
+
def test_evaluator_equal_weight(self) -> None:
|
| 77 |
+
record = {
|
| 78 |
+
"id": "sample",
|
| 79 |
+
"next_7d_returns": [0.1, 0.0, 0.0, 0.0, 0.0],
|
| 80 |
+
}
|
| 81 |
+
weights = {"sample": [0.2] * 5}
|
| 82 |
+
metrics = evaluate([record], weights, transaction_cost=0.001)
|
| 83 |
+
self.assertAlmostEqual(metrics["cumulative_return"], 0.02)
|
| 84 |
+
self.assertEqual(metrics["max_drawdown"], 0.0)
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
if __name__ == "__main__":
|
| 88 |
+
unittest.main()
|
| 89 |
+
|