schwab-py
schwab-py copied to clipboard
Unofficial API wrapper for the Schwab HTTP API
The existing code always interprets the datetime object as UTC, regardless of any actual timezone set on the object. This leads to incorrect values when using non-UTC timezones. The API...
This is apparently a common issue in notebooks and some IDEs
**Description of Bug** `get_price_history_every_minute` and similar methods don't honor the `start_datatime` and `end_datetime` fields. Regardless of what the time bounds are, we return data for the entire day. The API...
https://schwab-py.readthedocs.io/en/latest/client.html#schwab.client.Client.get_quote
Apparently some endpoints tolerate extraneous spaces in secrets and others don't. Either strip them or warn about them.
Create default stream aggregators which listen on data streams and provide the resulting data via a non-stream interface. My hunch is that 99% of users would be better of using...
See changes, basically checking if parameter is None and raising a value error before proceeding
## Description add 4 straddle option order since straddle orders are the mostly used for volatitliy trading ## Test test cases with pytest are done