You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php
/**
* @author lin <[email protected]>
* */
use \Lin\Bybit\BybitSpot;
require __DIR__ .'../../../vendor/autoload.php';
include __DIR__ .'../../../vendor/key_secret.php';
$bybit=new BybitSpot($key,$secret);
//You can set special needs
$bybit->setOptions([
//Set the request timeout to 60 seconds by default
'timeout'=>10,
]);
try {
$result=$bybit->privates()->getAccount();
print_r($result);
}catch (\Exception $e){
print_r($e->getMessage());
}
I get error {"_message":"Client error: GET https:\/\/api.bybit.com\/spot\/v1\/account? resulted in a 429 Too Many Requests response","_httpcode":429}
The text was updated successfully, but these errors were encountered:
<?php
/**
* @author lin <[email protected]>
* */
use \Lin\Bybit\BybitSpot;
require __DIR__ .'../../../vendor/autoload.php';
include __DIR__ .'../../../vendor/key_secret.php';
$bybit=new BybitSpot($key,$secret);
//You can set special needs
$bybit->setOptions([
//Set the request timeout to 60 seconds by default
'timeout'=>10,
]);
try {
$result=$bybit->privates()->getAccount();
print_r($result);
}catch (\Exception $e){
print_r($e->getMessage());
}
I get error {"_message":"Client error: GET https:\/\/api.bybit.com\/spot\/v1\/account? resulted in a 429 Too Many Requests response","_httpcode":429}
I get error {"_message":"Client error:
GET https:\/\/api.bybit.com\/spot\/v1\/account?
resulted in a429 Too Many Requests
response","_httpcode":429}The text was updated successfully, but these errors were encountered: