Skip to content

Row mismatch #3

@inoddy

Description

@inoddy

nz50 = Index$new('^NZ50')
nz = nz50$get_history(start = '2003-01-03', interval = '1d')

produces

Error in $<-.data.frame(*tmp*, adj_close, value = c(1954.9599609375, :
replacement has 5070 rows, data has 5191

nz50 = Ticker$new('^NZ50')
nz = nz50$get_history(start = '2003-01-03', interval = '1d')

produces

Error in data.frame(date = as_datetime(unlist(data$timestamp)), volume = unlist(indicators$volume), :
arguments imply differing number of rows: 5191, 5070

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions