Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fcsapi-economic-calendar

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fcsapi-economic-calendar

Wrapper of the fcsapi.com for the economic calendar route.

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

fcsapi-economic-calendar

Wrapper of the fcsapi.com for the economic calendar route.

More infos: https://fcsapi.com/document/forex-api#economy_calendar

Node.js library

npm install fcsapi-economic-calendar # or yarn add fcsapi-economic-calendar

fetchEconomicCalendar

Return economic events between two dates.

fetchEconomicCalendar(
	{
		symbol:     'EUR,USD',
		from:       '2022-12-05',
		to:         '2022-12-10',
		access_key: 'XXX', // Create an account on fcsapi.com to get an access key
	},
	[0, 1, 2], // News importance (optional parameters)
);

fetchDailyEconomicCalendar

Return economic events of the current day.

fetchDailyEconomicCalendar(
	{
		symbol:     'CAD,JPY',
		access_key: 'XXX', // Create an account on fcsapi.com to get an access key
	},
	[2], // News importance (optional parameters)
);

fetchWeeklyEconomicCalendar

Return economic events of the current week.

fetchWeeklyEconomicCalendar(
	{
		symbol:     'GBP,USD,EUR,CAD',
		access_key: 'XXX', // Create an account on fcsapi.com to get an access key
	},
	[1, 2], // News importance (optional parameters)
);

TypeScript types are also availaible for all methods.

Contributing

Don't hesitate to create a pull request to improve the project.

Bugs

If you find a bug or want a new feature, dont'hesitate to create an issue.

License

MIT

Keywords

FAQs

Package last updated on 09 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc