My client needs a bot, for buy and sell futures BTC in Binance (only use Binance API) and must be use with websockets ([login to view URL] and [login to view URL]) for real time graph and processes. The requirements are as follows:
1. He needs specify 2 limit prices for order executions “Buy order” (low price, when taking this value, buy ) and “Sell order” (hight price, when taking this value, sell).
2. He need a graph for price and volumen in real time and put an horizontl line (see blue lines) for limit prices from point 1 (he want put this line visually with drag & drop line on the graph)
3. The web must show prices in order book (bids, asks), top/bottom limits and operations
4. The bot must be configurate for extend limit (top and bottom), when the price exceeds the limit, it can be increased by an amount $ X and can be increased Y times, when the price exceeds Y times the sale / purchase was made and if the price changes direction then the order is executed.
Example for point 4:
Top limit: $11000 Action: Sell Times extend: 2 Amount extend: $500
When the price is $10950, nothing happens
When the price is $11003 the top limit change to $11500 (first time, sum “amount extend”) and nothing happens, but if the price fall to 11000 or less then execute Action (Sell)
When the price is 11508 the top limit change to $12000 (second time), if the price exceeds $12000 then execute Action (Sell).