How to connect to testnet ?
Hi, I'm trying to connect to testnet api but it doesn't work. Also I've tried to setOptions testnet => true, but no success
$bybit = new BybitLinear($user_api->api_key,$user_api->api_secret,'https://api.bybit.com'); $bybit->setOptions( ['testnet' => true] );
Do you have any suggestion ?
Thanks
$bybit=new BybitLinear($key,$secret,'https://apt-testnet.bybit.com');
I found out that Bybit already has a version v5 and I may need to update it
Hi yes, some user on github already deployed a v5 version
Thanks for your support
Il Mer 29 Nov 2023, 07:17 lin @.***> ha scritto:
$bybit=new BybitLinear($key,$secret,'https://apt-testnet.bybit.com');
I found out that Bybit already has a version v5 and I may need to update it
— Reply to this email directly, view it on GitHub https://github.com/zhouaini528/bybit-php/issues/19#issuecomment-1831286357, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5JQTF7Z5TENQP54LC6FZ3YG3HPJAVCNFSM6AAAAAA74UPWHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRGI4DMMZVG4 . You are receiving this because you authored the thread.Message ID: @.***>
Hi yes, some user on github already deployed a v5 version Thanks for your support Il Mer 29 Nov 2023, 07:17 lin @.> ha scritto: … $bybit=new BybitLinear($key,$secret,'https://apt-testnet.bybit.com'); I found out that Bybit already has a version v5 and I may need to update it — Reply to this email directly, view it on GitHub <#19 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5JQTF7Z5TENQP54LC6FZ3YG3HPJAVCNFSM6AAAAAA74UPWHOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZRGI4DMMZVG4 . You are receiving this because you authored the thread.Message ID: @.>
I've finished the V5 version. However, I can't verify my identity on the exchange, and I can't test the real order. You can try to see if it's correct.
https://github.com/zhouaini528/bybit-php/blob/master/tests/v5/order.php