bybit-api 0.1.2

A Rust SDK for the Bybit V5 API - async, type-safe, zero-panic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! F-Martingale Bot API endpoints.

use crate::client::BybitClient;
use crate::error::Result;
use crate::models::fmart_bot::*;

impl BybitClient {
    /// Create a new futures Martingale bot with DCA averaging strategy.
    pub async fn create_f_mart_bot(
        &self,
        params: CreateFMartBotParams,
    ) -> Result<CreateFMartBotResponse> {
        self.post("/v5/fmartingalebot/create", &params).await
    }
}