Skip to content

Commit a0dda0c

Browse files
committed
Include outputs
1 parent 4889586 commit a0dda0c

7 files changed

Lines changed: 100 additions & 3 deletions

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ _build
3737

3838
# builds
3939
app/docs
40-
docs/examples_output

dev/quantflow.dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ RUN uv sync --frozen --no-install-project --extra ai --extra book --extra docs -
1414
COPY mkdocs.yml ./
1515
COPY docs/ ./docs/
1616
COPY quantflow/ ./quantflow/
17-
COPY dev/build-examples ./dev/build-examples
18-
RUN uv run ./dev/build-examples
1917
RUN uv run mkdocs build
2018

2119
# Stage 2: Runtime stage
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"strike": "100.0",
3+
"option_type": "call",
4+
"forward": "100.0",
5+
"moneyness": 0.0,
6+
"ttm": 1.0,
7+
"price": 0.19225250948685713,
8+
"delta": 0.6004432200876063,
9+
"gamma": 0.814574001718513,
10+
"black": {
11+
"iv": 0.4866658752351474,
12+
"price": 0.19225250948685713,
13+
"delta": 0.5961262547434286,
14+
"gamma": 0.7958325231787754,
15+
"vega": 0.3873045314333945,
16+
"volga": -0.0471219746931429,
17+
"vanna": 0.19365226571669725,
18+
"theta": -0.0942439493862858
19+
}
20+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Both `ftol` and `xtol` termination conditions are satisfied.
2+
3+
```json
4+
{
5+
"variance_process": {
6+
"rate": 0.1468919917675601,
7+
"kappa": 3.3130571478442086,
8+
"sigma": 1.7107299453461766,
9+
"theta": 0.33074514653579995,
10+
"sample_algo": "implicit"
11+
},
12+
"rho": -0.46321555531487724
13+
}
14+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
`xtol` termination condition is satisfied.
2+
3+
```json
4+
{
5+
"variance_process": {
6+
"rate": 0.12707150968097103,
7+
"kappa": 1.8151617066397323,
8+
"sigma": 1.3259134126578012,
9+
"theta": 0.3211971404927874,
10+
"sample_algo": "implicit"
11+
},
12+
"rho": -0.47899276376715205,
13+
"jumps": {
14+
"intensity": 99.12262880140118,
15+
"jumps": {
16+
"decay": 73.57139169343074,
17+
"loc": 0.007499627395456639,
18+
"kappa": 1.20055291473451
19+
}
20+
}
21+
}
22+
```
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
maturity ttm forward bid_ask_spread basis rate_percent fwd_spread_pct open_interest volume
2+
2026-04-28 08:00:00+00:00 0.002635 77767.75 159.5 -8.00 -3.90357 0.2051 0 0
3+
2026-04-29 08:00:00+00:00 0.005375 77757.5 115 -18.25 -4.36617 0.1479 0 0
4+
2026-04-30 08:00:00+00:00 0.008115 77765.5 112.0 -10.25 -1.62420 0.1440 0 0
5+
2026-05-01 08:00:00+00:00 0.010854 77731.25 2.5 -44.50 -5.27275 0.0032 30198620 5038760
6+
2026-05-08 08:00:00+00:00 0.030032 77756.25 2.5 -19.50 -0.83494 0.0032 2718240 2864240
7+
2026-05-15 08:00:00+00:00 0.049210 77781.75 160.5 6.00 0.15676 0.2063 0 0
8+
2026-05-29 08:00:00+00:00 0.087567 77813.75 2.5 38.00 0.55782 0.0032 67350560 9387130
9+
2026-06-26 08:00:00+00:00 0.164279 77921.25 2.5 145.50 1.13771 0.0032 588089150 6932390
10+
2026-07-31 08:00:00+00:00 0.260169 78098.75 173.5 323.00 1.59295 0.2222 0 0
11+
2026-09-25 08:00:00+00:00 0.413594 78408.75 2.5 633.00 1.95985 0.0032 276427820 7071210
12+
2026-12-25 08:00:00+00:00 0.662909 79087.5 10.0 1311.75 2.52299 0.0126 121192440 2532540
13+
2027-03-26 08:00:00+00:00 0.912224 79801.25 2.5 2025.50 2.81833 0.0031 15964110 3373920
14+
maturity strike option_type bid ask iv_bid iv_ask
15+
2026-04-28 08:00:00+00:00 73000 put 0.0001 0.0002 0.5375622 0.5919214
16+
2026-04-28 08:00:00+00:00 75000 put 0.0004 0.0006 0.4188391 0.4554825
17+
2026-04-28 08:00:00+00:00 75500 put 0.0006 0.0008 0.3889021 0.4165291
18+
2026-04-28 08:00:00+00:00 76000 put 0.001 0.0012 0.3668268 0.3868547
19+
2026-04-28 08:00:00+00:00 76500 put 0.0016 0.0019 0.3392663 0.3616924
20+
2026-04-28 08:00:00+00:00 77000 put 0.0028 0.0032 0.3235727 0.3467574
21+
2026-04-28 08:00:00+00:00 77500 put 0.0048 0.0055 0.3117853 0.3467488
22+
2026-04-28 08:00:00+00:00 78000 call 0.005 0.0055 0.3111888 0.3359649
23+
2026-04-28 08:00:00+00:00 78500 call 0.0032 0.0035 0.335916 0.3526992
24+
2026-04-28 08:00:00+00:00 79000 call 0.0017 0.0021 0.3353014 0.3637628
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"strike": "100.0",
3+
"option_type": "call",
4+
"forward": "100.0",
5+
"moneyness": 0.0,
6+
"ttm": 1.0,
7+
"price": 0.11923538473954934,
8+
"delta": 0.5594775189681656,
9+
"gamma": 1.312462172251983,
10+
"black": {
11+
"iv": 0.29999999999762794,
12+
"price": 0.11923538473954934,
13+
"delta": 0.5596176923697747,
14+
"gamma": 1.3149311030369273,
15+
"vega": 0.3944793309079591,
16+
"volga": -0.029585949817863,
17+
"vanna": 0.19723966545397956,
18+
"theta": -0.059171899635726
19+
}
20+
}

0 commit comments

Comments
 (0)