I need help with a php script.
The script I started making myself, interfaces has a PHP Include for this Binance API framework [login to view URL]
My buy script code, calls the function from the jaggedsoft framework:
$quantity = 1;
$order = $api->marketBuy("XRPBTC", $quantity);
The jaggedsoft framework then interacts with the Binance API.
The API/Function called is the "New Order Trade". [login to view URL]
(There is a sample what results are returned on that link).
The Full Response from the API includes the fill data.
I need someone to write the php script which totals the Fills > Price and the Fills > QTY so that I know exactly how many coins I have bought, and for what total price.
10 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Hi there, I’d like to help you returning totals from API response. Basically the script would loop through fills value then calculates total qty and price. Message me and let’s get started. Regards, Amr