Crate deltadefi

Crate deltadefi 

Source

Modules§

accounts
Account Response Types
market
order
Order Response Types

Structs§

AccountBalanceMessage
Account balance stream message.
AccountStream
Account stream client for receiving real-time updates.
Api
Internal API client for handling HTTP requests to DeltaDeFi endpoints.
Asset
Represents an asset with quantity.
AssetBalance
Represents an asset balance.
DeltaDeFi
The main DeltaDeFi client for interacting with the DeltaDeFi protocol.
DepositRecord
Represents a deposit record.
DltaPointsData
DLTA points data structure.
DltaPointsMessage
DLTA points stream message.
GetAggregatedPriceRequest
Request for getting aggregated price data.
MarketDepthMessage
Market depth snapshot message.
MarketPriceMessage
Market price change message.
MarketStream
Market data stream client for receiving real-time market updates.
MarketStreamHandle
Handle for controlling an active market stream connection.
OhlcMessage
OHLC (candlestick) data message.
Order
Represents an order response from the API.
OrderExecutionRecord
Order execution record containing details of a trade execution.
OrderInfoMessage
Order info stream message.
OrderRecordParams
PaginatedResponse
Generic paginated response wrapper matching API format.
PriceLevel
Price level in the order book (bid or ask).
ReconnectConfig
Configuration for automatic reconnection behavior.
StreamHandle
Handle for controlling an active stream connection.
Trade
Recent trade data.
TransferalRecord
Represents a transferal record.
WithdrawalRecord
Represents a withdrawal record.

Enums§

Interval
Time intervals for aggregated market data.
MarketStreamEvent
Events emitted by market streams, including connection lifecycle events.
MarketStreamMessage
Unified market stream message enum.
OrderExecutionRole
Role of a participant in an order execution.
OrderRecordStatus
Filter for querying different types of order records.
OrderSide
Order side indicating buy or sell direction.
OrderStatus
Order execution status in the DeltaDeFi system.
OrderType
Order execution type determining price and execution behavior.
Stage
Network environment configuration for DeltaDeFi API endpoints.
StreamError
Errors that can occur during stream operations.
StreamEvent
Events emitted by the stream, including connection lifecycle events.
StreamMessage
Unified stream message enum for type-safe message handling.
StreamSubType
Stream message sub-type identifier.
StreamType
Stream message type identifier.
Symbol
Trading symbols supported by the DeltaDeFi platform.
TransactionStatus
Transaction processing status in the DeltaDeFi system.
TransferDirection
Direction of a transfer.
TransferStatus
Transfer status for transferal records.
TransferalType
Type of transferal operation.

Type Aliases§

OrderExecutionRecordResponse
Type alias for OrderExecutionRecord to match API naming convention.
OrderResponse
Type alias for Order to match API naming convention.