I managed to connect my paper-trading account on IB to my algorithm. I set cash for the algorithm to only $30.000.

During the trading session, I can see that the "Equity" field contains $1.000.000, and the algorithm makes orders for the whole amount of money. Isn't `SetCash` supposed to limit the available amount of money for the algorithm?