def test_sma5(self):
        self.event_src.file_path = \
        "../data/EURUSD_Candlestick_15_s_BID_16.07.2015-16.07.2015.csv"
        self.event_src.stream_to_queue()

        strategy = SMA(self.status)
        strategy.mean_period_short = 30
        strategy.mean_period_long = 60
        self.manager.strategy = strategy
        self.simulate()

        self.assertResult(67, 11.4, 1.13029)
    def test_sma5(self):
        self.event_src.file_path = \
        "../data/EURUSD_Candlestick_15_s_BID_16.07.2015-16.07.2015.csv"
        self.event_src.stream_to_queue()

        strategy = SMA(self.status)
        strategy.mean_period_short = 30
        strategy.mean_period_long = 60
        self.manager.strategy = strategy
        self.simulate()

        self.assertResult(67, 11.4, 1.13029)
    def test_sma3(self):
        self.event_src.file_path = \
        "../data/EURUSD_Candlestick_15_s_BID_16.07.2015-16.07.2015.csv"
        self.event_src.stream_to_queue()

        strategy = SMA(self.status)
        strategy.mean_period_short = 20
        strategy.mean_period_long = 80
        self.manager.strategy = strategy
        self.simulate()

        self.assertResult(59, -14.2, 0.85899)
    def test_sma3(self):
        self.event_src.file_path = \
        "../data/EURUSD_Candlestick_15_s_BID_16.07.2015-16.07.2015.csv"
        self.event_src.stream_to_queue()

        strategy = SMA(self.status)
        strategy.mean_period_short = 20
        strategy.mean_period_long = 80
        self.manager.strategy = strategy
        self.simulate()

        self.assertResult(59, -14.2, 0.85899)