In Progress

Add open order functionality to Bitmex trading bot


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:


def no_open_limitOrder():

orders = bitmex_get_orders()

for order in orders:

if [login to view URL]('ordType') == "Limit":

return False

return True


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):



Skills: Python, Bitcoin

See more: trading bot java, mtgo trading bot, autoit trading bot, add sort order featured products, oscommerce add comments order, creating trading bot, online trading bot, thesaurus add open office, need trading bot magiske online, magic online trading bot sell, add notes order commerce, magic online card trading bot, comerce add text order, mtgo trading bot autoit, order execution linux trading, open source trading bot, bitcoin trading bot open source, litecoin trading bot open source

About the Employer:
( 30 reviews ) New York, United States

Project ID: #21228423

7 freelancers are bidding on average $279 for this job


Hey, I reviewed your job post carefully. And I believe that I would be the perfect fit to complete your project as I've long history of trading bot. So I'm interested in this job, which means I've full hands-on experie More

$150 USD in 7 days
(64 Reviews)

Hi there, Please first look at our recent developed projects on freelancer using Blockchain technology. More

$500 USD in 7 days
(37 Reviews)

Hi. This is Anshuman from Atventus India Private Limited. We expertise in Blockchain and BitCoin development. We have lots of experience in setting up direct BitCoin blockchain transactions with all the wallet features More

$700 USD in 10 days
(17 Reviews)

Dear Client. ****************** First of all, it's my pleasure to bid on your project. I am very interested in your proposal. Because I have rich experience in this field. If you choose me, you'll never be disappointed More

$150 USD in 7 days
(45 Reviews)

✮✮✮ CLEANLINESS IS NEXT TO GODLINESS ✮✮✮ Dear, Nice to meet you. Reading your job description, I understood what you want in your project. I am proud of my Top skill, 8+ years of experience, 100% satisfaction rate i More

$150 USD in 7 days
(11 Reviews)

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

$150 USD in 1 day
(0 Reviews)

Dear hiring manager I have read your project details carefully Are you looking for expert blockchain developer to develop you a complete new blockchain system that will support your website and application, i have 3 More

$150 USD in 7 days
(0 Reviews)