studerw/td-ameritrade-client

PlaceOrder question

medaramesh opened this issue · 2 comments

Hi Its actually question.
I have used placeOrder and it went through successfully. But how do I know the order is placed. Does this api return order id or status ? or Do I need to run fetchorders to verify ?
or I can set my own orderid to placeorder so that I can fetch by orderid to verify the existence ?

Thanks a lot. It seems response to placeOrder has header information called Location in the below format. https://api.tdameritrade.com/v1/accounts/AccountId/orders/OrderID. But PlaceOrder is not returning response. It would be helpful if provide a method to get orderid. Any how Big Thanks for this library. Its really useful. Thanks is a small word