jaggedsoft / php-binance-api

PHP Binance API is an asynchronous PHP library for the Binance API designed to be easy to use. https://github.com/binance-exchange/php-binance-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use BUY

MarcoPilolli opened this issue · comments

commented

Hi,
sorry but i don't understand how to use BUY

for example, i have 50 Eur and i want but BTC at price 37238 (1 BTC = 37238 EUR)

how i have to use BUY?

$order = $api->buy("BTCEUR", 50, 37238 );

thanks