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

Another doc mistake on devalpha.io #5

Closed unsaved closed 5 years ago

unsaved commented 6 years ago

You have

const csvStream = fs.createReadStream("myData.csv")

and then

feeds: {
    myData: csvStream.through(pipeline)

through is a Highland stream function, so I believe you would need: myData: _(csvStream).trough.

fhqvst commented 5 years ago

Fixed now, thanks!