weex_rust_sdk 0.6.1

Professional Rust SDK for WEEX Exchange - AI Wars ready with full API coverage, AI Log upload, Futures trading
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use serde::{Deserialize, Serialize};
use crate::spot::order::PlaceOrderRequest;

#[derive(Debug, Deserialize, Serialize)]
pub struct BatchOrderRequest {
    pub symbol: String,
    pub orders: Vec<PlaceOrderRequest>,
}

#[derive(Debug, Deserialize, Serialize)]
pub struct BatchOrderResponse {
    // Assuming API returns a list of results or a summary
    // Need to verify exact WEEX response format, usually it's a list of OrderResponse
    pub data: Vec<crate::spot::order::OrderResponse>,
}