Closed artstudia86 closed 1 year ago
$login = '.....';
$password = '.......';
$IP_address = 'XX.XX.XX.XX';
$port = 'XXXX';
$bybit = new BybitLinearRequest();
$bybit->setOptions([
'proxy' => [
'http' => 'http://' . $login . ':' . $password . '@' . $IP_address . ':' . $port,
'https' => 'http://' . $login . ':' . $password . '@' . $IP_address . ':' . $port,
],
]);
$result = $bybit->publics()->getTickers();
How to connect private proxies like ip:port@login:pass ?