def METHOD_NAME(self):
    # config=Config(dict(trading_rules=dict(ewmac=dict(function="systems.provided.rules.ewmac.ewmac_forecast_with_defaults"))))
    NOTUSEDrawdata, data, NOTUSEDconfig = get_test_object()
    rules = Rules(
        dict(function="systems.provided.rules.ewmac.ewmac_forecast_with_defaults")
    )
    system = System([rules], data)
    ans = system.rules.get_raw_forecast("EDOLLAR", "rule0")
    self.assertAlmostEqual(ans.tail(1).values[0], -3.280028, 5)
    config = Config(
        dict(
            trading_rules=dict(
                ewmac=dict(
                    function="systems.provided.rules.ewmac.ewmac_forecast_with_defaults"
                )
            )
        )
    )
    rules = Rules()
    system = System([rules], data, config)
    ans = system.rules.get_raw_forecast("EDOLLAR", "ewmac")
    self.assertAlmostEqual(ans.tail(1).values[0], -3.28002839, 5)
    config = Config("systems.provided.example.exampleconfig.yaml")
    rawdata = RawData()
    rules = Rules()
    system = System([rules, rawdata], data, config)
    ans = system.rules.get_raw_forecast("EDOLLAR", "ewmac8")
    self.assertAlmostEqual(ans.tail(1).values[0], -2.158634, 5)