All traders start with $1000 in cash in their portfolio
CASH amounts are recorded in cents, so 50000 represents $500
Given the following market prices:
| securityCode | price |
|---|---|
| SNAP | 200 |
| IBM | 60 |
And Sarah Smith is a registered trader
Given Sarah has purchased 5 SNAP shares at $100 each
Then she should have the following position details:
| securityCode | amount | totalValueInDollars | profit |
|---|---|---|---|
| CASH | 50000 | 500.00 | 0.00 |
| SNAP | 5 | 1000.00 | 500.00 |
| Number of Scenarios | 1 | Total Duration | 3s |
| Total Number of Test Cases | 1 | Fastest Test | 3s |
| Number of Manual Test Cases | 0 | Slowest Test | 3s |
| Tests Started | Aug 15, 2024 19:49:39 | Average Execution Time | 3s |
| Tests Finished | Aug 15, 2024 19:49:43 | Total Execution Time | 3s |
| feature | Scenario | Context | Steps | Started | Total Duration | Result |
|---|---|---|---|---|---|---|
| Viewing positions | Making a profit on a single share | 4 | 19:49:39 | 3s 770ms |