trade improoving, charts

Created trade core, tests, charts