If you're familiar with Bitmex's order entry system and API I will give you access to my AWS server to complete this work.
The script is in the AWS server in \home\ec2-user\quater\[login to view URL] .
The bot already opens limit orders for new signals "def bitmex_enter" but the following functionality needs to be added:
1. Ability to detect when a limit order is entered but not yet filled and it must NOT open new orders from new signals when a limit order is unfilled, it attempts this with this part of the code but it does not work, new signals still enter new limit orders because this code needs to understand that the limit order is not fully filled and open yet:
orders = bitmex_get_orders()
for order in orders:
if [login to view URL]('ordType') == "Limit":
2. Ability to track order that is opened within the custom trailing stop function "def bitmex_virtual_sl"
a. There is a "virtual" trailing stop function that activates once an order is in profit and prints "current position is in profit now"
b. Once that occurs the virtual trailing stop tracks price and chooses when to close the order
c. Currently when a limit order is submitted and is waiting to be filled the bot thinks the order is fully open and prints "current position in profit now" and initialize the trailing stop function because the order isn't actually fully filled and open
I just need the trailing stop function to wait to start analyzing orders until the order is fully filled and open, nothing else should be changed in the trailing stop functionality
3. If an order does not get filled within 10 minutes of being entered it should be deleted, I believe this part of the script attempts that but I was not able to get the time to work:
if [login to view URL]() > trade_time + timedelta(hours=30):
10 freelancers are bidding on average $240 for this job
Hi.I am really interested in your project. Especially I have a talent in cryptocurrency-Bitcoin and Python. Now I am ready to work for you. Please contact me for any further discuss. Thanks.
Hello How are you I am a api developer and I have rich experience of python so I am sure I can edit python script as your requriement please contact me and discuss more thanks