Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to get historical data using a specified date range #144

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

liardoecp
Copy link
Contributor

Fixes #143

@liardoecp liardoecp force-pushed the 143-Add-the-ability-to-get-historical-data-using-a-specified-date-range branch from 9573492 to dd63b6a Compare October 22, 2024 12:16
@liardoecp liardoecp marked this pull request as ready for review October 22, 2024 21:31
@coveralls
Copy link

coveralls commented Oct 22, 2024

Pull Request Test Coverage Report for Build 11488771336

Details

  • 24 of 24 (100.0%) changed or added relevant lines in 3 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+3.0%) to 95.122%

Files with Coverage Reduction New Missed Lines %
index.js 1 91.67%
Totals Coverage Status
Change from base Build 11455326245: 3.0%
Covered Lines: 51
Relevant Lines: 53

💛 - Coveralls

@liardoecp liardoecp marked this pull request as draft October 22, 2024 21:55
@liardoecp liardoecp marked this pull request as ready for review October 23, 2024 21:59
Comment on lines +15 to +19
const response = await fetch(buildUrl(params), {
headers: new Headers({
'upgrade-insecure-requests': '1',
}),
});
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe Puppeteer should be used here to call investing.com. I used fetch at the end if #141 PR will be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the ability to get historical data using a specified date range
2 participants