Open nassuphis opened 6 years ago
append2log("create_cix_uploads : computing futures static")
futures<-all_tickers[grepl("^future",ticker_class(all_tickers))]
futures_static<-memo_calc_futures_static(futures)
append2log("create_cix_uploads : fetching position, unwinds, again (todo:check this)")
the_position_range<-get_sheet_position_range(date=the_date,fn=the_file,file_type = the_type)
the_unwind_range<-get_sheet_unwind_range(date=the_date,fn=the_file,file_type = the_type)
the_position<-get_sheet_positions(date=the_date,fn=the_file,file_type=the_type,position_range=the_position_range)
the_unwinds<- get_sheet_unwinds(date=the_date,fn=the_file,file_type=the_type,unwind_range=the_unwind_range)
so computing futures static
was the last step
and this appears to be error-out after that.
Thu Sep 27 09:41:39 2018 : workflow: sourcing create_cix_uploads Thu Sep 27 09:41:39 2018 : create_cix_uploads: starting Thu Sep 27 09:41:44 2018 : create_cix_uploads: sourced utility function Thu Sep 27 09:41:47 2018 : create_cix_uploads : scraping DUKE position range Thu Sep 27 09:41:48 2018 : create_cix_uploads : scraping LUKE position range Thu Sep 27 09:41:50 2018 : create_cix_uploads : scraping DUKE unwind range Thu Sep 27 09:41:52 2018 : create_cix_uploads : scraping LUKE unwind range Thu Sep 27 09:41:54 2018 : create_cix_uploads : computing DUKE positions Thu Sep 27 09:41:55 2018 : create_cix_uploads : computing DUKE unwinds Thu Sep 27 09:42:08 2018 : create_cix_uploads : computing LUKE positions Thu Sep 27 09:42:10 2018 : create_cix_uploads : computing LUKE unwinds Thu Sep 27 09:42:22 2018 : create_cix_uploads : computing futures static Thu Sep 27 09:42:23 2018 : workflow error:create_cix_uploads:Error in bds(ffc, "FUT_CHAIN", override = c(CHAIN_DATE = gsub("-", "", : argument 3 matches multiple formal arguments
Thu Sep 27 09:42:23 2018 : workflow: finished create_cix_uploads
this works some days and not on others
source_workflow_step("create_cix_uploads")
Error in bds(ffc, "FUT_CHAIN", override = c(CHAIN_DATE = gsub("-", "", :
argument 3 matches multiple formal arguments
In addition: Warning message:
In scrub(as.numeric(r2[, "J"])) :
Show Traceback
Rerun with Debug
Error in bds(ffc, "FUT_CHAIN", override = c(CHAIN_DATE = gsub("-", "", :
argument 3 matches multiple formal arguments
the log report: