Posted 3/20/2009 14:15:30
|
|
|
|
Never heard back from the first person. Did you try what was recommended above?
randolfe (3/20/2009) What was the resolution to this, because I'm still having this problem with various futures symbols in IB. I hoped upgrading to 383 would help, but no luck.
The problem I get is the order is submitted to TWS, it appears in TWS API tab and Portfolio tab as an "untransmitted" order. RightEdge has no entry in either the pending, open or closed tabs at all.
I get the "outside of regular trading hours" warning on all these as well.
|
|
Posted 3/23/2009 18:34:57
|
|
|
|
billb (3/20/2009) Never heard back from the first person. Did you try what was recommended above?Assuming you mean hooking the events and dumping info, no. I'll do that next opportunity I get. I know this project used to run with IB without problems, but I haven't used it since last November, and now it isn't firing trades.
|
|
Posted 6/7/2009 10:22:35
|
|
|
|
I fixed the issue with the setup of the contract size, exchange for the forex symbol and it works. Seems TWS is very sensitive to these settings.
I also get the outside of hours warning but i think thats a warning to do with the timezone settings on the TWS client. Haven't investigated yet to confirm.
|
|
Posted 6/8/2009 16:31:48
|
|
|
|
| Dear, I'm evaluating RE and have TWS running in Papermode live trading on GOOG. A simple crossover system with no extra coding. This live system works as designed, I can see the generated trades in the TWS account. BUT in RE NO Live system pane data is available (no pending , submitted, closed) nor a system output or building system output pane. These panes just don't show up, allthough the Live data pane works correctly. What do I need to adapt to get this part also working?? System : Win XP , Rightedge 384, TWS live and Paper account. TWS API 962. reg rs
|
|
Posted 6/9/2009 07:55:55
|
|
|
|
Click Help->About and click the Application Data hyperlink. This will open Windows Explorer and navigate you to RightEdge's application data folder. Next, exit RightEdge. Back in Windows Explorer, delete the file docklayout.xml. This should force all panes to become visible. The only thing that comes to mind as far as getting into that state is that you floated the pane, possibly onto a different monitor that isn’t currently attached? Or maybe you floated it off the screen somehow? Either way, this should get you back to normal.
roedies (6/8/2009) Dear,
I'm evaluating RE and have TWS running in Papermode live trading on GOOG. A simple crossover system with no extra coding. This live system works as designed, I can seethe generated trades in the TWS account.
BUT in RENO Live system panedata is available (no pending , submitted, closed) nor a system output or building system output pane. These panesjust don't show up, allthough the Live data pane works correctly.
What do I need to adapt to get this part also working??
System : Win XP , Rightedge 384, TWS live and Paper account. TWS API 962.
reg
rs
|
|
Posted 6/9/2009 13:01:34
|
|
|
|
| Hi, thanks for the prompt reply. Indeed, I had this panel floating on another monitor not attached at the time of writing. Suggestion : Have a button somewere to "bring all open panes into view" like is standard in IB TWS. This helps people with laptops who are "on the road" without 2 monitors from desparately looking for a number of panes.
reg roedies billb (6/9/2009)
Click Help->About and click the Application Data hyperlink. This will open Windows Explorer and navigate you to RightEdge's application data folder. Next, exit RightEdge. Back in Windows Explorer, delete the file docklayout.xml. This should force all panes to become visible. The only thing that comes to mind as far as getting into that state is that you floated the pane, possibly onto a different monitor that isn’t currently attached? Or maybe you floated it off the screen somehow? Either way, this should get you back to normal. roedies (6/8/2009) Dear,
I'm evaluating RE and have TWS running in Papermode live trading on GOOG. A simple crossover system with no extra coding. This live system works as designed, I can seethe generated trades in the TWS account.
BUT in RENO Live system panedata is available (no pending , submitted, closed) nor a system output or building system output pane. These panesjust don't show up, allthough the Live data pane works correctly.
What do I need to adapt to get this part also working??
System : Win XP , Rightedge 384, TWS live and Paper account. TWS API 962.
reg
rs
|
|
Posted 8/12/2009 12:50:01
|
|
|
|
Let me start off by saying I'm a novice and I stumbled upon this thread and tried the code because I can't seem to get any system to work with IB papertrade account.
I'm trying the exact code and I get the same messages, but nothing shows up in FX Trader on IB. I put a message in the Orderfilled procedure and it looks like it fires. I show Open Positions on REI included the code to show you how much of a novice I am. The only thing I can see is that the Order Size on IB is 0.
Any suggestions?
---- RE Code ----------------------------------------------------------------------------------
#region Using statements
using System;
using System.Drawing;
using System.Collections.Generic;
using RightEdge.Common;
using RightEdge.Common.ChartObjects;
using RightEdge.Indicators;
#endregion
#region System class
public class MySystem : MySystemBase
{
public override void Startup()
{
// Perform initialization or set system wide options here
}
}
#endregion
public class MySymbolScript : MySymbolScriptBase
{
int counter = 1;
Position pos ;
public override void Startup()
{
// Perform initialization here.
}
public override void NewBar()
{
if (counter == 2)
{
System.Console.WriteLine("Open Pos");
pos = this.OpenPosition(PositionType.Long, OrderType.Market,this.Bars.Current.Open,1);
if (pos.Error != null)
{
OutputMessage("order failed : " + pos.Error);
}
}
System.Console.WriteLine("New Bar:"+this.Bars.Current.Open+" time:"+this.Bars.Current.PriceDateTime.ToString());
if (pos != null)
{
Position p = this.PositionManager.GetPosition(pos.ID);
System.Console.WriteLine("Get pos ID "+pos.ID+" State:"+p.State.ToString());
}
counter++;
}
public override void OrderFilled(Position position, Trade trade)
{
// This method is called when an order is filled
OutputMessage("order filled : " + position + trade);
}
public override void OrderCancelled(Position position, Order order, string information)
{
// This method is called when an order is cancelled or rejected
}
}
--- OUTPUT ----------------------------------------------------------------
Severity Message Symbol Module Time
2 New Bar:1.42325 time:8/12/2009 11:36:00 AM 8/12/2009 11:37:11 AM
2 Open Pos 8/12/2009 11:38:07 AM
2 New Bar:1.423275 time:8/12/2009 11:37:00 AM 8/12/2009 11:38:07 AM
2 Get pos ID 2 State ending 8/12/2009 11:38:07 AM
2 order filled : RightEdge.Common.PositionRightEdge.Common.Trade EUR/USD Symbol Script 8/12/2009 11:38:07 AM
2 New Bar:1.42275 time:8/12/2009 11:38:00 AM 8/12/2009 11:39:12 AM
2 Get pos ID 2 State:Open 8/12/2009 11:39:12 AM
2 New Bar:1.4227 time:8/12/2009 11:39:00 AM 8/12/2009 11:40:07 AM
2 Get pos ID 2 State:Open 8/12/2009 11:40:07 AM
2 New Bar:1.42285 time:8/12/2009 11:40:00 AM 8/12/2009 11:41:07 AM
2 Get pos ID 2 State:Open 8/12/2009 11:41:07 AM
2 New Bar:1.4226 time:8/12/2009 11:41:00 AM 8/12/2009 11:42:07 AM
2 Get pos ID 2 State:Open 8/12/2009 11:42:07 AM
2 New Bar:1.4227 time:8/12/2009 11:42:00 AM 8/12/2009 11:43:07 AM
2 Get pos ID 2 State:Open 8/12/2009 11:43:07 AM
2 New Bar:1.4225 time:8/12/2009 11:43:00 AM 8/12/2009 11:44:07 AM
2 Get pos ID 2 State:Open 8/12/2009 11:44:07 AM
2 New Bar:1.4223 time:8/12/2009 11:44:00 AM 8/12/2009 11:45:07 AM
2 Get pos ID 2 State:Open 8/12/2009 11:45:07 AM
---- IB AUDIT TRAIL------------------------------------------------------------------
[size=2][font=Courier New]Action Time Client Order Id Order Id Side Size Contract Order Type Price TIF Misc
Acknowledged 20090812-13:58:12 * * Buy 0 - Limit nan DAY ExecID= 62258.1250085492.0; ExecType= New; ExecTransType= Status; OrdStatus= New; CumQty= 0; LeavesQty= 0; AvgPx= 0; TransactTime= 20090812-13:58:12;
Acknowledged 20090812-16:08:46 * * Buy 0 - Limit nan DAY ExecID= 62258.1250093326.0; ExecType= New; ExecTransType= Status; OrdStatus= New; CumQty= 0; LeavesQty= 0; AvgPx= 0; TransactTime= 20090812-16:08:46;
[size=1][/size][/font][/size]
|
|
Posted 8/13/2009 01:46:51
|
|
|
|
I am not sure whether TWS's FX trader shows orders which are submitted by the API (ie the ones coming from RightEdge). When using the "traditional" TWS interface, the orders from RightEdge show up on a seperate API tab. So try looking at the non-FXTrader trading window and see if there is an API tab there (after you've submitted the orders via RightEdge)
Daniel
|
|
|
|