diff --git a/cschwabpy/SchwabAsyncClient.py b/cschwabpy/SchwabAsyncClient.py index e563129..e7ebbbf 100644 --- a/cschwabpy/SchwabAsyncClient.py +++ b/cschwabpy/SchwabAsyncClient.py @@ -206,7 +206,7 @@ async def place_order_async( if response.status_code == 201: return True else: - raise Exception("Failed to place order. Status: ", response.headers) + raise Exception("Failed to place order. Status: ", response.status_code) finally: if not self.__keep_client_alive: await client.aclose()