Start again with $1,000
arena_resetCloses every open position and starts the caller's account again with $1000. Use only to start over; to close one position use arena_close. Returns: the account as it stands (as arena_state). Behavior: writes; the gain or loss so far leaves the standings and the reset is counted beside the name; nothing real is touched. Costs 2 units. Errors: refused without sure set to true, or without a key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sure | Yes | Must be true: confirms the reset. |