<?php

namespace ccxt\pro;

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

use Exception; // a common import

class okxus extends \ccxt\pro\okx {

    public function describe(): mixed {
        return $this->deep_extend(parent::describe(), array(
            'id' => 'okxus',
            'name' => 'OKX (US)',
            'hostname' => 'us.okx.com',
            'urls' => array(
                'api' => array(
                    'rest' => 'https://{hostname}',
                    'ws' => 'wss://wsus.okx.com:8443/ws/v5',
                ),
                'www' => 'https://app.okx.com',
                'doc' => 'https://app.okx.com/docs-v5/en/#overview',
                'fees' => 'https://app.okx.com/pages/products/fees.html',
                'referral' => array(
                    'url' => 'https://www.app.okx.com/join/CCXT2023',
                    'discount' => 0.2,
                ),
                'test' => array(
                    'ws' => 'wss://wsuspap.okx.com:8443/ws/v5',
                ),
            ),
            'has' => array(
                'swap' => false,
                'future' => false,
                'option' => false,
            ),
        ));
    }
}
