This repository was archived by the owner on Nov 18, 2024. It is now read-only.
v0.5.5
·
155 commits
to master
since this release
This is a major update, let's dive in!
Features:
- use_rth field in client#get_hist_option(). If true, the server will only provide back data with timestamps during regular trading hours. This is only available when an interval_size is specified.
- Equities data! Access up to 10 years of historical equities data with client#get_hist_stock(). Currently only QUOTE types have been thoroughly tested. TRADE and EOD should work as expected though.
- Specifying the jvm_mem argument in ThetaClient() will allocate a maximum memory threshold for the terminal in gigabytes instead of using the default system of memory allocation for jvms.
Bug Fixes / Improvements:
- Better error handling if the machine running the API does not have java installed or is on the wrong version of java.
- Fixed grammatical errors in documentation and changed free tier request limit text from 10 requests / min to 20 requests /min.
- client.kill() will no longer need to be called at the end of your code as the client#connect() generator now closes the terminal for you when it exists. This significantly reduces user error. This will essentially eliminate the "the terminal is already running" error.