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

extra-fyers.web

Package Overview
Dependencies
Maintainers
1
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extra-fyers.web - npm Package Compare versions

Comparing version 1.3.22 to 1.3.23

2

package.json
{
"name": "extra-fyers.web",
"version": "1.3.22",
"version": "1.3.23",
"description": "A Javascript interface for FYERS API web.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -60,2 +60,19 @@ A Javascript interface for FYERS API.<br>

console.log(await api.getPositions());
// Connect to Market data with WebSocket
// and recieve real-time market quotes.
await api.connectMarketData(quote => {
console.log(quote);
});
// Choose which symbols you want to subscribe to.
await api.subscribeMarketDepth(['NSE:SBIN-EQ']);
// Connect to Order update with WebSocket
// and recieve real-time order status updates.
await api.connectOrderUpdate(order => {
console.log(order);
});
// Subscribe to order status updates.
await api.subscribeOrderUpdate();
}

@@ -62,0 +79,0 @@ main();

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