Closed kadnan closed 3 years ago
Thank you for your discovery, let me first see how to solve it
You try this
$bybit=new BybitInverse();
try {
$result=$bybit->publics()->getKlineList([
'symbol'=>'BTCUSD',
'interval'=>'15',
'from'=>time()-3600,
]);
print_r($result);
}catch (\Exception $e){
print_r($e->getMessage());
}
https://github.com/zhouaini528/bybit-php/blob/master/tests/inverse/publics.php#L40
I am trying to fetch the BTCUSD data but it returns the following:
The code I am using is:
Update
It seems that BybitAPI Does support for BTCUSD but in Inverse but your API does not support it