Skip to content

Commit

Permalink
coinex perpetual
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouaini528 committed Jul 16, 2021
1 parent 0b3d19f commit 43bb82e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $coinex->setOptions([

### Exchange Spot

Market API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/market.php)
Market API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Market.php)

```php
$conex=new CoinexExchange();
Expand Down Expand Up @@ -126,7 +126,7 @@ try {
}
```

Account API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/account.php)
Account API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Account.php)

```php
$conex=new CoinexExchange($key,$secret);
Expand Down Expand Up @@ -162,7 +162,7 @@ try {
```


Trading API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/trading.php)
Trading API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Trading.php)

```php
$conex=new CoinexExchange($key,$secret);
Expand Down Expand Up @@ -209,7 +209,7 @@ try {
```


Margin API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/margin.php)
Margin API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Margin.php)

```php
$conex=new CoinexExchange($key,$secret);
Expand Down Expand Up @@ -237,7 +237,7 @@ More Test [more](https://github.com/zhouaini528/coinex-php/blob/master/tests/exc
### Perpetual Futures


Market API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/perpetual/margin.php)
Market API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Perpetual/Market.php)

```php
$conex=new CoinexPerpetual();
Expand Down Expand Up @@ -293,7 +293,7 @@ try {
}
```

Order API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/perpetual/order.php)
Order API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Perpetual/Order.php)

```php
$conex=new CoinexPerpetual($key,$secret);
Expand Down Expand Up @@ -347,7 +347,7 @@ try {
}
```

Position API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/perpetual/position.php)
Position API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Perpetual/Position.php)

```php
$conex=new CoinexPerpetual($key,$secret);
Expand Down Expand Up @@ -384,7 +384,7 @@ try {
}
```


More Test [more](https://github.com/zhouaini528/coinex-php/tree/master/tests/perpetual)



18 changes: 10 additions & 8 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Coinex 期货文档 [https://github.com/coinexcom/coinex_perpetual_api](https://

大部分的接口已经完成,使用者可以根据我的设计方案继续扩展,欢迎与我一起迭代它。

[English Document](https://github.com/zhouaini528/coinex-php/blob/master/README_CN.md)
[English Document](https://github.com/zhouaini528/coinex-php/blob/master/README.md)

QQ交流群:668421169

Expand Down Expand Up @@ -86,7 +86,7 @@ $coinex->setOptions([

### 现货交易

市场 API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/market.php)
市场 API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Market.php)

```php
$conex=new CoinexExchange();
Expand Down Expand Up @@ -128,7 +128,7 @@ try {
}
```

账户 API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/account.php)
账户 API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Account.php)

```php
$conex=new CoinexExchange($key,$secret);
Expand Down Expand Up @@ -164,7 +164,7 @@ try {
```


交易 API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/trading.php)
交易 API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Trading.php)

```php
$conex=new CoinexExchange($key,$secret);
Expand Down Expand Up @@ -211,7 +211,7 @@ try {
```


保证金 API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/exchange/margin.php)
保证金 API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Exchange/Margin.php)

```php
$conex=new CoinexExchange($key,$secret);
Expand All @@ -238,7 +238,7 @@ More Test [more](https://github.com/zhouaini528/coinex-php/blob/master/tests/exc

### 期货交易

市场 API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/perpetual/margin.php)
市场 API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Perpetual/Market.php)

```php
$conex=new CoinexPerpetual();
Expand Down Expand Up @@ -294,7 +294,7 @@ try {
}
```

订单 API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/perpetual/order.php)
订单 API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Perpetual/Order.php)

```php
$conex=new CoinexPerpetual($key,$secret);
Expand Down Expand Up @@ -348,7 +348,7 @@ try {
}
```

仓位 API [More](https://github.com/zhouaini528/coinex-php/blob/master/tests/perpetual/position.php)
仓位 API [More](https://github.com/zhouaini528/coinex-php/tree/master/src/Api/Perpetual/Position.php)

```php
$conex=new CoinexPerpetual($key,$secret);
Expand Down Expand Up @@ -385,3 +385,5 @@ try {
}
```

More Test [more](https://github.com/zhouaini528/coinex-php/tree/master/tests/perpetual)

0 comments on commit 43bb82e

Please sign in to comment.