itsjafer / schwab-api

A python library for placing trades on Charles Schwab
MIT License
201 stars 64 forks source link

Compare the final return code against valid_return_codes #27

Closed gyias closed 8 months ago

gyias commented 8 months ago

valid_return_codes is currently only used in a dry run request, which causes the real trade request to fail if the return code is not 0.