
v0.39: Grademe is back in your terminal.
Try the CLI betaRepair the router so test mode places no orders (returns 0) instead of firing the reactivated Power Peg routine.
August 1, 2012. Knight Capital rolls out new trading code to eight servers, but one server still carries a retired routine called Power Peg, and a reused flag wakes it up. For 45 minutes that machine fires orders it was never meant to send, 4 million trades, and the firm loses 440 million dollars and nearly dies before lunch. Here is the same trap in miniature: in test mode the dead code fires real orders. Make test mode do nothing.
orders_to_send(100, 0)Expected result
100For your own tracking. Tests grade your code.
orders_to_send(100, 1)Expected result
0orders_to_send(250, 0)Expected result
250Expected files
orders.cAllowed functions
None. Write every helper yourself.
