<?php

namespace ccxt\abstract;

// 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


abstract class gateio extends \ccxt\gate {
    public function public_wallet_get_currency_chains($params = array()) {
        return $this->request('currency_chains', array('public', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_currencies($params = array()) {
        return $this->request('currencies', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_currencies_currency($params = array()) {
        return $this->request('currencies/{currency}', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_currency_pairs($params = array()) {
        return $this->request('currency_pairs', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_currency_pairs_currency_pair($params = array()) {
        return $this->request('currency_pairs/{currency_pair}', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_tickers($params = array()) {
        return $this->request('tickers', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_order_book($params = array()) {
        return $this->request('order_book', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_trades($params = array()) {
        return $this->request('trades', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_candlesticks($params = array()) {
        return $this->request('candlesticks', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_spot_get_time($params = array()) {
        return $this->request('time', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_margin_get_currency_pairs($params = array()) {
        return $this->request('currency_pairs', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_margin_get_currency_pairs_currency_pair($params = array()) {
        return $this->request('currency_pairs/{currency_pair}', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_margin_get_funding_book($params = array()) {
        return $this->request('funding_book', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_margin_get_cross_currencies($params = array()) {
        return $this->request('cross/currencies', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_margin_get_cross_currencies_currency($params = array()) {
        return $this->request('cross/currencies/{currency}', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_margin_get_uni_currency_pairs($params = array()) {
        return $this->request('uni/currency_pairs', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_margin_get_uni_currency_pairs_currency_pair($params = array()) {
        return $this->request('uni/currency_pairs/{currency_pair}', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_flash_swap_get_currencies($params = array()) {
        return $this->request('currencies', array('public', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_contracts($params = array()) {
        return $this->request('{settle}/contracts', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_contracts_contract($params = array()) {
        return $this->request('{settle}/contracts/{contract}', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_order_book($params = array()) {
        return $this->request('{settle}/order_book', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_trades($params = array()) {
        return $this->request('{settle}/trades', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_candlesticks($params = array()) {
        return $this->request('{settle}/candlesticks', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_premium_index($params = array()) {
        return $this->request('{settle}/premium_index', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_tickers($params = array()) {
        return $this->request('{settle}/tickers', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_funding_rate($params = array()) {
        return $this->request('{settle}/funding_rate', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_insurance($params = array()) {
        return $this->request('{settle}/insurance', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_contract_stats($params = array()) {
        return $this->request('{settle}/contract_stats', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_index_constituents_index($params = array()) {
        return $this->request('{settle}/index_constituents/{index}', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_liq_orders($params = array()) {
        return $this->request('{settle}/liq_orders', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_futures_get_settle_risk_limit_tiers($params = array()) {
        return $this->request('{settle}/risk_limit_tiers', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_delivery_get_settle_contracts($params = array()) {
        return $this->request('{settle}/contracts', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_delivery_get_settle_contracts_contract($params = array()) {
        return $this->request('{settle}/contracts/{contract}', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_delivery_get_settle_order_book($params = array()) {
        return $this->request('{settle}/order_book', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_delivery_get_settle_trades($params = array()) {
        return $this->request('{settle}/trades', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_delivery_get_settle_candlesticks($params = array()) {
        return $this->request('{settle}/candlesticks', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_delivery_get_settle_tickers($params = array()) {
        return $this->request('{settle}/tickers', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_delivery_get_settle_insurance($params = array()) {
        return $this->request('{settle}/insurance', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_underlyings($params = array()) {
        return $this->request('underlyings', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_expirations($params = array()) {
        return $this->request('expirations', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_contracts($params = array()) {
        return $this->request('contracts', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_contracts_contract($params = array()) {
        return $this->request('contracts/{contract}', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_settlements($params = array()) {
        return $this->request('settlements', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_settlements_contract($params = array()) {
        return $this->request('settlements/{contract}', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_order_book($params = array()) {
        return $this->request('order_book', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_tickers($params = array()) {
        return $this->request('tickers', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_underlying_tickers_underlying($params = array()) {
        return $this->request('underlying/tickers/{underlying}', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_candlesticks($params = array()) {
        return $this->request('candlesticks', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_underlying_candlesticks($params = array()) {
        return $this->request('underlying/candlesticks', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_options_get_trades($params = array()) {
        return $this->request('trades', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_earn_get_uni_currencies($params = array()) {
        return $this->request('uni/currencies', array('public', 'earn'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_earn_get_uni_currencies_currency($params = array()) {
        return $this->request('uni/currencies/{currency}', array('public', 'earn'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_withdrawals_post_withdrawals($params = array()) {
        return $this->request('withdrawals', array('private', 'withdrawals'), 'POST', $params, null, null, array("cost" => 20));
    }
    public function private_withdrawals_post_push($params = array()) {
        return $this->request('push', array('private', 'withdrawals'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_withdrawals_delete_withdrawals_withdrawal_id($params = array()) {
        return $this->request('withdrawals/{withdrawal_id}', array('private', 'withdrawals'), 'DELETE', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_deposit_address($params = array()) {
        return $this->request('deposit_address', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_withdrawals($params = array()) {
        return $this->request('withdrawals', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_deposits($params = array()) {
        return $this->request('deposits', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_sub_account_transfers($params = array()) {
        return $this->request('sub_account_transfers', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_order_status($params = array()) {
        return $this->request('order_status', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_withdraw_status($params = array()) {
        return $this->request('withdraw_status', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_sub_account_balances($params = array()) {
        return $this->request('sub_account_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_get_sub_account_margin_balances($params = array()) {
        return $this->request('sub_account_margin_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_get_sub_account_futures_balances($params = array()) {
        return $this->request('sub_account_futures_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_get_sub_account_cross_margin_balances($params = array()) {
        return $this->request('sub_account_cross_margin_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_get_saved_address($params = array()) {
        return $this->request('saved_address', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_fee($params = array()) {
        return $this->request('fee', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_total_balance($params = array()) {
        return $this->request('total_balance', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_get_small_balance($params = array()) {
        return $this->request('small_balance', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_small_balance_history($params = array()) {
        return $this->request('small_balance_history', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_get_push($params = array()) {
        return $this->request('push', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_wallet_post_transfers($params = array()) {
        return $this->request('transfers', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_post_sub_account_transfers($params = array()) {
        return $this->request('sub_account_transfers', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_post_sub_account_to_sub_account($params = array()) {
        return $this->request('sub_account_to_sub_account', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function private_wallet_post_small_balance($params = array()) {
        return $this->request('small_balance', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_subaccounts_get_sub_accounts($params = array()) {
        return $this->request('sub_accounts', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_get_sub_accounts_user_id($params = array()) {
        return $this->request('sub_accounts/{user_id}', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_get_sub_accounts_user_id_keys($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_get_sub_accounts_user_id_keys_key($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys/{key}', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_post_sub_accounts($params = array()) {
        return $this->request('sub_accounts', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_post_sub_accounts_user_id_keys($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_post_sub_accounts_user_id_lock($params = array()) {
        return $this->request('sub_accounts/{user_id}/lock', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_post_sub_accounts_user_id_unlock($params = array()) {
        return $this->request('sub_accounts/{user_id}/unlock', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_put_sub_accounts_user_id_keys_key($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys/{key}', array('private', 'subAccounts'), 'PUT', $params, null, null, array("cost" => 2.5));
    }
    public function private_subaccounts_delete_sub_accounts_user_id_keys_key($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys/{key}', array('private', 'subAccounts'), 'DELETE', $params, null, null, array("cost" => 2.5));
    }
    public function private_unified_get_accounts($params = array()) {
        return $this->request('accounts', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_account_mode($params = array()) {
        return $this->request('account_mode', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_borrowable($params = array()) {
        return $this->request('borrowable', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_transferable($params = array()) {
        return $this->request('transferable', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_loans($params = array()) {
        return $this->request('loans', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_loan_records($params = array()) {
        return $this->request('loan_records', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_interest_records($params = array()) {
        return $this->request('interest_records', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_estimate_rate($params = array()) {
        return $this->request('estimate_rate', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_currency_discount_tiers($params = array()) {
        return $this->request('currency_discount_tiers', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_risk_units($params = array()) {
        return $this->request('risk_units', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_unified_mode($params = array()) {
        return $this->request('unified_mode', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_loan_margin_tiers($params = array()) {
        return $this->request('loan_margin_tiers', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_leverage_user_currency_config($params = array()) {
        return $this->request('leverage/user_currency_config', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_get_leverage_user_currency_setting($params = array()) {
        return $this->request('leverage/user_currency_setting', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_post_account_mode($params = array()) {
        return $this->request('account_mode', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_post_loans($params = array()) {
        return $this->request('loans', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 13.333333333333334));
    }
    public function private_unified_post_portfolio_calculator($params = array()) {
        return $this->request('portfolio_calculator', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_post_leverage_user_currency_setting($params = array()) {
        return $this->request('leverage/user_currency_setting', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_unified_put_unified_mode($params = array()) {
        return $this->request('unified_mode', array('private', 'unified'), 'PUT', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_spot_get_fee($params = array()) {
        return $this->request('fee', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_batch_fee($params = array()) {
        return $this->request('batch_fee', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_accounts($params = array()) {
        return $this->request('accounts', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_account_book($params = array()) {
        return $this->request('account_book', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_open_orders($params = array()) {
        return $this->request('open_orders', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_orders($params = array()) {
        return $this->request('orders', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_orders_order_id($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_my_trades($params = array()) {
        return $this->request('my_trades', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_price_orders($params = array()) {
        return $this->request('price_orders', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_get_price_orders_order_id($params = array()) {
        return $this->request('price_orders/{order_id}', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_spot_post_batch_orders($params = array()) {
        return $this->request('batch_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_spot_post_cross_liquidate_orders($params = array()) {
        return $this->request('cross_liquidate_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_spot_post_orders($params = array()) {
        return $this->request('orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_spot_post_cancel_batch_orders($params = array()) {
        return $this->request('cancel_batch_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_spot_post_countdown_cancel_all($params = array()) {
        return $this->request('countdown_cancel_all', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_spot_post_amend_batch_orders($params = array()) {
        return $this->request('amend_batch_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_spot_post_price_orders($params = array()) {
        return $this->request('price_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_spot_delete_orders($params = array()) {
        return $this->request('orders', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_spot_delete_orders_order_id($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_spot_delete_price_orders($params = array()) {
        return $this->request('price_orders', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_spot_delete_price_orders_order_id($params = array()) {
        return $this->request('price_orders/{order_id}', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_spot_patch_orders_order_id($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'spot'), 'PATCH', $params, null, null, array("cost" => 0.4));
    }
    public function private_margin_get_accounts($params = array()) {
        return $this->request('accounts', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_account_book($params = array()) {
        return $this->request('account_book', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_funding_accounts($params = array()) {
        return $this->request('funding_accounts', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_auto_repay($params = array()) {
        return $this->request('auto_repay', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_transferable($params = array()) {
        return $this->request('transferable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_loans($params = array()) {
        return $this->request('loans', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_loans_loan_id($params = array()) {
        return $this->request('loans/{loan_id}', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_loans_loan_id_repayment($params = array()) {
        return $this->request('loans/{loan_id}/repayment', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_loan_records($params = array()) {
        return $this->request('loan_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_loan_records_loan_record_id($params = array()) {
        return $this->request('loan_records/{loan_record_id}', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_borrowable($params = array()) {
        return $this->request('borrowable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_accounts($params = array()) {
        return $this->request('cross/accounts', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_account_book($params = array()) {
        return $this->request('cross/account_book', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_loans($params = array()) {
        return $this->request('cross/loans', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_loans_loan_id($params = array()) {
        return $this->request('cross/loans/{loan_id}', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_repayments($params = array()) {
        return $this->request('cross/repayments', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_interest_records($params = array()) {
        return $this->request('cross/interest_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_transferable($params = array()) {
        return $this->request('cross/transferable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_estimate_rate($params = array()) {
        return $this->request('cross/estimate_rate', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_cross_borrowable($params = array()) {
        return $this->request('cross/borrowable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_uni_estimate_rate($params = array()) {
        return $this->request('uni/estimate_rate', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_uni_loans($params = array()) {
        return $this->request('uni/loans', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_uni_loan_records($params = array()) {
        return $this->request('uni/loan_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_uni_interest_records($params = array()) {
        return $this->request('uni/interest_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_get_uni_borrowable($params = array()) {
        return $this->request('uni/borrowable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_post_auto_repay($params = array()) {
        return $this->request('auto_repay', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_post_loans($params = array()) {
        return $this->request('loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_post_merged_loans($params = array()) {
        return $this->request('merged_loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_post_loans_loan_id_repayment($params = array()) {
        return $this->request('loans/{loan_id}/repayment', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_post_cross_loans($params = array()) {
        return $this->request('cross/loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_post_cross_repayments($params = array()) {
        return $this->request('cross/repayments', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_post_uni_loans($params = array()) {
        return $this->request('uni/loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_patch_loans_loan_id($params = array()) {
        return $this->request('loans/{loan_id}', array('private', 'margin'), 'PATCH', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_patch_loan_records_loan_record_id($params = array()) {
        return $this->request('loan_records/{loan_record_id}', array('private', 'margin'), 'PATCH', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_margin_delete_loans_loan_id($params = array()) {
        return $this->request('loans/{loan_id}', array('private', 'margin'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_flash_swap_get_currencies($params = array()) {
        return $this->request('currencies', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_flash_swap_get_currency_pairs($params = array()) {
        return $this->request('currency_pairs', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_flash_swap_get_orders($params = array()) {
        return $this->request('orders', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_flash_swap_get_orders_order_id($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_flash_swap_post_orders($params = array()) {
        return $this->request('orders', array('private', 'flash_swap'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_flash_swap_post_orders_preview($params = array()) {
        return $this->request('orders/preview', array('private', 'flash_swap'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_accounts($params = array()) {
        return $this->request('{settle}/accounts', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_account_book($params = array()) {
        return $this->request('{settle}/account_book', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_positions($params = array()) {
        return $this->request('{settle}/positions', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_positions_contract($params = array()) {
        return $this->request('{settle}/positions/{contract}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_dual_comp_positions_contract($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_orders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_orders_timerange($params = array()) {
        return $this->request('{settle}/orders_timerange', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_orders_order_id($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_my_trades($params = array()) {
        return $this->request('{settle}/my_trades', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_my_trades_timerange($params = array()) {
        return $this->request('{settle}/my_trades_timerange', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_position_close($params = array()) {
        return $this->request('{settle}/position_close', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_liquidates($params = array()) {
        return $this->request('{settle}/liquidates', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_auto_deleverages($params = array()) {
        return $this->request('{settle}/auto_deleverages', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_fee($params = array()) {
        return $this->request('{settle}/fee', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_risk_limit_tiers($params = array()) {
        return $this->request('{settle}/risk_limit_tiers', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_price_orders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_get_settle_price_orders_order_id($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_positions_contract_margin($params = array()) {
        return $this->request('{settle}/positions/{contract}/margin', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_positions_contract_leverage($params = array()) {
        return $this->request('{settle}/positions/{contract}/leverage', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_positions_contract_risk_limit($params = array()) {
        return $this->request('{settle}/positions/{contract}/risk_limit', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_dual_mode($params = array()) {
        return $this->request('{settle}/dual_mode', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_dual_comp_positions_contract_margin($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}/margin', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_dual_comp_positions_contract_leverage($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}/leverage', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_dual_comp_positions_contract_risk_limit($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}/risk_limit', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_futures_post_settle_orders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_futures_post_settle_batch_orders($params = array()) {
        return $this->request('{settle}/batch_orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_futures_post_settle_countdown_cancel_all($params = array()) {
        return $this->request('{settle}/countdown_cancel_all', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_futures_post_settle_batch_cancel_orders($params = array()) {
        return $this->request('{settle}/batch_cancel_orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_futures_post_settle_price_orders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function private_futures_put_settle_orders_order_id($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'futures'), 'PUT', $params, null, null, array("cost" => 1));
    }
    public function private_futures_delete_settle_orders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_futures_delete_settle_orders_order_id($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_futures_delete_settle_price_orders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_futures_delete_settle_price_orders_order_id($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function private_delivery_get_settle_accounts($params = array()) {
        return $this->request('{settle}/accounts', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_account_book($params = array()) {
        return $this->request('{settle}/account_book', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_positions($params = array()) {
        return $this->request('{settle}/positions', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_positions_contract($params = array()) {
        return $this->request('{settle}/positions/{contract}', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_orders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_orders_order_id($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_my_trades($params = array()) {
        return $this->request('{settle}/my_trades', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_position_close($params = array()) {
        return $this->request('{settle}/position_close', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_liquidates($params = array()) {
        return $this->request('{settle}/liquidates', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_settlements($params = array()) {
        return $this->request('{settle}/settlements', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_price_orders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_get_settle_price_orders_order_id($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_post_settle_positions_contract_margin($params = array()) {
        return $this->request('{settle}/positions/{contract}/margin', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_post_settle_positions_contract_leverage($params = array()) {
        return $this->request('{settle}/positions/{contract}/leverage', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_post_settle_positions_contract_risk_limit($params = array()) {
        return $this->request('{settle}/positions/{contract}/risk_limit', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_post_settle_orders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_post_settle_price_orders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_delete_settle_orders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_delete_settle_orders_order_id($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_delete_settle_price_orders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_delivery_delete_settle_price_orders_order_id($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_my_settlements($params = array()) {
        return $this->request('my_settlements', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_accounts($params = array()) {
        return $this->request('accounts', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_account_book($params = array()) {
        return $this->request('account_book', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_positions($params = array()) {
        return $this->request('positions', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_positions_contract($params = array()) {
        return $this->request('positions/{contract}', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_position_close($params = array()) {
        return $this->request('position_close', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_orders($params = array()) {
        return $this->request('orders', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_orders_order_id($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_my_trades($params = array()) {
        return $this->request('my_trades', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_get_mmp($params = array()) {
        return $this->request('mmp', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_post_orders($params = array()) {
        return $this->request('orders', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_post_countdown_cancel_all($params = array()) {
        return $this->request('countdown_cancel_all', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_post_mmp($params = array()) {
        return $this->request('mmp', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_post_mmp_reset($params = array()) {
        return $this->request('mmp/reset', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_delete_orders($params = array()) {
        return $this->request('orders', array('private', 'options'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_options_delete_orders_order_id($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'options'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_get_uni_currencies($params = array()) {
        return $this->request('uni/currencies', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_get_uni_currencies_currency($params = array()) {
        return $this->request('uni/currencies/{currency}', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_get_uni_lends($params = array()) {
        return $this->request('uni/lends', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_get_uni_lend_records($params = array()) {
        return $this->request('uni/lend_records', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_get_uni_interests_currency($params = array()) {
        return $this->request('uni/interests/{currency}', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_get_uni_interest_records($params = array()) {
        return $this->request('uni/interest_records', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_get_uni_interest_status_currency($params = array()) {
        return $this->request('uni/interest_status/{currency}', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_post_uni_lends($params = array()) {
        return $this->request('uni/lends', array('private', 'earn'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_put_uni_interest_reinvest($params = array()) {
        return $this->request('uni/interest_reinvest', array('private', 'earn'), 'PUT', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_earn_patch_uni_lends($params = array()) {
        return $this->request('uni/lends', array('private', 'earn'), 'PATCH', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_collateral_orders($params = array()) {
        return $this->request('collateral/orders', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_collateral_orders_order_id($params = array()) {
        return $this->request('collateral/orders/{order_id}', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_collateral_repay_records($params = array()) {
        return $this->request('collateral/repay_records', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_collateral_collaterals($params = array()) {
        return $this->request('collateral/collaterals', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_collateral_total_amount($params = array()) {
        return $this->request('collateral/total_amount', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_collateral_ltv($params = array()) {
        return $this->request('collateral/ltv', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_collateral_currencies($params = array()) {
        return $this->request('collateral/currencies', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_orders($params = array()) {
        return $this->request('multi_collateral/orders', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_orders_order_id($params = array()) {
        return $this->request('multi_collateral/orders/{order_id}', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_repay($params = array()) {
        return $this->request('multi_collateral/repay', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_mortgage($params = array()) {
        return $this->request('multi_collateral/mortgage', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_currency_quota($params = array()) {
        return $this->request('multi_collateral/currency_quota', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_currencies($params = array()) {
        return $this->request('multi_collateral/currencies', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_ltv($params = array()) {
        return $this->request('multi_collateral/ltv', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_fixed_rate($params = array()) {
        return $this->request('multi_collateral/fixed_rate', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_get_multi_collateral_current_rate($params = array()) {
        return $this->request('multi_collateral/current_rate', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_post_collateral_orders($params = array()) {
        return $this->request('collateral/orders', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_post_collateral_repay($params = array()) {
        return $this->request('collateral/repay', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_post_collateral_collaterals($params = array()) {
        return $this->request('collateral/collaterals', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_post_multi_collateral_orders($params = array()) {
        return $this->request('multi_collateral/orders', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_post_multi_collateral_repay($params = array()) {
        return $this->request('multi_collateral/repay', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_loan_post_multi_collateral_mortgage($params = array()) {
        return $this->request('multi_collateral/mortgage', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_get_detail($params = array()) {
        return $this->request('detail', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_get_rate_limit($params = array()) {
        return $this->request('rate_limit', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_get_stp_groups($params = array()) {
        return $this->request('stp_groups', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_get_stp_groups_stp_id_users($params = array()) {
        return $this->request('stp_groups/{stp_id}/users', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_get_stp_groups_debit_fee($params = array()) {
        return $this->request('stp_groups/debit_fee', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_post_stp_groups($params = array()) {
        return $this->request('stp_groups', array('private', 'account'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_post_stp_groups_stp_id_users($params = array()) {
        return $this->request('stp_groups/{stp_id}/users', array('private', 'account'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_account_delete_stp_groups_stp_id_users($params = array()) {
        return $this->request('stp_groups/{stp_id}/users', array('private', 'account'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_rebate_get_agency_transaction_history($params = array()) {
        return $this->request('agency/transaction_history', array('private', 'rebate'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function private_rebate_get_agency_commission_history($params = array()) {
        return $this->request('agency/commission_history', array('private', 'rebate'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function publicWalletGetCurrencyChains($params = array()) {
        return $this->request('currency_chains', array('public', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetCurrencies($params = array()) {
        return $this->request('currencies', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetCurrenciesCurrency($params = array()) {
        return $this->request('currencies/{currency}', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetCurrencyPairs($params = array()) {
        return $this->request('currency_pairs', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetCurrencyPairsCurrencyPair($params = array()) {
        return $this->request('currency_pairs/{currency_pair}', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetTickers($params = array()) {
        return $this->request('tickers', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetOrderBook($params = array()) {
        return $this->request('order_book', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetTrades($params = array()) {
        return $this->request('trades', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetCandlesticks($params = array()) {
        return $this->request('candlesticks', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicSpotGetTime($params = array()) {
        return $this->request('time', array('public', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicMarginGetCurrencyPairs($params = array()) {
        return $this->request('currency_pairs', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicMarginGetCurrencyPairsCurrencyPair($params = array()) {
        return $this->request('currency_pairs/{currency_pair}', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicMarginGetFundingBook($params = array()) {
        return $this->request('funding_book', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicMarginGetCrossCurrencies($params = array()) {
        return $this->request('cross/currencies', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicMarginGetCrossCurrenciesCurrency($params = array()) {
        return $this->request('cross/currencies/{currency}', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicMarginGetUniCurrencyPairs($params = array()) {
        return $this->request('uni/currency_pairs', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicMarginGetUniCurrencyPairsCurrencyPair($params = array()) {
        return $this->request('uni/currency_pairs/{currency_pair}', array('public', 'margin'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFlash_swapGetCurrencies($params = array()) {
        return $this->request('currencies', array('public', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleContracts($params = array()) {
        return $this->request('{settle}/contracts', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleContractsContract($params = array()) {
        return $this->request('{settle}/contracts/{contract}', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleOrderBook($params = array()) {
        return $this->request('{settle}/order_book', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleTrades($params = array()) {
        return $this->request('{settle}/trades', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleCandlesticks($params = array()) {
        return $this->request('{settle}/candlesticks', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettlePremiumIndex($params = array()) {
        return $this->request('{settle}/premium_index', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleTickers($params = array()) {
        return $this->request('{settle}/tickers', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleFundingRate($params = array()) {
        return $this->request('{settle}/funding_rate', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleInsurance($params = array()) {
        return $this->request('{settle}/insurance', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleContractStats($params = array()) {
        return $this->request('{settle}/contract_stats', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleIndexConstituentsIndex($params = array()) {
        return $this->request('{settle}/index_constituents/{index}', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleLiqOrders($params = array()) {
        return $this->request('{settle}/liq_orders', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicFuturesGetSettleRiskLimitTiers($params = array()) {
        return $this->request('{settle}/risk_limit_tiers', array('public', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicDeliveryGetSettleContracts($params = array()) {
        return $this->request('{settle}/contracts', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicDeliveryGetSettleContractsContract($params = array()) {
        return $this->request('{settle}/contracts/{contract}', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicDeliveryGetSettleOrderBook($params = array()) {
        return $this->request('{settle}/order_book', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicDeliveryGetSettleTrades($params = array()) {
        return $this->request('{settle}/trades', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicDeliveryGetSettleCandlesticks($params = array()) {
        return $this->request('{settle}/candlesticks', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicDeliveryGetSettleTickers($params = array()) {
        return $this->request('{settle}/tickers', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicDeliveryGetSettleInsurance($params = array()) {
        return $this->request('{settle}/insurance', array('public', 'delivery'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetUnderlyings($params = array()) {
        return $this->request('underlyings', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetExpirations($params = array()) {
        return $this->request('expirations', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetContracts($params = array()) {
        return $this->request('contracts', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetContractsContract($params = array()) {
        return $this->request('contracts/{contract}', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetSettlements($params = array()) {
        return $this->request('settlements', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetSettlementsContract($params = array()) {
        return $this->request('settlements/{contract}', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetOrderBook($params = array()) {
        return $this->request('order_book', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetTickers($params = array()) {
        return $this->request('tickers', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetUnderlyingTickersUnderlying($params = array()) {
        return $this->request('underlying/tickers/{underlying}', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetCandlesticks($params = array()) {
        return $this->request('candlesticks', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetUnderlyingCandlesticks($params = array()) {
        return $this->request('underlying/candlesticks', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicOptionsGetTrades($params = array()) {
        return $this->request('trades', array('public', 'options'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicEarnGetUniCurrencies($params = array()) {
        return $this->request('uni/currencies', array('public', 'earn'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicEarnGetUniCurrenciesCurrency($params = array()) {
        return $this->request('uni/currencies/{currency}', array('public', 'earn'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWithdrawalsPostWithdrawals($params = array()) {
        return $this->request('withdrawals', array('private', 'withdrawals'), 'POST', $params, null, null, array("cost" => 20));
    }
    public function privateWithdrawalsPostPush($params = array()) {
        return $this->request('push', array('private', 'withdrawals'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateWithdrawalsDeleteWithdrawalsWithdrawalId($params = array()) {
        return $this->request('withdrawals/{withdrawal_id}', array('private', 'withdrawals'), 'DELETE', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetDepositAddress($params = array()) {
        return $this->request('deposit_address', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetWithdrawals($params = array()) {
        return $this->request('withdrawals', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetDeposits($params = array()) {
        return $this->request('deposits', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetSubAccountTransfers($params = array()) {
        return $this->request('sub_account_transfers', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetOrderStatus($params = array()) {
        return $this->request('order_status', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetWithdrawStatus($params = array()) {
        return $this->request('withdraw_status', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetSubAccountBalances($params = array()) {
        return $this->request('sub_account_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletGetSubAccountMarginBalances($params = array()) {
        return $this->request('sub_account_margin_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletGetSubAccountFuturesBalances($params = array()) {
        return $this->request('sub_account_futures_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletGetSubAccountCrossMarginBalances($params = array()) {
        return $this->request('sub_account_cross_margin_balances', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletGetSavedAddress($params = array()) {
        return $this->request('saved_address', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetFee($params = array()) {
        return $this->request('fee', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetTotalBalance($params = array()) {
        return $this->request('total_balance', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletGetSmallBalance($params = array()) {
        return $this->request('small_balance', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetSmallBalanceHistory($params = array()) {
        return $this->request('small_balance_history', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletGetPush($params = array()) {
        return $this->request('push', array('private', 'wallet'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateWalletPostTransfers($params = array()) {
        return $this->request('transfers', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletPostSubAccountTransfers($params = array()) {
        return $this->request('sub_account_transfers', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletPostSubAccountToSubAccount($params = array()) {
        return $this->request('sub_account_to_sub_account', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function privateWalletPostSmallBalance($params = array()) {
        return $this->request('small_balance', array('private', 'wallet'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateSubAccountsGetSubAccounts($params = array()) {
        return $this->request('sub_accounts', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsGetSubAccountsUserId($params = array()) {
        return $this->request('sub_accounts/{user_id}', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsGetSubAccountsUserIdKeys($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsGetSubAccountsUserIdKeysKey($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys/{key}', array('private', 'subAccounts'), 'GET', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsPostSubAccounts($params = array()) {
        return $this->request('sub_accounts', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsPostSubAccountsUserIdKeys($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsPostSubAccountsUserIdLock($params = array()) {
        return $this->request('sub_accounts/{user_id}/lock', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsPostSubAccountsUserIdUnlock($params = array()) {
        return $this->request('sub_accounts/{user_id}/unlock', array('private', 'subAccounts'), 'POST', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsPutSubAccountsUserIdKeysKey($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys/{key}', array('private', 'subAccounts'), 'PUT', $params, null, null, array("cost" => 2.5));
    }
    public function privateSubAccountsDeleteSubAccountsUserIdKeysKey($params = array()) {
        return $this->request('sub_accounts/{user_id}/keys/{key}', array('private', 'subAccounts'), 'DELETE', $params, null, null, array("cost" => 2.5));
    }
    public function privateUnifiedGetAccounts($params = array()) {
        return $this->request('accounts', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetAccountMode($params = array()) {
        return $this->request('account_mode', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetBorrowable($params = array()) {
        return $this->request('borrowable', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetTransferable($params = array()) {
        return $this->request('transferable', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetLoans($params = array()) {
        return $this->request('loans', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetLoanRecords($params = array()) {
        return $this->request('loan_records', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetInterestRecords($params = array()) {
        return $this->request('interest_records', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetEstimateRate($params = array()) {
        return $this->request('estimate_rate', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetCurrencyDiscountTiers($params = array()) {
        return $this->request('currency_discount_tiers', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetRiskUnits($params = array()) {
        return $this->request('risk_units', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetUnifiedMode($params = array()) {
        return $this->request('unified_mode', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetLoanMarginTiers($params = array()) {
        return $this->request('loan_margin_tiers', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetLeverageUserCurrencyConfig($params = array()) {
        return $this->request('leverage/user_currency_config', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedGetLeverageUserCurrencySetting($params = array()) {
        return $this->request('leverage/user_currency_setting', array('private', 'unified'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedPostAccountMode($params = array()) {
        return $this->request('account_mode', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedPostLoans($params = array()) {
        return $this->request('loans', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 13.333333333333334));
    }
    public function privateUnifiedPostPortfolioCalculator($params = array()) {
        return $this->request('portfolio_calculator', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedPostLeverageUserCurrencySetting($params = array()) {
        return $this->request('leverage/user_currency_setting', array('private', 'unified'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateUnifiedPutUnifiedMode($params = array()) {
        return $this->request('unified_mode', array('private', 'unified'), 'PUT', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateSpotGetFee($params = array()) {
        return $this->request('fee', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetBatchFee($params = array()) {
        return $this->request('batch_fee', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetAccounts($params = array()) {
        return $this->request('accounts', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetAccountBook($params = array()) {
        return $this->request('account_book', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetOpenOrders($params = array()) {
        return $this->request('open_orders', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetOrders($params = array()) {
        return $this->request('orders', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetOrdersOrderId($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetMyTrades($params = array()) {
        return $this->request('my_trades', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetPriceOrders($params = array()) {
        return $this->request('price_orders', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotGetPriceOrdersOrderId($params = array()) {
        return $this->request('price_orders/{order_id}', array('private', 'spot'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateSpotPostBatchOrders($params = array()) {
        return $this->request('batch_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateSpotPostCrossLiquidateOrders($params = array()) {
        return $this->request('cross_liquidate_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateSpotPostOrders($params = array()) {
        return $this->request('orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateSpotPostCancelBatchOrders($params = array()) {
        return $this->request('cancel_batch_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateSpotPostCountdownCancelAll($params = array()) {
        return $this->request('countdown_cancel_all', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateSpotPostAmendBatchOrders($params = array()) {
        return $this->request('amend_batch_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateSpotPostPriceOrders($params = array()) {
        return $this->request('price_orders', array('private', 'spot'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateSpotDeleteOrders($params = array()) {
        return $this->request('orders', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateSpotDeleteOrdersOrderId($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateSpotDeletePriceOrders($params = array()) {
        return $this->request('price_orders', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateSpotDeletePriceOrdersOrderId($params = array()) {
        return $this->request('price_orders/{order_id}', array('private', 'spot'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateSpotPatchOrdersOrderId($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'spot'), 'PATCH', $params, null, null, array("cost" => 0.4));
    }
    public function privateMarginGetAccounts($params = array()) {
        return $this->request('accounts', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetAccountBook($params = array()) {
        return $this->request('account_book', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetFundingAccounts($params = array()) {
        return $this->request('funding_accounts', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetAutoRepay($params = array()) {
        return $this->request('auto_repay', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetTransferable($params = array()) {
        return $this->request('transferable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetLoans($params = array()) {
        return $this->request('loans', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetLoansLoanId($params = array()) {
        return $this->request('loans/{loan_id}', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetLoansLoanIdRepayment($params = array()) {
        return $this->request('loans/{loan_id}/repayment', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetLoanRecords($params = array()) {
        return $this->request('loan_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetLoanRecordsLoanRecordId($params = array()) {
        return $this->request('loan_records/{loan_record_id}', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetBorrowable($params = array()) {
        return $this->request('borrowable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossAccounts($params = array()) {
        return $this->request('cross/accounts', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossAccountBook($params = array()) {
        return $this->request('cross/account_book', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossLoans($params = array()) {
        return $this->request('cross/loans', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossLoansLoanId($params = array()) {
        return $this->request('cross/loans/{loan_id}', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossRepayments($params = array()) {
        return $this->request('cross/repayments', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossInterestRecords($params = array()) {
        return $this->request('cross/interest_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossTransferable($params = array()) {
        return $this->request('cross/transferable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossEstimateRate($params = array()) {
        return $this->request('cross/estimate_rate', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetCrossBorrowable($params = array()) {
        return $this->request('cross/borrowable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetUniEstimateRate($params = array()) {
        return $this->request('uni/estimate_rate', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetUniLoans($params = array()) {
        return $this->request('uni/loans', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetUniLoanRecords($params = array()) {
        return $this->request('uni/loan_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetUniInterestRecords($params = array()) {
        return $this->request('uni/interest_records', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginGetUniBorrowable($params = array()) {
        return $this->request('uni/borrowable', array('private', 'margin'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPostAutoRepay($params = array()) {
        return $this->request('auto_repay', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPostLoans($params = array()) {
        return $this->request('loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPostMergedLoans($params = array()) {
        return $this->request('merged_loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPostLoansLoanIdRepayment($params = array()) {
        return $this->request('loans/{loan_id}/repayment', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPostCrossLoans($params = array()) {
        return $this->request('cross/loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPostCrossRepayments($params = array()) {
        return $this->request('cross/repayments', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPostUniLoans($params = array()) {
        return $this->request('uni/loans', array('private', 'margin'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPatchLoansLoanId($params = array()) {
        return $this->request('loans/{loan_id}', array('private', 'margin'), 'PATCH', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginPatchLoanRecordsLoanRecordId($params = array()) {
        return $this->request('loan_records/{loan_record_id}', array('private', 'margin'), 'PATCH', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateMarginDeleteLoansLoanId($params = array()) {
        return $this->request('loans/{loan_id}', array('private', 'margin'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateFlash_swapGetCurrencies($params = array()) {
        return $this->request('currencies', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFlash_swapGetCurrencyPairs($params = array()) {
        return $this->request('currency_pairs', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFlash_swapGetOrders($params = array()) {
        return $this->request('orders', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFlash_swapGetOrdersOrderId($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'flash_swap'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFlash_swapPostOrders($params = array()) {
        return $this->request('orders', array('private', 'flash_swap'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFlash_swapPostOrdersPreview($params = array()) {
        return $this->request('orders/preview', array('private', 'flash_swap'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleAccounts($params = array()) {
        return $this->request('{settle}/accounts', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleAccountBook($params = array()) {
        return $this->request('{settle}/account_book', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettlePositions($params = array()) {
        return $this->request('{settle}/positions', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettlePositionsContract($params = array()) {
        return $this->request('{settle}/positions/{contract}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleDualCompPositionsContract($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleOrders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleOrdersTimerange($params = array()) {
        return $this->request('{settle}/orders_timerange', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleOrdersOrderId($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleMyTrades($params = array()) {
        return $this->request('{settle}/my_trades', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleMyTradesTimerange($params = array()) {
        return $this->request('{settle}/my_trades_timerange', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettlePositionClose($params = array()) {
        return $this->request('{settle}/position_close', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleLiquidates($params = array()) {
        return $this->request('{settle}/liquidates', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleAutoDeleverages($params = array()) {
        return $this->request('{settle}/auto_deleverages', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleFee($params = array()) {
        return $this->request('{settle}/fee', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettleRiskLimitTiers($params = array()) {
        return $this->request('{settle}/risk_limit_tiers', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettlePriceOrders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesGetSettlePriceOrdersOrderId($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'futures'), 'GET', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettlePositionsContractMargin($params = array()) {
        return $this->request('{settle}/positions/{contract}/margin', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettlePositionsContractLeverage($params = array()) {
        return $this->request('{settle}/positions/{contract}/leverage', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettlePositionsContractRiskLimit($params = array()) {
        return $this->request('{settle}/positions/{contract}/risk_limit', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettleDualMode($params = array()) {
        return $this->request('{settle}/dual_mode', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettleDualCompPositionsContractMargin($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}/margin', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettleDualCompPositionsContractLeverage($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}/leverage', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettleDualCompPositionsContractRiskLimit($params = array()) {
        return $this->request('{settle}/dual_comp/positions/{contract}/risk_limit', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesPostSettleOrders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateFuturesPostSettleBatchOrders($params = array()) {
        return $this->request('{settle}/batch_orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateFuturesPostSettleCountdownCancelAll($params = array()) {
        return $this->request('{settle}/countdown_cancel_all', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateFuturesPostSettleBatchCancelOrders($params = array()) {
        return $this->request('{settle}/batch_cancel_orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateFuturesPostSettlePriceOrders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'futures'), 'POST', $params, null, null, array("cost" => 0.4));
    }
    public function privateFuturesPutSettleOrdersOrderId($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'futures'), 'PUT', $params, null, null, array("cost" => 1));
    }
    public function privateFuturesDeleteSettleOrders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateFuturesDeleteSettleOrdersOrderId($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateFuturesDeleteSettlePriceOrders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateFuturesDeleteSettlePriceOrdersOrderId($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'futures'), 'DELETE', $params, null, null, array("cost" => 0.26666666666666666));
    }
    public function privateDeliveryGetSettleAccounts($params = array()) {
        return $this->request('{settle}/accounts', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettleAccountBook($params = array()) {
        return $this->request('{settle}/account_book', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettlePositions($params = array()) {
        return $this->request('{settle}/positions', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettlePositionsContract($params = array()) {
        return $this->request('{settle}/positions/{contract}', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettleOrders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettleOrdersOrderId($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettleMyTrades($params = array()) {
        return $this->request('{settle}/my_trades', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettlePositionClose($params = array()) {
        return $this->request('{settle}/position_close', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettleLiquidates($params = array()) {
        return $this->request('{settle}/liquidates', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettleSettlements($params = array()) {
        return $this->request('{settle}/settlements', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettlePriceOrders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryGetSettlePriceOrdersOrderId($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'delivery'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryPostSettlePositionsContractMargin($params = array()) {
        return $this->request('{settle}/positions/{contract}/margin', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryPostSettlePositionsContractLeverage($params = array()) {
        return $this->request('{settle}/positions/{contract}/leverage', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryPostSettlePositionsContractRiskLimit($params = array()) {
        return $this->request('{settle}/positions/{contract}/risk_limit', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryPostSettleOrders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryPostSettlePriceOrders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'delivery'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryDeleteSettleOrders($params = array()) {
        return $this->request('{settle}/orders', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryDeleteSettleOrdersOrderId($params = array()) {
        return $this->request('{settle}/orders/{order_id}', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryDeleteSettlePriceOrders($params = array()) {
        return $this->request('{settle}/price_orders', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateDeliveryDeleteSettlePriceOrdersOrderId($params = array()) {
        return $this->request('{settle}/price_orders/{order_id}', array('private', 'delivery'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetMySettlements($params = array()) {
        return $this->request('my_settlements', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetAccounts($params = array()) {
        return $this->request('accounts', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetAccountBook($params = array()) {
        return $this->request('account_book', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetPositions($params = array()) {
        return $this->request('positions', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetPositionsContract($params = array()) {
        return $this->request('positions/{contract}', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetPositionClose($params = array()) {
        return $this->request('position_close', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetOrders($params = array()) {
        return $this->request('orders', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetOrdersOrderId($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetMyTrades($params = array()) {
        return $this->request('my_trades', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsGetMmp($params = array()) {
        return $this->request('mmp', array('private', 'options'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsPostOrders($params = array()) {
        return $this->request('orders', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsPostCountdownCancelAll($params = array()) {
        return $this->request('countdown_cancel_all', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsPostMmp($params = array()) {
        return $this->request('mmp', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsPostMmpReset($params = array()) {
        return $this->request('mmp/reset', array('private', 'options'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsDeleteOrders($params = array()) {
        return $this->request('orders', array('private', 'options'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateOptionsDeleteOrdersOrderId($params = array()) {
        return $this->request('orders/{order_id}', array('private', 'options'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnGetUniCurrencies($params = array()) {
        return $this->request('uni/currencies', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnGetUniCurrenciesCurrency($params = array()) {
        return $this->request('uni/currencies/{currency}', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnGetUniLends($params = array()) {
        return $this->request('uni/lends', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnGetUniLendRecords($params = array()) {
        return $this->request('uni/lend_records', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnGetUniInterestsCurrency($params = array()) {
        return $this->request('uni/interests/{currency}', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnGetUniInterestRecords($params = array()) {
        return $this->request('uni/interest_records', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnGetUniInterestStatusCurrency($params = array()) {
        return $this->request('uni/interest_status/{currency}', array('private', 'earn'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnPostUniLends($params = array()) {
        return $this->request('uni/lends', array('private', 'earn'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnPutUniInterestReinvest($params = array()) {
        return $this->request('uni/interest_reinvest', array('private', 'earn'), 'PUT', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateEarnPatchUniLends($params = array()) {
        return $this->request('uni/lends', array('private', 'earn'), 'PATCH', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetCollateralOrders($params = array()) {
        return $this->request('collateral/orders', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetCollateralOrdersOrderId($params = array()) {
        return $this->request('collateral/orders/{order_id}', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetCollateralRepayRecords($params = array()) {
        return $this->request('collateral/repay_records', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetCollateralCollaterals($params = array()) {
        return $this->request('collateral/collaterals', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetCollateralTotalAmount($params = array()) {
        return $this->request('collateral/total_amount', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetCollateralLtv($params = array()) {
        return $this->request('collateral/ltv', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetCollateralCurrencies($params = array()) {
        return $this->request('collateral/currencies', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralOrders($params = array()) {
        return $this->request('multi_collateral/orders', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralOrdersOrderId($params = array()) {
        return $this->request('multi_collateral/orders/{order_id}', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralRepay($params = array()) {
        return $this->request('multi_collateral/repay', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralMortgage($params = array()) {
        return $this->request('multi_collateral/mortgage', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralCurrencyQuota($params = array()) {
        return $this->request('multi_collateral/currency_quota', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralCurrencies($params = array()) {
        return $this->request('multi_collateral/currencies', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralLtv($params = array()) {
        return $this->request('multi_collateral/ltv', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralFixedRate($params = array()) {
        return $this->request('multi_collateral/fixed_rate', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanGetMultiCollateralCurrentRate($params = array()) {
        return $this->request('multi_collateral/current_rate', array('private', 'loan'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanPostCollateralOrders($params = array()) {
        return $this->request('collateral/orders', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanPostCollateralRepay($params = array()) {
        return $this->request('collateral/repay', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanPostCollateralCollaterals($params = array()) {
        return $this->request('collateral/collaterals', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanPostMultiCollateralOrders($params = array()) {
        return $this->request('multi_collateral/orders', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanPostMultiCollateralRepay($params = array()) {
        return $this->request('multi_collateral/repay', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateLoanPostMultiCollateralMortgage($params = array()) {
        return $this->request('multi_collateral/mortgage', array('private', 'loan'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountGetDetail($params = array()) {
        return $this->request('detail', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountGetRateLimit($params = array()) {
        return $this->request('rate_limit', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountGetStpGroups($params = array()) {
        return $this->request('stp_groups', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountGetStpGroupsStpIdUsers($params = array()) {
        return $this->request('stp_groups/{stp_id}/users', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountGetStpGroupsDebitFee($params = array()) {
        return $this->request('stp_groups/debit_fee', array('private', 'account'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountPostStpGroups($params = array()) {
        return $this->request('stp_groups', array('private', 'account'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountPostStpGroupsStpIdUsers($params = array()) {
        return $this->request('stp_groups/{stp_id}/users', array('private', 'account'), 'POST', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateAccountDeleteStpGroupsStpIdUsers($params = array()) {
        return $this->request('stp_groups/{stp_id}/users', array('private', 'account'), 'DELETE', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateRebateGetAgencyTransactionHistory($params = array()) {
        return $this->request('agency/transaction_history', array('private', 'rebate'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
    public function privateRebateGetAgencyCommissionHistory($params = array()) {
        return $this->request('agency/commission_history', array('private', 'rebate'), 'GET', $params, null, null, array("cost" => 1.3333333333333333));
    }
}
