joshuaulrich / joshuaulrich/quantmod

Handle ticker symbols with characters that produce invalid R object name

Open
#40 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
R
Stars
906
Forks
233
PR merge metrics
No merged PRs in 30d

Description

`getSymbols` strips the leading caret (`"^"`) from index ticker symbols in order to return an object with a valid R name. This [StackOverflow question](http://stackoverflow.com/questions/14760622/access-odd-named-object-returned-by-getsymbols) illustrates another case that needs to be handled.

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the getSymbols entry point and the linked Stack Overflow example first. Reproduce the invalid-name ticker case, then define completion as getSymbols returning a usable R object name for that ticker without breaking the existing leading-caret handling.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.