itsjafer / schwab-api

A python library for placing trades on Charles Schwab
MIT License
213 stars 66 forks source link

paper trading in sandbox env? #70

Open ck0099 opened 3 months ago

ck0099 commented 3 months ago

RE: paper trading in sandbox env?

There seems to be a sandbox env for api, how can we make use of it to paper trade? or at least test out the API before live trading?

https://developer.schwab.com/user-guides/apis-and-apps/test-in-sandbox

4rumprom commented 2 months ago

Hi ck, ToS has paper trading but not your brokerage account. The link appears to be a sandbox to test your requests without executing them. That feature already exists in this python api. See examples. For testing, you need to create your own backtesting scripts without actually placing trades.