R/eWrapper.updateAccount.R

Defines functions eWrapper.updateAccount

eWrapper.updateAccount <- function() {
  eW <- eWrapper(NULL)
  eW$assign.Data("PORTFOLIO_VALUE",vector("list"))
  eW$updateAccountValue <- function(curMsg,msg,timestamp,file,...) {
    PV <- eW$get.Data("PORTFOLIO_VALUE")
    PV$version <- as.numeric(msg[1])    

  }
  eW$updatePortfolioValue <- function(curMsg,msg,timestamp,file,...) {
    
  }
}

Try the IBrokers package in your browser

Any scripts or data that you put into this service are public.

IBrokers documentation built on Nov. 16, 2022, 5:05 p.m.