Tags: afsharsafavi/php-binance-api
Toggle v0.5.2's commit message
Add limit to chart function
Toggle v0.5.1's commit message
Add extra parameters to cancel function
Toggle v0.5.0's commit message
Fix for counting the args
Toggle v0.4.6's commit message
PRICE_FILTER fix: roundTicks now rounds price with tickSize
> roundTicks: Used to round price with tickSize. Example: `roundTicks(0.12345, '0.001') = 0.123`
```php
function roundTicks($price, $tickSize) {
$precision = strlen(rtrim(substr($tickSize,strpos($tickSize, '.', 1) + 1), '0'));
return number_format($price, $precision, '.', '');
}
echo roundTicks(0.00016552, '0.00000010');
```
Toggle v0.4.5's commit message
add roundStep functionality, to help with stepSize
```php
function roundStep($value, $stepSize = 0.1) {
$precision = strlen(substr(strrchr(rtrim($value,'0'), '.'), 1));
return round((($value / $stepSize) | 0) * $stepSize, $precision);
}
```
Toggle v0.4.4's commit message
fix for ultipe redirection modifcation of unknown variable
Toggle v0.4.3's commit message
Merge pull request ccxt#154 from kwshimhyunbo: PUT Method added
PUT Method added
Toggle v0.4.2's commit message
add addtional check for kline chart data
Toggle v0.4.1's commit message
Ad support for downloading CA via proxy
Toggle v0.4.0's commit message
remove path in contrcutor
You can’t perform that action at this time.