two kinds of costs: tradingCost and riskAsCost