[package]
edition = "2024"
rust-version = "1.85"
name = "ek-data"
version = "0.2.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Trading data contracts for the enkeep ek ecosystem: venue enums, zero-dep epoch-nanosecond time, decimal-exact price rounding, vt-symbol convention, bus event dictionary, tick/bar/order/trade/position/account/contract objects and request objects (Python enkeep_trade trader/object.py + constant.py, faithfully ported)."
documentation = "https://docs.rs/ek-data"
readme = "README.md"
keywords = [
"trading",
"finance",
"data-structures",
"contract",
"orderbook",
]
categories = [
"finance",
"data-structures",
]
license = "MIT"
repository = "https://cnb.cool/enkeep/ek-data"
[features]
serde = [
"dep:serde",
"dep:serde_json",
]
[lib]
name = "ek_data"
path = "src/lib.rs"
[[test]]
name = "enums_roundtrip"
path = "tests/enums_roundtrip.rs"
[[test]]
name = "flows_contract_log"
path = "tests/flows_contract_log.rs"
[[test]]
name = "flows_order"
path = "tests/flows_order.rs"
[[test]]
name = "flows_position_account"
path = "tests/flows_position_account.rs"
[[test]]
name = "flows_stream"
path = "tests/flows_stream.rs"
[[test]]
name = "flows_time_negative"
path = "tests/flows_time_negative.rs"
[[test]]
name = "objects"
path = "tests/objects.rs"
[[test]]
name = "parity"
path = "tests/parity.rs"
[[test]]
name = "price"
path = "tests/price.rs"
[[test]]
name = "serde_cfg"
path = "tests/serde_cfg.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dev-dependencies.ek-event]
version = "0.1.2"