From 08636c6e78501e5cc9d85a30c0fe15a07000952f Mon Sep 17 00:00:00 2001 From: Adrien Wulfran <38992867+adwulfran@users.noreply.github.com> Date: Fri, 17 Jul 2020 13:21:39 +0200 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 32c6bc4..976df3c 100644 --- a/README.md +++ b/README.md @@ -13,12 +13,12 @@ npm install ws ``` # Usage example - +Use stock symbol to receive datas. In this example we use EURUSD (forex), AAPL (apple - nasdaq), MSFT (microsoft - nasdaq) and MC.PA (lvmh - cac40) ```javascript const WebSocket = require('ws'); const ws = new WebSocket("ws://realtimefinance.io, { headers: { - "api_key": "demo", + "API-X-KEY": "demo", "symbol" : "EURUSD,AAPL,MSFT,MC.PA" } });