Open sumitpetal opened 3 years ago
Hello,
If you're using a copy pasted version of order-test.php
, you should have created a file with your API credentials inside, is it correct ?
https://github.com/jaggedsoft/php-binance-api/blob/d153dd9af258615d8b3c06c2a652387674e876b3/examples/orders_test.php#L6
From the error you forwarded, it seems like your key is not well formatted, you may have to look for credentials storing schema and credentials generating from your account
It not working for me. I am getting signedRequest error " signedRequest error: {"code":-2014,"msg":"API-key format invalid."} Array ( [code] => -2014 [msg] => API-key format invalid. )" I run order-test.php example file.
$quantity = 10; $price = 0.0605; $order = $api->buy("LUNABNB", $quantity, $price); print_r($order);
can you please provide me a solution. Looking for your help.
Thank you.