Create trading-calc.js

code from trading-calc.js can be used to build parts of
the trading program to calculate, organize, and display
information about single trades or a comprehensive
overview of an entire account history.