From 15dfa697c803991cc763e28629bb6eab9117d608 Mon Sep 17 00:00:00 2001 From: lin <465382251@qq.com> Date: Thu, 28 Nov 2019 14:20:28 +0800 Subject: [PATCH] update README --- README.md | 10 +++++----- README_CN.md | 10 +++++++--- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index aa5ecad..231c3d5 100644 --- a/README.md +++ b/README.md @@ -167,13 +167,13 @@ try { } ``` -[More Test](https://github.com/zhouaini528/binance-php/tree/master/tests) +[More Test](https://github.com/zhouaini528/binance-php/tree/master/tests/spot) [More API](https://github.com/zhouaini528/binance-php/tree/master/src/Api) ### Futures Trading API -Market related API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/spot/system.php) +Market related API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/future/system.php) ```php use Lin\Binance\BinanceFuture; @@ -226,7 +226,7 @@ try { } ``` -Trade related API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/spot/trade.php) +Trade related API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/future/trade.php) ```php use Lin\Binance\BinanceFuture; @@ -276,7 +276,7 @@ try { } ``` -User related API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/spot/user.php) +User related API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/future/user.php) ```php use Lin\Binance\BinanceFuture; @@ -315,7 +315,7 @@ try { } ``` -[More Test](https://github.com/zhouaini528/binance-php/tree/master/tests) +[More Test](https://github.com/zhouaini528/binance-php/tree/master/tests/future) [More API](https://github.com/zhouaini528/binance-php/tree/master/src/Api) diff --git a/README_CN.md b/README_CN.md index 74b44fd..51c96e7 100644 --- a/README_CN.md +++ b/README_CN.md @@ -30,7 +30,10 @@ composer require linwj/binance ``` -本地开发支持代理 [More](https://github.com/zhouaini528/binance-php/blob/master/tests/proxy.php#L21)```php +本地开发支持代理 [More](https://github.com/zhouaini528/binance-php/blob/master/tests/proxy.php#L21) + +```php +use Lin\Binance\Binance; $binance=new Binance($key,$secret); //You can set special needs @@ -57,6 +60,7 @@ $binance->setOptions([ 系统数据相关 API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/spot/system.php) + ```php use Lin\Binance\Binance; $binance=new Binance(); @@ -231,7 +235,7 @@ try { } ``` -交易相关 API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/spot/trade.php) +交易相关 API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/future/trade.php) ```php use Lin\Binance\BinanceFuture; @@ -281,7 +285,7 @@ try { } ``` -用户相关 API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/spot/user.php) +用户相关 API [More](https://github.com/zhouaini528/binance-php/blob/master/tests/future/user.php) ```php use Lin\Binance\BinanceFuture;