Back to problems

Berkeley Exchange: Market Activity Tracker and Client Order Trading

Algorithm · Voleon · Hard

Exchange Trade Simulator Medium · Topics · Company Tags · Hints You must build a program that processes a chronological stream of exchange messages arriving on standard input and writes results to standard output. Each message occupies a single line with space‑separated fields. The possible message types are: print : records a completed trade. volume-check : queries the cumulative volume of a security up to the request time. order : submits a client order that will be filled…

Checking your access…