pybroker icon indicating copy to clipboard operation
pybroker copied to clipboard

[Feature] Add support for Schwab

Open arsaboo opened this issue 9 months ago • 1 comments

Can we add support for Schwab API - https://github.com/alexgolec/schwab-py

arsaboo avatar May 07 '24 01:05 arsaboo

Thank you for the suggestion @arsaboo, I will look into adding this.

edtechre avatar Jun 23 '24 22:06 edtechre

Hi @arsaboo,

On further consideration, I won't be adding support for a Schwab data source. This is because I want to keep dependencies to a minimum, where YF and Alpaca are available primarily as examples to get people started.

Instead, you can simply query to the Schwab API and then use the returned DataFrame as a data source. See https://www.pybroker.com/en/latest/notebooks/7.%20Creating%20a%20Custom%20Data%20Source.html#Using-a-Pandas-DataFrame.

edtechre avatar Aug 12 '24 02:08 edtechre