Convert my Pinescript into Python Code

Job ID: 35097010

Budget: €8 – €30 EUR

I have some lines of pine script and would like to convert it to python code.
It should be able to get Binance data automatically (I have an API key) and be executed when a new (in a chosen timeframe like 1H and coin like USDT/BTC) candle starts. It should have a configuration possibility, so I can put in my vars. I want to have a function executed with the buy or sell signal and amount instead of the alert that I put as placeholder.
Related categories: Python Software Architecture Pine Script