[R-SIG-Finance] twsFuture in reqContractDetails

omerle omerle at laposte.net
Fri Jul 6 12:37:53 CEST 2012


Hi everyone,

Is there any workaround to get reqContractDetails working for a future contract without 
knowing exactly the expiry ?

For instance if I launch

Contract=twsFUT(symbol="EBM",exch="MATIF",expiry="20130311",currency="EUR")
reqContractDetails(conn=getOption("ib"),Contract=Contract)

It works but if I have a future without knowing exactly the expiry it doesn't work.
Or, is there a function to get all the expiries of a given future (for instance EBM).

Thanks,


Olivier

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net



More information about the R-SIG-Finance mailing list