ccxt-base 4.5.82

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::predictfun::PredictfunCore;
use crate::exchange::ExchangeRuntime;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}