Jump to content
Roberto

Hotkey help for a simple buy/stoploss

Recommended Posts

I'm trying to make a simple hotkey to buy and sell 100 shares with a stoploss attached in SIM, that eventually will be used for a live account to IBKR, but not getting results.  Here's what I've tried:

FocusWindow RMG_1;ROUTE=LIMIT;Share=100;TIF=DAY+;Price=Ask+0.04;BUY=Send;TriggerOrder=RT:STOP;StopType=Market;StopPrice=AvgCost-0.20;Share=100;TIF=DAY+;SELL=Send;

My issue is the order gets filled, but the stoploss seems to ignore the -0.20:

image.thumb.png.8a9dd09c8a9fec42ff0b0aaacbaa47c7.png

What's my problem?

Edited by Roberto

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.