Skip to content

Commit e53ee5f

Browse files
author
Jacob Davis
authored
Update README.md
1 parent 16478d0 commit e53ee5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,14 @@ client.connect((client) =>
105105
});
106106

107107
```
108+
Handle the incoming data from the server
109+
110+
```javascript
111+
client.onUpdate((symbol, data) => {
112+
//What to do when we get an update from the server
113+
console.log(symbol, data);
114+
});
115+
```
108116

109117

110118
### Check if the market is open:

0 commit comments

Comments
 (0)