コード例 #1
0
    def test_hurst_regions(self):
        one_nine = Evaluation.load_csv(self.corr_root + "1-9.csv")

        nine_seventeen = Evaluation.load_csv(self.corr_root + "9-17.csv")

        seventeen_twenty_two = Evaluation.load_csv(self.corr_root +
                                                   "17-22.csv")

        Evaluation.compare_returns(one_nine.append(seventeen_twenty_two))
コード例 #2
0
    def test_correlate_100_percentiles_midprice_inv(self):
        df = Evaluation.load_csv(self.corr_root +
                                 "LTC-USD-100-inv-midprice.csv")

        Evaluation.compare_returns(df, compare_lyapunov_exponent=True)
コード例 #3
0
    def test_correlate_100_percentiles_trades_fix(self):
        df = Evaluation.load_csv(self.corr_root + "LTC-USD-100-fix-trades.csv")

        Evaluation.compare_returns(df)
コード例 #4
0
    def test_correlate_100_percentiles_midprice(self):
        df = Evaluation.load_csv(self.corr_root +
                                 "LTC-USD-100-percentiles-midprice.csv")

        Evaluation.compare_returns(df)
コード例 #5
0
    def test_can_correlate_50(self):
        df = Evaluation.load_csv(self.corr_root + "LTC-USD-50-sims.csv")

        Evaluation.compare_returns(df)
コード例 #6
0
    def test_can_correlate_10(self):
        df = Evaluation.load_csv(self.corr_root + "LTC-cov.csv")

        Evaluation.compare_returns(df)
コード例 #7
0
    def test_correlate_LTC_USD_26_05_2018_all(self):
        df = Evaluation.load_csv(self.corr_root +
                                 "LTC-USD/26-05-2018-all-midprice.csv")

        Evaluation.compare_returns(df)
コード例 #8
0
    def test_correlate_ETH_USD_all(self):
        df = Evaluation.load_csv(self.corr_root +
                                 "ETH-USD/17-05-2018-all-midprice.csv")

        Evaluation.compare_returns(df, window=100)
コード例 #9
0
    def test_correlate_BCH_USD_trade(self):
        df = Evaluation.load_csv(self.corr_root +
                                 "BCH-USD/17-05-2018-trade.csv")

        Evaluation.compare_returns(df, window=100)
コード例 #10
0
    def test_correlate_cancel_relative(self):
        df = Evaluation.load_csv(self.corr_root +
                                 "LTC-USD/cancel-relative-midprice.csv")

        Evaluation.compare_returns(df)
コード例 #11
0
    def test_correlate_report_LTC_USD_2_day(self):
        df = Evaluation.load_csv(self.corr_root +
                                 "report/LTC-USD-17-18-5-2018.csv")

        Evaluation.compare_returns(df)
コード例 #12
0
    def test_correlate_report_LTC_USD_some_removed(self):
        df = Evaluation.load_csv(
            self.corr_root + "report/LTC-USD-sims-some-removed-17-5-2018.csv")

        Evaluation.compare_returns(df)
コード例 #13
0
    def test_correlate_utc_mid_trade(self):
        df = Evaluation.load_csv(self.corr_root + "LTC-USD-mid-trade.csv")

        Evaluation.compare_returns(df)
コード例 #14
0
    def test_correlate_utc_midprice(self):
        df = Evaluation.load_csv(self.corr_root + "LTC-USD-utc.csv")

        Evaluation.compare_returns(df)