Review of Binance API Connector
Currently, there is an example in the connector that extract information for a specific symbol.
$client->bookTicker ($callbacks, 'btcusdt');
The code itself
https://github.com/binance/binance-connector-php/blob/master/examples/websocket/spot/bookTicker.php
The websockets themselves
HTTPS://github.com/binance/binance-connector-php/tree/master/src/Binance
We receive information in this way.
{"u":42368402590,"s":"BTCUSDT","b":"40105.20000000","B":"4.06459000","a":"40105.21000000","A":"4.90000000"}
where "s" is the symbol of BTCUSDT
“B” is bidPrice.
“A” is askPrice
What you need to get.Add information for any three characters to the variable for the subsequent record in the BD
That is - we constantly receive prices in real time with the possibility of constant recording in BD, or viewing in HTML version.The example
$symbolBTCUSDT=$BTCUSDT; it is a symbol and price
$bidPriceBTC = $bidBTCUSDT
$askPriceBTC = $askBTCUSDT
$symbolETHUSDT=$ETHUSDT; it is a symbol and price
$bidPriceETH = $bidETHUSDT
$askPriceETH = $asketHUSDT
This channel provides information in real time.Therefore, the option should be fast.Sign up to the channel, we receive constantly updated prices.You also need comments in the code because it is a training material on the connector to the binance.You also need to explain why I get such a mistake and how to get rid of it.Choose offers at the optimal minimum price.This is a teaching material.from server {"u":42368411201,"s":"BTCUSDT","b":"40098.72000000","B":"2.78833000","a":"40098.73000000","A":"12.81163000"}
Fatal error: Maximum execution time of 60 seconds exceeded in E:\OSPanel3\OSPanel\domains\bin-con\vendor\react\event-loop\src\StreamSelectLoop.php on line 304
Current freelance projects in the category PHP
Module for OpenCart: mass creation of products from folders with imagesDevelopment of a mass product creation module for OpenCart (ocStore 3.x) A backend module for OpenCart / ocStore 3.x needs to be developed that automatically creates products from a pre-prepared folder structure with images.Main functionality: mass creation of products from… Content Management Systems, PHP ∙ 12 hours 6 minutes back ∙ 28 proposals |
Developer for CMS website project on Drupal 7 + PHP/MySQL.We are looking for a developer to assist with the setup of a CMS site on Drupal 7 + PHP/MySQL. Task:1. Create product cards for the entire range of products (currently, not all products on the site have product cards with descriptions and characteristics).2. Add correct… Content Management Systems, PHP ∙ 2 days 16 hours back ∙ 39 proposals |
Looking for a Bitrix24 specialist / CRM integrator to set up automation.Our company works with CRM Bitrix24. We need a specialist who can set up automatic addition of phone numbers to leads/orders in two formats. Automation must be correctly configured for two countries: the Republic of Moldova and Romania. Task: When creating a lead or order in… PHP, Web Programming ∙ 3 days 14 hours back ∙ 24 proposals |
Website optimizationOptimization of the website jdgreta.co.uk on Shopify. SEO audit attached to the project. Main tasks - - Fix all meta data - Complete the technical specifications for the programmer (since this project combines tasks for both the programmer and SEO, if you are not a company -… HTML & CSS, PHP ∙ 4 days 10 hours back ∙ 33 proposals |
Horoshop SpecialistNeed a specialist who can correctly set up the product Feed. Problem: Currently, over 13,000 products are being uploaded with the same type value (e.g., "everything for manicure and pedicure"). Because of this, it is impossible to segment products in Google Ads and set different… PHP, Website Maintenance ∙ 5 days 13 hours back ∙ 21 proposals |