
Minor Edits to a Python Script
$30-250 USD
Paid on delivery
Hi there,
I currently have a working Python trading script that is used for trading on a crypto derivatives exchange. The script has been configured to receive Trading View webhook alerts and places an order to buy or sell the perpetual contract and buy or sell a futures contract.
I would need some help with minor edits to the code.
1) Currently, the code only executes when a Trading View alert is received. I would like for the script to continually run and submit trades once a certain price threshold is reached.
2) For one of the contracts, currently the order is submitted at the bid price. I would like for the order to be submitted at the midpoint between the bid and ask price.
3) To change the expiry time for one of the orders.
4) Partial fills: If there is a partial fill on a order, for the system to submit a limit order to close the partially filled portion of the order.
5) To check that the absolute risk limits already configured in the script continue to be adhered to after the changes have been made.
Project ID: #33288272