Skip to main content

Crate chapaty

Crate chapaty 

Source

Re-exports§

pub use crate::gym::trading::factory::load;
pub use crate::gym::trading::factory::make;
pub use crate::indicator::streaming::StreamingIndicator;

Modules§

data
error
gym
indicator
prelude
report
ring_buffer
A fixed-capacity circular (ring) buffer.
sorted_vec_map
A sorted map optimized for small collections.

Macros§

assert_f64_eq
impl_abs_primitive
Macro to implement an abs method for newtype wrappers around numeric types.
impl_add_sub_mul_div_primitive
Macro to implement Add, Sub, Mul, Div, and Sum traits for newtype wrappers around numeric types, including support for adding a primitive type directly.
impl_from_primitive
Macro to implement From<T> for newtype wrappers around primitive types.
impl_min_max_primitive
Macro to implement min and max methods for newtype wrappers around numeric types.
impl_neg_primitive
Macro to implement the Neg trait for newtype wrappers around numeric types.

Structs§

ApiKey
Represents an API key for authentication.
EndpointUrl
Represents an API Endpoint URL.
HostedApi
Use Chapaty’s hosted API.
SelfHostedApi
Use a custom RPC endpoint with default connection parameters.
SourceGroup
Groups items to be fetched from the same data source.

Enums§

DataSource
Configuration for connecting to a data source.
SerdeFormat
StorageLocation
Storage location for simulation data.

Constants§

VERSION
The current version of the chapaty crate