ccxt-base 4.5.78

CCXT – CryptoCurrency eXchange Trading Library (Rust) – untyped engine (runtime, Value, REST/prediction Cores, WS infra)
Documentation
// -------------------------------------------------------------------------------

// PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN:
// https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md#how-to-contribute-code

// -------------------------------------------------------------------------------

#![allow(non_snake_case, unused, dead_code, clippy::all)]

use crate::Value;
use super::btcturk::BtcturkCore;
use crate::exchange::ExchangeRuntime;

impl BtcturkCore {
    /// Auto-generated wrapper for the `publicGetOrderbook` implicit endpoint.
    pub async fn public_get_orderbook(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("public_get_orderbook".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `publicGetTicker` implicit endpoint.
    pub async fn public_get_ticker(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("public_get_ticker".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `publicGetTrades` implicit endpoint.
    pub async fn public_get_trades(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("public_get_trades".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `publicGetOhlc` implicit endpoint.
    pub async fn public_get_ohlc(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("public_get_ohlc".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `publicGetServerExchangeinfo` implicit endpoint.
    pub async fn public_get_server_exchangeinfo(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("public_get_server_exchangeinfo".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetUsersBalances` implicit endpoint.
    pub async fn private_get_users_balances(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_users_balances".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetOpenOrders` implicit endpoint.
    pub async fn private_get_open_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_open_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetAllOrders` implicit endpoint.
    pub async fn private_get_all_orders(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_all_orders".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetUsersTransactionsTrade` implicit endpoint.
    pub async fn private_get_users_transactions_trade(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_users_transactions_trade".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostUsersTransactionsCrypto` implicit endpoint.
    pub async fn private_post_users_transactions_crypto(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_users_transactions_crypto".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostUsersTransactionsFiat` implicit endpoint.
    pub async fn private_post_users_transactions_fiat(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_users_transactions_fiat".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostOrder` implicit endpoint.
    pub async fn private_post_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostCancelOrder` implicit endpoint.
    pub async fn private_post_cancel_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_cancel_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateDeleteOrder` implicit endpoint.
    pub async fn private_delete_order(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_delete_order".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `graphGetOhlcs` implicit endpoint.
    pub async fn graph_get_ohlcs(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("graph_get_ohlcs".to_string()), optional_args).await
    }

    /// Auto-generated wrapper for the `graphGetKlinesHistory` implicit endpoint.
    pub async fn graph_get_klines_history(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("graph_get_klines_history".to_string()), optional_args).await
    }

}