extra-fyers.web
Advanced tools
Comparing version 1.3.22 to 1.3.23
{ | ||
"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(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
300317
296