Posted 7/11/2010 12:47:26
|
|
|
|
I am trying to write a system whose purpose is to close my IB positions at a specified period of time.
Here is the code I have tried in Startup of MySymbolScript
BrokerAccountState state = new BrokerAccountState();
foreach(BrokerPosition p in state.Positions)
{
OutputMessage(p.Symbol.Name);
}
But state.Positions is always 0.
I have verified that I am running in LIVE mode. Can someone help?
Thanks
|
|
Posted 7/12/2010 13:50:56
|
|
|
|
| If you haven't opened these positions with RightEdge, RightEdge doesn't know about them. We do not synch up with positions that weren't established by us. There are some features in the works to provide some control where you can associate positions and manage them as if they were opened by RightEdge.
|
|
|
|