Tags: angyvolin/php-binance-api
Toggle v0.5.6's commit message
Add limit parameter for market depth method by s-mohammad-dabir
Toggle v0.5.5's commit message
Fix cancel order by afsharsafavi
Toggle v0.5.4's commit message
add assetDetail by afsharsafavi
Toggle v0.5.3's commit message
Fix GET/POST requests by afsharsafavi
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
You can’t perform that action at this time.