Doug, I re-read your question. Let me clarify. Instruments are stored in an environment called .instrument at the top level of the package. You can see everything in that environment like this
ls(FinancialInstrument:::.instrument) However, there are lots of functions show the primary_ids of instruments that do some checking to make sure that what is being shown are indeed primary_ids of instruments. e.g ls_stocks() ls_currencies() ls_instruments() Let me know if I can offer more clarity. Best, Garrett On Fri, Aug 24, 2012 at 11:44 AM, G See <gsee...@gmail.com> wrote: > Hi Doug, > > You can use getInstrument to see the instruments > > e.g. > > stock("SPY", currency("USD")) > getInstrument("USD") > getInstrument("SPY") > > Please take a look at the files in the demo directory > (https://r-forge.r-project.org/scm/viewvc.php/pkg/FinancialInstrument/demo/FIdemo2.R?view=markup&root=blotter) > > You'll also probably be interested in ?buildHierarchy > > build_series_symbols does nothing but return a character vector and it > does not store it anywhere and it does not create any instruments. (I > personally use future_id from the twsInstrument package to serve the > purpose of build_series_symbols) > > HTH, > Garrett _______________________________________________ R-SIG-Finance@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.