Closed sunsetcoder closed 5 years ago
I agree, interval bars would be good to include. Will look into it when time permits.
Interval bars is now supported for volume, ticks and seconds.
I also added support for end of bar timestamps that some trading software use, but this is an option. Start of bar timestamps is still default.
Thank you!! I hope to assist with features in future once I have learnt Golang.
Would really appreciate it if you could include the feature to specify the interval type, to download interval bars (eg. new bar every 100 shares traded).
eg. qdownload -v 100 aapl would download a csv with a new OHLC row after every 100 shares traded
[IntervalType] - Optional - 's' (default) for time intervals in seconds, 'v' for volume intervals, 't' for tick intervals
It's already implemented in the IQFeed developer API for historical data.