[R-SIG-Finance] IBrokers - reqOpenOrders and placeOrder not working anymore
Jeff Ryan
jeff.a.ryan at gmail.com
Sat May 12 04:37:01 CEST 2012
Try updating to the newest googlecode version. A change in IB response.
Jeff
Jeffrey Ryan | Founder | jeffrey.ryan at lemnica.com
www.lemnica.com
On May 11, 2012, at 5:26 PM, G See <gsee000 at gmail.com> wrote:
> FWIW, I have the opposite problem. When connected with a live account, I see:
>
>> tws <- twsConnect()
>> tws$nextValidId
> [1] "1"
>
> But, with the demo account, the account number is being stored in nextValidId:
>
>> tws <- twsConnect()
>> tws$nextValidId
> [1] "DU123456"
>
> # But, I changed the actual account number
>
> Best,
> Garrett
>
> On Fri, May 11, 2012 at 8:03 AM, omerle <omerle at laposte.net> wrote:
>> Dear All,
>>
>> First thanks to Jeff Ryan for the very interesting IBrokers package.
>>
>> After looking for answers on Rseek without success, your are my last hope !
>>
>> Here is my problem :
>>
>> placeOrder & reqOpenOrders don't work on my trading accout but its working on my demo
>> account !
>>
>> For instance when I do
>>
>> reqOpenOrders(twsconn) or IBrokers:::.reqOpenOrders(twsconn)
>> => I get only the error message 53 (OPEN_ORDER_END) even if I have open order in my
>> console.
>>
>> OR
>>
>> placeOrder
>> => it doesnt do anything
>>
>> => But I can get TWS real time quotes or accountUpdate
>>
>> (I think it was ok before at least for placeOrder)
>>
>> I set the same parameter in configurationAPIs for both my demo account and trading account
>> but trading account is still not working.
>>
>> Do you have any idea what I did wrong and how I can use both placeOrder and reqOpenOrders
>> ?
>>
>>
>>
>> Many Thanks,
>>
>> Olivier Merle
>>
>> Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
>> Je crée ma boîte mail www.laposte.net
>>
>> _______________________________________________
>> R-SIG-Finance at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R questions should go.
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.
More information about the R-SIG-Finance
mailing list