コード例 #1
0
        public void ShouldIterateArbitrageCase1()
        {
            MockSistem mockSistem = new MockSistem();

            Arbitrage arbitrage = new Arbitrage(mockSistem);

            arbitrage.IterateSymbols();
        }
コード例 #2
0
        public void ShouldIterateArbitrageCase2()
        {
            Parameters.IsVadeSpot = true;
            Parameters.IsVade0819 = true;

            MockSistem mockSistem = new MockSistem();

            Arbitrage arbitrage = new Arbitrage(mockSistem);

            arbitrage.IterateSymbols();
        }
コード例 #3
0
        public void ShouldIterateArbitrageCase5()
        {
            Parameters.IsVade0919 = true;
            Parameters.IsVade1019 = true;
            Parameters.IsVade1219 = true;
            Parameters.IsSending  = true;
            Parameters.Delay      = 12;

            MockSistem mockSistem = new MockSistem();

            Arbitrage arbitrage = new Arbitrage(mockSistem);

            arbitrage.IterateSymbols();
        }
コード例 #4
0
        public void ShouldIterateArbitrageCase3()
        {
            Parameters.IsVade0819         = true;
            Parameters.IsVade0919         = true;
            Parameters.IsVade1019         = true;
            Parameters.IsArbitrageForward = true;
            Parameters.ForwardThreshold   = -50;
            Parameters.IsSending          = true;

            MockSistem mockSistem = new MockSistem();

            Arbitrage arbitrage = new Arbitrage(mockSistem);

            arbitrage.IterateSymbols();
        }
コード例 #5
0
        public void ShouldIterateArbitrageCase4()
        {
            Parameters.IsVade0919          = true;
            Parameters.IsVade1019          = true;
            Parameters.IsVade1219          = true;
            Parameters.IsSending           = true;
            Parameters.IsArbitrageBackward = true;
            Parameters.BackwardThreshold   = -50;
            Parameters.TrackThreshold      = 10000;
            Parameters.Delay = 15;

            MockSistem mockSistem = new MockSistem();

            Arbitrage arbitrage = new Arbitrage(mockSistem);

            arbitrage.IterateSymbols();
        }