<?php

namespace ccxt\async\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 p2b extends \ccxt\async\Exchange {
    public function public_get_markets($params = array()) {
        return $this->request('markets', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_get_market($params = array()) {
        return $this->request('market', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_get_tickers($params = array()) {
        return $this->request('tickers', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_get_ticker($params = array()) {
        return $this->request('ticker', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_get_book($params = array()) {
        return $this->request('book', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_get_history($params = array()) {
        return $this->request('history', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_get_depth_result($params = array()) {
        return $this->request('depth/result', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function public_get_market_kline($params = array()) {
        return $this->request('market/kline', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function private_post_account_balances($params = array()) {
        return $this->request('account/balances', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_account_balance($params = array()) {
        return $this->request('account/balance', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_order_new($params = array()) {
        return $this->request('order/new', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_order_cancel($params = array()) {
        return $this->request('order/cancel', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_orders($params = array()) {
        return $this->request('orders', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_account_market_order_history($params = array()) {
        return $this->request('account/market_order_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_account_market_deal_history($params = array()) {
        return $this->request('account/market_deal_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_account_order($params = array()) {
        return $this->request('account/order', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_account_order_history($params = array()) {
        return $this->request('account/order_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function private_post_account_executed_history($params = array()) {
        return $this->request('account/executed_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function publicGetMarkets($params = array()) {
        return $this->request('markets', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicGetMarket($params = array()) {
        return $this->request('market', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicGetTickers($params = array()) {
        return $this->request('tickers', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicGetTicker($params = array()) {
        return $this->request('ticker', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicGetBook($params = array()) {
        return $this->request('book', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicGetHistory($params = array()) {
        return $this->request('history', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicGetDepthResult($params = array()) {
        return $this->request('depth/result', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function publicGetMarketKline($params = array()) {
        return $this->request('market/kline', 'public', 'GET', $params, null, null, array("cost" => 1));
    }
    public function privatePostAccountBalances($params = array()) {
        return $this->request('account/balances', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostAccountBalance($params = array()) {
        return $this->request('account/balance', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostOrderNew($params = array()) {
        return $this->request('order/new', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostOrderCancel($params = array()) {
        return $this->request('order/cancel', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostOrders($params = array()) {
        return $this->request('orders', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostAccountMarketOrderHistory($params = array()) {
        return $this->request('account/market_order_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostAccountMarketDealHistory($params = array()) {
        return $this->request('account/market_deal_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostAccountOrder($params = array()) {
        return $this->request('account/order', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostAccountOrderHistory($params = array()) {
        return $this->request('account/order_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
    public function privatePostAccountExecutedHistory($params = array()) {
        return $this->request('account/executed_history', 'private', 'POST', $params, null, null, array("cost" => 1));
    }
}
