July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
31
:
31
Back to Dashboard
Margin Call
Medium
A brokerage account starts with $1000 in cash and no stock positions. You are given a list of trades, where each trade is represented as [timestamp, symbol, direction, quantity, price]. All values are strings.
Process each trade in order: ...