Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
How to tell the cash effect of a transaction?
API

When I place an order it will generally have an impact on my cash on hand. I say generally because the order may not be executed. Is there anyway to know precisely what the effect was on cash?

From an event driven programming point of view what I would like would be a method that would be called anytime my cash position changed (after an order was executed). Having some detail about the transaction would be great. At a minimum the total increase or decrease in cash.

One purpose would be to be able to keep track of uncollected funds in a Robinhood account (at least during backtesting).

In looking at the code provided in the Robinhood Framework it looks like it doesn't do any buying or selling if there are any unsettled funds in the back testing. I would like to know precisely how much settled vs unsettled cash I have in order to utilize all of my settled cash, while not over buying while backtesting.

The Robinhood framework looks like it would behave significantly different in live trading than in backtesting