vizflow 0.5.9__py3-none-any.whl → 0.5.10__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
vizflow/schema_evolution.py
CHANGED
|
@@ -419,6 +419,33 @@ JYAO_UNIV_V20251230 = SchemaEvolution(
|
|
|
419
419
|
)
|
|
420
420
|
|
|
421
421
|
|
|
422
|
+
# =============================================================================
|
|
423
|
+
# SIM Standard Format (standard column names, type conversion only)
|
|
424
|
+
# =============================================================================
|
|
425
|
+
|
|
426
|
+
SIM_STANDARD = SchemaEvolution(
|
|
427
|
+
columns={
|
|
428
|
+
# ID
|
|
429
|
+
"ukey": ColumnSpec(parse_dtype=pl.Int64),
|
|
430
|
+
# Order info
|
|
431
|
+
"order_id": ColumnSpec(parse_dtype=pl.Int64),
|
|
432
|
+
"order_side": ColumnSpec(parse_dtype=pl.String), # "B" / "S"
|
|
433
|
+
"order_qty": ColumnSpec(parse_dtype=pl.Float64, cast_dtype=pl.Int64),
|
|
434
|
+
"order_price": ColumnSpec(parse_dtype=pl.Float64),
|
|
435
|
+
"order_filled_qty": ColumnSpec(parse_dtype=pl.Float64, cast_dtype=pl.Int64),
|
|
436
|
+
# Timestamps
|
|
437
|
+
"create_exchange_ts": ColumnSpec(parse_dtype=pl.Int64),
|
|
438
|
+
"update_exchange_ts": ColumnSpec(parse_dtype=pl.Int64),
|
|
439
|
+
# Queue position
|
|
440
|
+
"qty_ahead": ColumnSpec(parse_dtype=pl.Float64, cast_dtype=pl.Int64),
|
|
441
|
+
"qty_behind": ColumnSpec(parse_dtype=pl.Float64, cast_dtype=pl.Int64),
|
|
442
|
+
# Event
|
|
443
|
+
"order_curr_state": ColumnSpec(parse_dtype=pl.String), # "New", "Filled", etc.
|
|
444
|
+
},
|
|
445
|
+
null_values=["", "NA", "null"],
|
|
446
|
+
)
|
|
447
|
+
|
|
448
|
+
|
|
422
449
|
# =============================================================================
|
|
423
450
|
# Schema Registry
|
|
424
451
|
# =============================================================================
|
|
@@ -427,6 +454,7 @@ SCHEMAS: dict[str, SchemaEvolution] = {
|
|
|
427
454
|
"ylin_v20251204": YLIN_V20251204,
|
|
428
455
|
"jyao_v20251114": JYAO_V20251114,
|
|
429
456
|
"jyao_univ_v20251230": JYAO_UNIV_V20251230,
|
|
457
|
+
"sim_standard": SIM_STANDARD,
|
|
430
458
|
}
|
|
431
459
|
|
|
432
460
|
|
|
@@ -4,8 +4,8 @@ vizflow/io.py,sha256=1T7t-L1ijrfEkE-gr4f45yiupJKA4-DxbJhsyN_tLnI,11939
|
|
|
4
4
|
vizflow/market.py,sha256=MtNz_nnZxC66Aq-i2PXEwaFCTknijFWYZUUv6798k2s,2493
|
|
5
5
|
vizflow/ops.py,sha256=cUFeDdWfMk2hG8hpevTz_Dfnzk3fnhTI79UwMGzUkHw,10534
|
|
6
6
|
vizflow/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
|
-
vizflow/schema_evolution.py,sha256=
|
|
7
|
+
vizflow/schema_evolution.py,sha256=IPUzdtRWAOpDboAxWIFHInGyFUzhg6Bt7Ye5Ile0bPI,17668
|
|
8
8
|
vizflow/viz.py,sha256=dzcY72hWMVbxWIyjwfUW3Ot3CunaP7O4GLVUzzOjkbY,1212
|
|
9
|
-
vizflow-0.5.
|
|
10
|
-
vizflow-0.5.
|
|
11
|
-
vizflow-0.5.
|
|
9
|
+
vizflow-0.5.10.dist-info/METADATA,sha256=717CUcTl_UEPFqHUGRKAKg91fz5OHB1mA9mImlBP4OU,389
|
|
10
|
+
vizflow-0.5.10.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
11
|
+
vizflow-0.5.10.dist-info/RECORD,,
|
|
File without changes
|