Skip to content

IBrokers: reqMktData, but for LastPrice only

4 messages · Johnny Paulo, G See

#
See attached file "eWrapper.data.Last.R"
eventWrapper=eWrapper.data.Last(1),CALLBACK=snapShot)
2 -1 2104 Market data farm connection is OK:cusfuture
2 -1 2104 Market data farm connection is OK:usfuture
2 -1 2104 Market data farm connection is OK:eurofarm
2 -1 2104 Market data farm connection is OK:usopt
2 -1 2104 Market data farm connection is OK:usfarm
2 -1 2106 HMDS data farm connection is OK:ushmds2a
    Last LastSize
SPY    1   119.18

Here's a couple of other variations...

https://r-forge.r-project.org/scm/viewvc.php/pkg/twsInstrument/R/eWrapper.data.BID_ASK_OHLCV.R?view=markup&revision=101&root=twsinstrument

https://r-forge.r-project.org/scm/viewvc.php/pkg/twsInstrument/R/eWrapper.FXdata.R?view=markup&revision=90&root=twsinstrument

-Garrett
On Wed, Sep 21, 2011 at 11:10 AM, Johnny Paulo <johnny.jp.22 at gmail.com>wrote:

            
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20110921/dbba9c25/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eWrapper.data.Last.R
Type: text/x-r-source
Size: 3176 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-finance/attachments/20110921/dbba9c25/attachment.bin>