</>OfferRetriever
DashboardDiscuss
NEW

Spring Hire Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

08

:

04

:

51

:

25

Get this deal
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: ...