<?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 mercado extends \ccxt\Exchange {
    public function public_get_coins($params = array()) {
        return $this->request('coins', 'public', 'GET', $params, null, null, array());
    }
    public function public_get_coin_orderbook($params = array()) {
        return $this->request('{coin}/orderbook/', 'public', 'GET', $params, null, null, array());
    }
    public function public_get_coin_ticker($params = array()) {
        return $this->request('{coin}/ticker/', 'public', 'GET', $params, null, null, array());
    }
    public function public_get_coin_trades($params = array()) {
        return $this->request('{coin}/trades/', 'public', 'GET', $params, null, null, array());
    }
    public function public_get_coin_trades_from($params = array()) {
        return $this->request('{coin}/trades/{from}/', 'public', 'GET', $params, null, null, array());
    }
    public function public_get_coin_trades_from_to($params = array()) {
        return $this->request('{coin}/trades/{from}/{to}', 'public', 'GET', $params, null, null, array());
    }
    public function public_get_coin_day_summary_year_month_day($params = array()) {
        return $this->request('{coin}/day-summary/{year}/{month}/{day}/', 'public', 'GET', $params, null, null, array());
    }
    public function private_post_cancel_order($params = array()) {
        return $this->request('cancel_order', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_get_account_info($params = array()) {
        return $this->request('get_account_info', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_get_order($params = array()) {
        return $this->request('get_order', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_get_withdrawal($params = array()) {
        return $this->request('get_withdrawal', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_list_system_messages($params = array()) {
        return $this->request('list_system_messages', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_list_orders($params = array()) {
        return $this->request('list_orders', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_list_orderbook($params = array()) {
        return $this->request('list_orderbook', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_place_buy_order($params = array()) {
        return $this->request('place_buy_order', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_place_sell_order($params = array()) {
        return $this->request('place_sell_order', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_place_market_buy_order($params = array()) {
        return $this->request('place_market_buy_order', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_place_market_sell_order($params = array()) {
        return $this->request('place_market_sell_order', 'private', 'POST', $params, null, null, array());
    }
    public function private_post_withdraw_coin($params = array()) {
        return $this->request('withdraw_coin', 'private', 'POST', $params, null, null, array());
    }
    public function v4public_get_coin_candle($params = array()) {
        return $this->request('{coin}/candle/', 'v4Public', 'GET', $params, null, null, array());
    }
    public function v4publicnet_get_candles($params = array()) {
        return $this->request('candles', 'v4PublicNet', 'GET', $params, null, null, array());
    }
    public function publicGetCoins($params = array()) {
        return $this->request('coins', 'public', 'GET', $params, null, null, array());
    }
    public function publicGetCoinOrderbook($params = array()) {
        return $this->request('{coin}/orderbook/', 'public', 'GET', $params, null, null, array());
    }
    public function publicGetCoinTicker($params = array()) {
        return $this->request('{coin}/ticker/', 'public', 'GET', $params, null, null, array());
    }
    public function publicGetCoinTrades($params = array()) {
        return $this->request('{coin}/trades/', 'public', 'GET', $params, null, null, array());
    }
    public function publicGetCoinTradesFrom($params = array()) {
        return $this->request('{coin}/trades/{from}/', 'public', 'GET', $params, null, null, array());
    }
    public function publicGetCoinTradesFromTo($params = array()) {
        return $this->request('{coin}/trades/{from}/{to}', 'public', 'GET', $params, null, null, array());
    }
    public function publicGetCoinDaySummaryYearMonthDay($params = array()) {
        return $this->request('{coin}/day-summary/{year}/{month}/{day}/', 'public', 'GET', $params, null, null, array());
    }
    public function privatePostCancelOrder($params = array()) {
        return $this->request('cancel_order', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostGetAccountInfo($params = array()) {
        return $this->request('get_account_info', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostGetOrder($params = array()) {
        return $this->request('get_order', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostGetWithdrawal($params = array()) {
        return $this->request('get_withdrawal', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostListSystemMessages($params = array()) {
        return $this->request('list_system_messages', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostListOrders($params = array()) {
        return $this->request('list_orders', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostListOrderbook($params = array()) {
        return $this->request('list_orderbook', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostPlaceBuyOrder($params = array()) {
        return $this->request('place_buy_order', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostPlaceSellOrder($params = array()) {
        return $this->request('place_sell_order', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostPlaceMarketBuyOrder($params = array()) {
        return $this->request('place_market_buy_order', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostPlaceMarketSellOrder($params = array()) {
        return $this->request('place_market_sell_order', 'private', 'POST', $params, null, null, array());
    }
    public function privatePostWithdrawCoin($params = array()) {
        return $this->request('withdraw_coin', 'private', 'POST', $params, null, null, array());
    }
    public function v4PublicGetCoinCandle($params = array()) {
        return $this->request('{coin}/candle/', 'v4Public', 'GET', $params, null, null, array());
    }
    public function v4PublicNetGetCandles($params = array()) {
        return $this->request('candles', 'v4PublicNet', 'GET', $params, null, null, array());
    }
}
