The following market data chunk was received from the provider:
currencyPair price changeAbsolute changePercent
EUR/USD 1.0735 -0.0045 -0.42
USD/JPY 112.0900 -0.494 -0.44
GBP/USD 1.2476 -0.0010 -0.08
AUD/USD 0.7648 -0.0032 -0.42
USD/CAD 1.3112 0.0092 0.71
USD/CHF 0.9927 0.0007 0.07
USD/CNY 6.8599 -0.0050 -0.07
EUR/JPY 120.3150 -1.1050 -0.91
EUR/GBP 0.8604 -0.0032 -0.37
a) Parse the string into a collection of objects. NOTE: Do not assume & hardcode the properties but parse them from the header.
b) Retrieve the top 3 currency pairs with the biggest (percentage) changes from the data chunk.
Type mix currencies.parse --path=<PATH_TO_DATA_FILE>
and mix currencies.top --count=X --column=<COLUMN_TO_BE_SORTED>
to get the top X currencies.