Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Nov 28, 2019
1 parent aa5d815 commit 15dfa69
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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)

10 changes: 7 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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();
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 15dfa69

Please sign in to comment.