Binance Trading Bot on Heroku, using Tradingview

In Progress Posted 1 year ago Paid on delivery
In Progress Paid on delivery

I need to create a Binance trading robot, with the following parameters:

- It has to open trades based on a webhook call from Tradingview (the payload will contain the entry price, stop loss, and profit target, direction, and the pair)

- The robot has to calculate the size based on the risk parameter (it should use configuration, and it has to be able to have a global risk and explicit risk for the given pair)

- The robot has to use the future API. The future API is not supporting stoploss and profit taking, so these order has to be added and canceled out on hit

- It has to be written in Python3/Flusk

- It needs good error handling practice with Heroku, or Sentry

- I will provide the GitHub, and it has to be hosted on Heroku

- It has to be able to run on "test" mode on the test net

- It should use websockets, and not RestAPI

- CI/CD has to be provided, and based on new updates, so it has to be "stateless" so if it was restarted it has to realise if there is an open trade on which pairs

Example:

- My tradingview indicator will call an endpoint, with a new trading idea trigger

- The "bot" understand the trigger (maybe some mapping is needed between the trigger and binance)

- The bot checking the configuration for the USDT risk, and based on the stoploss end entry price opens a Market Order.

- The bot create two other order (STOP, and LIMIT) for profit, and stop loss

- The bot monitors the trade, if the STOP or LIMIT hit (disappear) it has to cancel the other side

- The bot should send messages (email preferable, I can give SES access) on every action, and it should log everything on Heroku

Questions:

- Are these HTC signals? No. Simple 15M timeframe signals, only a few per a week

- Can you have many open orders for the given pair? As a starter no, maybe later I would consider running different "strategies" on the same pair but right now it is not important

- Why you are not running on a service, here or there? I would like to be in control of my trades

- Did you considered to use [login to view URL] Yes. If you have experience with that, I am happy to consider that option

Please provide me an example how would you manage an order on binance future which has stoploss and take profit level.

Python Binance

Project ID: #33817929

About the project

26 proposals Remote project Active 1 year ago