RightEdge Forums
Main     Home          Members     Calendar     Who's On

Welcome Guest
        


«««123

IB paper trading: Stop Loss and Take Profit... Expand / Collapse
Message
Posted 11/25/2009 08:39:26 Post #10083
 

Lead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead DeveloperLead Developer
We haven't merged that change yet because it hasn't been tested. You're welcome to take the source and make the change outlined above.
Posted 11/25/2009 09:03:53 Post #10085
 

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru
Bill,

Unfortunately, I would like this to fix in Ed1, where I don't have the source code for the TWS plugin for.

So I guess, this bug will only be fixed for Ed2?

Regards

Amin

Posted 5/22/2010 00:07:24 Post #11677
 

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member
Hi,

I noticed that this problem hasn't been fixed yet. Part of the source code for the submit order method of the TWS plugin looks like this:

//DateTime gtcDate = GetAccountTime("SubmitOrder").AddMonths(12);
//apiOrder.GoodTillDate = gtcDate.ToString("yyyyMMdd");
//apiOrder.GoodTillDate = "";
apiOrder.GoodTillDate = "GTC";
// TODO: is this better?
//apiOrder.Tif = TimeInForce.GoodTillCancel;

It looks like you guys forgot to fix this issue. Any idea if the workaround works?

Thanks,

AV
Posted 5/28/2010 11:43:41 Post #11725
 

DeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloperDeveloper
This change will be in the next build of RightEdge. Until then, you can modify the source code, or grab the updated source from github, and build it yourself.

Thanks,
Daniel
« Prev Topic | Next Topic »

«««123

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: billb, young, dplaisted

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 12:54am

2005-2007 © RightEdge Systems