Fetch stock data from Nepal Stock Exchange.
import got from 'got'
import { Nepse } from '../src/nepse'
;(async () => {
const nepse = new Nepse(got)
console.log(await nepse.getDetails('2019-10-21'))
})()
You can run the example scripts using the following command:
$(npm bin)/ts-node examples/download-csv.ts