Login Page - Create Account

Support Board


Date/Time: Sun, 19 May 2024 11:19:39 +0000



Post From: IB Configuration: Orders sent to IB with ISLAND destination

[2016-12-08 20:55:11]
Sporken - Posts: 82
Hi, Thanks for your reply.

I've not been able to reproduce the bug where the trade symbol comes back as XXX-STK-ISLAND. Perhaps setting InteractiveBrokers->GlobalConfiguration->API->Settings->"Component Exch. Separator" as character '/' has fixed this. I'll do more tests next week.

I found that moving stops/targets using the user interface (by dragging the lines) doesn't seem to work properly for me. I notice that IB asks me to confirm the change in the IB user interface. I cant see a way to avoid this. When I click to authorise, it still doesn't work. I have no idea if the bug is in IB world or Sierra World but I don't need this functionality. So I'll ignore it.

I found that my stops/targets are reliably and correctly placed when initiating positions using sc.BuyEntry and sc.SellEntry and that clicking the "BE" button to move stops to BreakEven works fine. This is good enough for my purposes. So in my code I now set NewOrder.MoveToBreakEven.Type = MOVETO_BE_ACTION_TYPE_OFFSET_TRIGGERED; with a trigger of 5 ticks. (at the moment)

(I've written an ACSIL Study to act as a trade manager on Renko charts, I can draw rectangles and it trades Long/Short as it crosses the rectangle edges. Entry/Take Profit based on the edge colour and fill colour. I annotate them with Text to configure the trade quantity and trade count. It seems to work quite well. Better than plain Stop losses at least! I have more work to do to make it robust to network problems though)

Anyway, Thanks again for your help.

-Jason
Date Time Of Last Edit: 2016-12-08 20:57:52