ccxt-base 4.5.93

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".into()), 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".into()), optional_args).await
    }

    /// Auto-generated wrapper for the `publicGetTickerCurrency` implicit endpoint.
    pub async fn public_get_ticker_currency(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("public_get_ticker_currency".into()), 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".into()), 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".into()), 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".into()), 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".into()), 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".into()), 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".into()), optional_args).await
    }

    /// Auto-generated wrapper for the `privateGetOrderOrderId` implicit endpoint.
    pub async fn private_get_order_order_id(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_order_order_id".into()), 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".into()), optional_args).await
    }

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

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

    /// Auto-generated wrapper for the `privateGetCryptoDepositDeclarations` implicit endpoint.
    pub async fn private_get_crypto_deposit_declarations(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_get_crypto_deposit_declarations".into()), 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".into()), 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".into()), 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".into()), 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".into()), optional_args).await
    }

    /// Auto-generated wrapper for the `privatePostCryptoDepositDeclarationsConfirm` implicit endpoint.
    pub async fn private_post_crypto_deposit_declarations_confirm(&mut self, optional_args: &[Value]) -> Value {
        self.call_method(Value::Str("private_post_crypto_deposit_declarations_confirm".into()), 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".into()), 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".into()), 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".into()), optional_args).await
    }

}