Cannot Open Connection

Create issue
Issue #15 invalid
Dhruvin Shah created an issue

Latest versions of Quanttools and Rstudio on Windows X. GAZP ticks: Error in gzfile(file, mode) : cannot open the connection In addition: Warning message: In gzfile(file, mode) : cannot open compressed file 'C:\Users\CRAN\Documents/Market Data/finam/GAZP/2018-04-02.rds', probable reason 'No such file or directory' -- symbols = c( 'GAZP', 'SBER', 'VTBR' ) path = paste( path.expand('C:/Users/dhruv/Documents/Market Data/finam') , 'Market Data', 'finam', sep = '/' ) start_date = '2018-04-01'

settings <- list( finam_storage <- path, finam_storage_from <- start_date, finam_symbols <- symbols ) QuantTools_settings(settings)

store_finam_data( from = '2018-04-01', to = '2018-04-20')

Comments (2)

  1. Stanislav Kovalevsky repo owner

    Not reproduced. Your code is a little messed up. This works

    library( QuantTools )
    symbols = c( 'GAZP', 'SBER', 'VTBR' ) 
    path = paste( '~' , 'Market Data', 'finam', sep = '/' ) 
    start_date = '2018-04-01'
    
    settings <- list( finam_storage = path, finam_storage_from = start_date, finam_symbols = symbols ) 
    QuantTools_settings( settings )
    
    store_finam_data( from = '2018-04-01', to = '2018-04-20')
    
  2. Log in to comment