Simple PHP/Python Script

Job ID: 31548542

Budget: $10 – $30 USD

I need a simple php/python script that parses a JSON object received from one website (tradingview) and parses it and then forwards it to another website (binance) using the API key.

Tradingview sends the signal in the form of POST request. It contains data such as coin/currency symbol, exchange, time etc. You can also add custom values. Two signals will be generated for each coin. One for LONG and another for SHORT.

The script receives the signal for each separate coin/currency. I should be able to enter leverage for each coin/currency in the script, and the amount that should be used to place the order. For each LONG order sent to the binance, the script should also send instructions to close all previous SHORT orders for that particular coin/currency. And for each SHORT order sent, close all previous LONG entries.

The script should also keep a log of responses received from binance, as well as of alerts received from tradingview.

If you don’t understand anything, let me know. This is a simple script. Later on we will add further features to this script, but for now I just need the orders functionality. I have limited budget for this project, but if I like your work I will hire you to work permanently to work on extensions.
Related categories: PHP Python Web Services Web Development Website Build