Skip to main content

Crate ccxt_base

Crate ccxt_base 

Source

Modules§

error
exchange
exchange_errors
exchange_generated
exchange_stubs
exchanges
order_router
order_router_selftest
params
Exchange-specific extra parameters, without exposing Value.
precise
prediction_exchange
prediction_exchange_generated
pro
runtime
types
value

Structs§

Config
Constructor configuration for an exchange, without exposing Value.
Exchange
ExchangeError
A runtime exchange error. kind is the class name from the TS hierarchy (e.g. “AuthenticationError”, “InsufficientFunds”). message is the human-readable description.
OrderRouter
A client for the CCXT order-router service.
Params
Extra exchange-specific parameters for a unified call.

Enums§

Value
A dynamic value type that mirrors the CCXT JavaScript Value semantics.

Traits§

RouterVenue
What execute needs from an exchange, and nothing more.

Functions§

get_value
Access a value in a map by string key, or array by integer key encoded as a Value::Str / Value::Int. Returns Value::Null on miss.
safe_bool
safe_integer
safe_number
safe_string
set_value
Set a key/index in a map or array value.

Type Aliases§

Result
Convenience Result alias used throughout the crate.
RouterResult
Result of a fallible router operation. The error’s kind matches the exception class the other five ports raise for the same condition.