joshuaulrich / joshuaulrich/quantmod

Enable yahoo finance api for Chinese users

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

Description

### Description

Yahoo finance is not available for Chinese users for years, there has been always Http error 403 after calling `getSymbols` even if proxies are used to access foreign websites. However, directly requesting Yahoo finance api seems possible following instructions on this website: https://cryptocointracker.com/yahoo-finance/yahoo-finance-api

### Expected behavior
Enable yahoo finance api for Chinese users by adding functionalities to request Yahoo finance api and parse the .json data to R objects, so that functions such as `getSymbols` can be used in China.

Thanks a lot.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the getSymbols entry point and review the linked Yahoo Finance API instructions. Implement the requested API access and JSON-to-R parsing, then verify that getSymbols can retrieve Yahoo Finance data for Chinese users.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
api, data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.