Hi,
I hope to know what command I need to use in order to get the sell price of a security.
I know that cost_basis can tell me what price I paid for a security. Is there a similar thing that returns the exact sell price of a market order?
Apparently, I cannot just simply use last_sale_price because this is usually off by 1 or 2 cents.
I have also tried to do this by looking at how the cash amount changes. However, sometimes if I sell two stocks at the same time, then I cannot know how much cash each sell returns.
So, is there a command that tells me the sell price of a market order?
Thank you.