Closed nassuphis closed 6 years ago
only factor_local_tret
was used, added this and removed above snippet:
factor_local_tret<-readLines(
if(off_site){
"https://raw.githubusercontent.com/satrapade/pairs/master/data/factor_local_tret.csv"
} else {
"N:/Depts/Share/UK Alpha Team/Analytics/market_data/factor_local_tret.csv"
}
) %>%
paste0(collapse="\n") %>%
fread %>%
{m<-as.matrix(.[,-1]); rownames(m)<-.[[1]]; m }
results that are needed should be loaded explicitly: