I am finally getting around to programming a gamepad for executing trades with IB. (See Puffygums fine thread here: http://www.elitetrader.com/vb/showthread.php?s=&threadid=18655&highlight=gamepad
Right now, I am setting it up to trade Globex futures and I have a few questions about my hotkey setup.
I want to program a panic button to exit all positions quickly with the assumption that the market is moving away from me at top speed. If I understand correctly, a market order is NOT the most effective method of execution in this case since it is not native to globex and the process of matching the order takes valuable time. So if I place a marketable limit order, how far away from the market should I place it to be reasonably confident of an execution? Of course I know it depends on market conditions, but in practice what would be a good margin of safety?
If I place a marketable limit order on globex with a lot of wiggle room, what are the chances I would get a fill outside the market?
How about discretionary orders? Do they have the same effectiveness as a marketable limit order?
Also, is there a way to run the IB demo account from the standalone program or do you need to use the browser based TWS?
Right now, I am setting it up to trade Globex futures and I have a few questions about my hotkey setup.
I want to program a panic button to exit all positions quickly with the assumption that the market is moving away from me at top speed. If I understand correctly, a market order is NOT the most effective method of execution in this case since it is not native to globex and the process of matching the order takes valuable time. So if I place a marketable limit order, how far away from the market should I place it to be reasonably confident of an execution? Of course I know it depends on market conditions, but in practice what would be a good margin of safety?
If I place a marketable limit order on globex with a lot of wiggle room, what are the chances I would get a fill outside the market?
How about discretionary orders? Do they have the same effectiveness as a marketable limit order?
Also, is there a way to run the IB demo account from the standalone program or do you need to use the browser based TWS?