Re-exports§
pub use errors::SDKError;pub use errors::SDKResult;pub use errors::WSErrors;pub use types::CallMessage;pub use ws::client::WebsocketConfig;pub use ws::client::WebsocketHandle;pub use ws::managed::ManagedWebsocket;pub use ws::managed::ManagedWsConfig;pub use ws::managed::ManagedWsError;pub use ws::managed::WsEvent;pub use ws::models::ServerMessage;pub use ws::topics::KlineInterval;pub use ws::topics::OrderbookDepth;pub use ws::topics::Topic;pub use types::PublicAction;pub use types::UserAction;
Modules§
- codegen
- errors
- Error types for the SDK. Error types for the Trading SDK.
- types
- Re-export bullet_rollup types commonly used with the SDK.
- ws
Structs§
- Amend
Order Args - ApiError
Response - Structured API error response matching Bullet API format.
- Cancel
Order Args - Client
- The main trading API client for REST operations.
- Client
Order Id - Client-assigned order identifier. Wraps a
u64. - Keypair
- An Ed25519 keypair for signing transactions.
- Market
Id - Numeric market identifier. Wraps a
u16. - NewOrder
Args - NewTrigger
Order Args - NewTwap
Order Args - OrderId
- Exchange-assigned order identifier. Wraps a
u64. - Pending
Tpsl Pair - Positive
Decimal - A decimal value that must be positive. Wraps
rust_decimal::Decimal. - Submit
TxResponse - Response from submitting a transaction.
- Symbol
Info - Symbol information cached from the exchange.
- Tpsl
- Tpsl
Pair - Transaction
- Transaction construction and serialization.
- Unsigned
Transaction - An unsigned transaction with the chain hash baked in.
Enums§
- Close
Code - Status code used to indicate why an endpoint is closing the
WebSocketconnection.1 - Network
- Known network environments.
- Order
Type - Order execution type.
- Side
- Order side.
Bid= buy,Ask= sell. - User
Action Discriminants - User action discriminants for schema validation filtering. Auto-generated discriminant enum variants
Traits§
- NewOrder
Ext - Extension constructors for
NewOrderArgs.