    @Test
    public void calculateWithOneTrade() {

        Trade trade = new Trade();
        NumberOfTradesCriterion tradesCriterion = new NumberOfTradesCriterion();

        assertEquals(1d, tradesCriterion.calculate(null, trade), TATestsUtils.TA_OFFSET);
    }