firstrade-api icon indicating copy to clipboard operation
firstrade-api copied to clipboard

Reporting successful even when it did not sell.

Open MaxxRK opened this issue 2 years ago • 1 comments

firstrade is reporting successful even when it does not sell.

MaxxRK avatar Jan 12 '24 12:01 MaxxRK

I am new here, but having played with brokers before, I am guessing this is referring to a successful order - as in with the notification from Robinhood when placing an order, "We've received your limit order to buy 1 share of XYZ through your Traditional IRA account at a maximum of $3.21 per share."

When placing a simple buy order via web the API will respond with a success -- Stating that placing the order has been successful. You can then re-query the API after the fact with the order id (the browser does this automatically after I believe 1 second) to get its updated state of being filled or not.

But I will look into this more tomorrow when the market is open.

Cfomodz avatar Apr 23 '24 03:04 Cfomodz

I agree with these comments. I am going to close this issue. This will need a seperate query to check the status of an order.

MaxxRK avatar Jun 02 '24 00:06 MaxxRK