Skip to content

Commit 93ad27a

Browse files
committed
Update README.md
1 parent 2cfd425 commit 93ad27a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,22 @@
1212
[![Code consistency](https://squizlabs.github.io/PHP_CodeSniffer/analysis/jaggedsoft/php-binance-api/grade.svg?style=flat-square)](https://squizlabs.github.io/PHP_CodeSniffer/analysis/jaggedsoft/php-binance-api)
1313
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/683459a5a71c4875956cf23078a0c39b)](https://www.codacy.com/app/dmzoneill/php-binance-api?utm_source=github.com&utm_medium=referral&utm_content=jaggedsoft/php-binance-api&utm_campaign=Badge_Grade)
1414
-->
15+
# Updates - Futures
16+
17+
- userDataStream (you can add func as third parameter which starts on ws connect)
18+
- userDataStreamF (same but for futures)
19+
20+
```php
21+
global $api;
22+
$quantity = 1.00;
23+
$price = 59000.58;
24+
$api->sell("BTCUSDT", $quantity, $price, "LIMIT", [], true);
25+
// true paramater is for futures
26+
// if its true then it using futures server else default
27+
```
28+
1529
# PHP Binance API
30+
1631
This project is designed to help you make your own projects that interact with the [Binance API](https://github.com/binance-exchange/binance-official-api-docs). You can stream candlestick chart data, market depth, or use other advanced features such as setting stop losses and iceberg orders. This project seeks to have complete API coverage including WebSockets.
1732

1833
#### Installation

0 commit comments

Comments
 (0)