Package Exports
- tse-client
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tse-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
TSE Client
A client for receiving stock data from the Tehran Stock Exchange (TSE).
Install
npm install tse-client -g
CLI usage
First thing to do after install:
tc --update-instruments
Basic
tc --update-instruments
tc select فولاد ذوب
tc --update-prices
tc export --out-dir /path/to/dir
Select columns
tc select -c "6,7,8,9,10"
tc export --out-dir /path/to/dir
Select columns and specify their headers
tc select -c "6,OPEN 7,HIGH 8,LOW 10,CLOSE"
tc export --out-dir /path/to/dir
Export options
tc export -h
tc export --out-dir /path/to/dir --adjust-prices 2 --file-extension txt --encoding utf8