devalpha-io / devalpha-node

A stream-based approach to algorithmic trading and backtesting in Node.js
https://devalpha.io
GNU General Public License v3.0
247 stars 40 forks source link

Provide a realtime example #17

Open mattgi opened 5 years ago

mattgi commented 5 years ago

Can you provide an example of how to add new data to a feed as it is running (how I imagine realtime must work). For example, add a new item to the stream every 2 seconds.