Crypto buy/sell python script with asynco

Job ID: 31734454

Budget: $30 – $250 USD

I need a simple python script which is opening/closing positions through exchange api with asynco.(CCXT python module)
So need to send limit order the best Bid/Ask price, and modify the order if the crypto price is moving.

I'd like a start screen which shows all infos before run the script:

Symbol: BTC/USD
Balance: 0.5 BTC/USD
Side: Buy ( or Sell) (Long or Short)
Amount: 1000 (contract to buy/sell)
Slices: 10 (run the script 10x 100 contract to reach 1000)
Order side: open (or close)

These infos get from config file (yaml, json etc...)

I would like partial orders to be sent, such as: 1000$ amount BTC/USD, and script will send any 10x100$ BTC/USD order.
The first 100 amount filled, you would submit the next 100 orders. It would go the same way at closing.

I need this script only OKEX exchange now.

Websocket module to get best bid/ask: https://github.com/bmoscon/cryptofeed
Rest api module to send\cancel\modify orders: https://github.com/ccxt/ccxt
Related categories: Python Bitcoin API