Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Module: config

Source: config.rs

Strategy-level exchange configuration parsed from QFL directives.

Structs

pub struct StrategyConfig

#![allow(unused)]
fn main() {
pub struct StrategyConfig {
    pub exchange: ExchangeKind,
    pub network: Network,
};
}

Enums

pub enum ExchangeKind

#![allow(unused)]
fn main() {
pub enum ExchangeKind {
    Binance,
    Hyperliquid,
}
}

pub enum Network

#![allow(unused)]
fn main() {
pub enum Network {
    Mainnet,
    Testnet,
}
}

Functions

pub fn parse_strategy_config

#![allow(unused)]
fn main() {
pub fn parse_strategy_config(...) { ... }
}

Parse configuration directives without compiling the strategy bytecode.

pub fn load_strategy_config

#![allow(unused)]
fn main() {
pub fn load_strategy_config(...) { ... }
}