removed fx_ratio decimal rounding
fixed table output missing fields
WIP: rewriting code to fit new input