Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit 22f0455

Browse files
author
Jon Eyrick
authored
FIX: Indirect modification of overloaded property by dmzoneill
2 parents f986bce + 13a57be commit 22f0455

39 files changed

+3667
-12
lines changed

.coveralls.yml

100644100755
File mode changed.

.gitignore

100644100755
File mode changed.

.travis.yml

100644100755
File mode changed.

.vscode/launch.json

100644100755
File mode changed.

ISSUE_TEMPLATE.md

100644100755
File mode changed.

LICENSE

100644100755
File mode changed.

README.md

100644100755
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,29 @@ $api = new Binance\API();
5151
$api = new Binance\API( "somefile.json" );
5252
// 3. config by specifying api key and secret
5353
$api = new Binance\API("<api key>","<secret>");
54+
// 4. Rate Limiting Support
55+
$api = new Binance\RateLimiter(new Binance\API());
5456
```
5557
See [additional options](https://github.com/jaggedsoft/php-binance-api/#config-file-in-home-directory) for more options and help installing on Windows
5658

59+
#### Rate Limiting
60+
This Feature is in beta, you can start using rate limiting as a wrapper to the main API class.
61+
```php
62+
$api = new Binance\API( "somefile.json" );
63+
$api = new Binance\RateLimiter($api);
64+
while(true) {
65+
$api->openOrders("BNBBTC"); // rate limited
66+
}
67+
```
68+
69+
#### Security - Ca Bunldes
70+
If you don't know what a CA bundle is, no action is required. If you do know and you don't like our auto upate feature.
71+
You can disable the downloading of the CA Bundle
72+
```php
73+
$api = new Binance\API( "somefile.json" );
74+
$api->caOverride = true;
75+
```
76+
5777
#### Get latest price of a symbol
5878
```php
5979
$ticker = $api->prices();

composer.json

100644100755
File mode changed.

examples/0.example.php

100644100755
File mode changed.

examples/agg_trades.php

100644100755
File mode changed.

0 commit comments

Comments
 (0)