July 4th Sale
Limited Time Deal: Unlock all premium questions for over 40% off
$10.42$6.25
10
:
09
:
28
:
05
Back to Dashboard
Fractional Order
Medium
A brokerage supports fractional share trading. All share quantities are represented in hundredths (e.g., 150 means 1.50 shares). The system maintains an inventory of fractional shares for each ticker symbol.
Process a list of orders against the current inventory. Each order is represented as [ticker, action, quantity, pricePerShare] where:
...