From 540b5052d216553639b130f5d430f4f744f8b766 Mon Sep 17 00:00:00 2001 From: lin <465382251@qq.com> Date: Fri, 17 May 2019 11:32:34 +0800 Subject: [PATCH] Update README_CN.md --- README_CN.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README_CN.md b/README_CN.md index 53ef131..1f6b9fd 100644 --- a/README_CN.md +++ b/README_CN.md @@ -25,6 +25,18 @@ Okex 文档地址 [https://www.okex.com/docs/en](https://www.okex.com/docs/en/#R composer require "linwj/okex dev-master" ``` +支持本地开发代理设置 [More](https://github.com/zhouaini528/okex-php/blob/master/tests/spot/proxy.php#L21) +```php +//If you are developing locally and need an agent, you can set this +$okex->setProxy(); + +//More flexible Settings +$okex->setProxy([ + 'http' => 'http://127.0.0.1:12333', + 'https' => 'http://127.0.0.1:12333', +]); +``` + ### 现货交易 API Instrument related API [More](https://github.com/zhouaini528/okex-php/blob/master/tests/spot/instrument.php)