powered by
subscribe(securities, fields, fun, options = NULL, identity = NULL, con = defaultConnection())
blpConnect
defaultConnection
Full detials of the subscription string can be found in the header file blpapi_subscriptionlist.h.
## Not run: # subscribe(securities=c("TYZ5 Comdty","/cusip/912810RE0@BGN"), # fields=c("LAST_PRICE","BID","ASK"), # fun=function(x) print(str(x$data))) # ## End(Not run)
Run the code above in your browser using DataLab