Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ edition = "2021"

[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_yaml.workspace = true
serde_yaml = "0.9.21"
5 changes: 3 additions & 2 deletions config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ pub struct Config {
#[derive(Debug, Deserialize)]
pub struct OrderbookConfig {
pub ring_buffer: RingBufferConfig,
pub asset_price_floor: f64,
pub asset_price_ceiling: f64,
pub price_point_array_size: usize,
pub exchange_count: i64,
pub depth: i64,
pub mid_price: i64,
}

#[derive(Debug, Deserialize)]
Expand Down
Loading