1001011101000001111000001110000010101011111001001001110000010010000111110011100111110010010001010100010011010001001011011001100110000000100001011001011110000111111010110011010101001111011101010101011011111110010100101001110110100001100101001011110101000101001011110100100010100101110100000100110101010111010000000001011100111011010010111001101011110010001000000110101100100010011111010110100111101110 0001111011010010010000010110101000010011010000000010101111010010011100111101100010110001011001011110000111111110100011001111000111100110001001010101000010101100101110001000110001000011110010000001001001001000010110101100000001001100100010100100111011110001101010101101000001100000111100010001100011001011110101111101010100011000010001110110110000011001011001100001101011010111011001001110101100101000 0001001000110110010100110000111001000111101010101111001010111000010001001010101100000100000111100101001110001100110101001010100101101100101000100111110111010101011111100100001011001001010000101001111101010100110111101100010101110010101110101110000101010010111111001011111110111111010110110000000101000000110111010111011010000010111111001000101001110001000010101101000010000100001011100000001110011111 1011011010001001111001100100010110111010000101011010110011111111111101111000000101111011101111111100111100111110101111001101101001011010000100011101100111101101101001001001010111110100010000110100001000000011111110011111011010100100001001011111111001110100111000001111010110101101110001100000010001110001000101010101000000000001000111000110000001010010110101000001101010010010111000000110110000010011 0000110101001011101010101100000100010101001011101001010011010010111011001100010010100111010010110101100000111110110001101110000010000110111001000000101110000111100010001101010110010000111110010111010011010001100101110100100110110000010111110000111100010001000110101111100001011111011011010011101100101011111010011111001011101100001001101110111110011010101001110010001111100010011000000010001000101111 1110111001000111101110010010101101110110111000000000010000101000000011111000100011110100111001110101101101000101100110000111000101000011011111100011100111100011001010111011000101111010001101010111001101011110000110100011100011001110101101100010011111101000101101011111010111001011111100011110000110001000101010000101011111000101001100110100001110110101111101110101000100011100001111010110000111010100 1011110101010100010111000100101111000010011101101110000010000011111111110011001110011101011001001100011011100101111001110101001110111110111111100010101100110011000111011110000100101110011101111000010111101100000100101100111010111101100110001100101100010100111011010011110001100100010000110001001000100000110011111111001101000111010000010110011100001000111110110100110110101000011011000111110110010011 0100010010010010010101100001001011101110001101101111110110011000100110011001100101000101100110100010100001101110110110100010110011010100010110010110110101100110010110111100111000111111101100000111101100101110010110011110111101001100001101111110111011001010100000011011001000101010101001010110000111100110111100111110010010100110010000010010011001101010010110001110000010001010001101001011001100010101 1100001111101101101100110100010000010011100010100101000001000110011111010111111001011001110100110111101101100010111001111011101001010010010101010100001100011011011101111011100000111111110100010000111010001011010101100010110111011011101111110110001011100101011011010100101100100101011011100111010101101001000000101011010101001111011101001110110001111010111101011000100101000111111111111100101101011010 0111101010001000000111111001111101100010100101110110011000110111001100111100011111110011010101001111100100101110101011101100101001001001111011001010010001011110001011001011011001100111101010100100110010110100001001101110110000000101110101001101001100111100110010011011011011110101001110101011011100111101011000001011110100010101100010000110100011110110011011011110010001000110101100011010101010110010 0001110110000011111101010000100001111000011011101010101110010011000110001101011011101111111011110111011000001000010001001101111111011010100100011011001011110010011000110010001111011001001110011111111000101101101011000011010001001000100000000101100111110100000101010100000110110011100101110111110111011001101101010000010010010111001010001010110001100101100101001001001010001101100000110010110001110011 0010001101010000100000110011100000111001011110101110000000010111001011011100011100010011000001110110010001100010101001010100011000100101110010110110110001111111101001000000000110011111011010001011011000010111100110010100001101100001011110101001000101011101001101000010010111101100110001101011100001001000110111101101000101100001110011011111001011101101101001001000000000101000000110001110110011001101 0010110101001010110111100110010100110101100001111111100000101101001000001110010101110000001001111101001011110011110000101000110110010100001001110100100001110010100100001111101011100011111110100111101000111000000110110110101111101100101000001111100110101000111100100001110010111100010000111110110001010111001101101001000110101110001000001101010101111000010010101001111101000011000111000001111011101010 0111001011100100111111110011001010001001001101001101101101110100111011001000111101001010010111101101001011110101100100011000011101110000110101010111001011011101001100101011010001101011001010001001111001001110111111100100100111001110110000111011100101010100001100001110011100110100100110111111000111000010011010111010010101010101000010001001111000101011010110010101100101111000111101101011010001011110 0011010011101100001000010010110011100001100111011011011011100100010111100000100110011011101001010110011100110100110100000001001000110100100010110001001111011111100110010001110100010011110000001100101111101000010000111000000011100101111011111100010100111101111011111000001000101101111101010101110000100011011000001111001001111110001000010110011000110110111111100101001100101110011000001010101000101010 0011011011111011101111100110010110101000101100100000111101010110001111110001011000110011011000000010111000100010110100111000010100101101101001100010000010101000110101111011111100111011110001101001000001011011000100000110011100001100100100111111001111110000001000001100111100011000000001010001100000110001100110111001000101111111110101111000010001111111010110010111101010101110000000101111010111001111 0001001000110000001100100001011111110000001110110001000010001101110011111010110011111110011010101000011101111000001000110010001010010011111100010000100111111000110111100001100011000100001011000000000000000101110011001010111110000011101100011001111101001110110110001110010110010001111111011101010110001011001110111001011001100100001000110101010000011010101101011100010100011011110110010001010010000111 0110000110111001111011001001000000111001111000001111001110111111011110111100101011001011101011100111011010111110100110100110111011100111011100001010001110101001010001101100001111010110100001111101101111000111011011011111100010110100010010011101111110001000110111011011000111101011111111000100011000110000000000111110111010010100001011111001101110001000110110110001100010011011101000000111100010001010 1011101001100010100110011001111000001111100011101101001100001000011111010101110001000011011010101000100010100101000011100101111110001111100111010001101110011100000111101010000011111011000110001000001011100010010111100110111100010110010001010111001000011100101111101000010111100011011001111111010010011010010001000000111010101011000001000000101101111000000110101011010100000101000111010100101110000000 1000000111110001001011011101001011110110001001000110100100001110101110110001110111010011111011010111011110101111000010000001110111010101000011100000100100111111111010010111110100100010000000111111101101011110110100001010111110100101101111011001000011000010111011000100000100111110100011100110010111100110001111111000001000010010101100001010011100100010100101001011100001100001000010010100111100100100 1010100101001011110101001011001000111001101010000011110010000011110010010111010101111110111000001000111100100000101101000010010011100010010101100000111110011000101111101111011001101111001010011101000101000011011011011010110101111100111011000101010101110100001111011101100010010111100011100010101000011010100111011111111010010111101111000010101111011101111111111010001001000101001110001101110010101001 1100101010111100011000000010111000011001110110111111110010010110010100111001101001100111110000101101101000101000100110000100001000001000001110010010110110001010100001011110110110100010000001111011001100110110001000011110110000110100000111001110010110101110011100101100010111010010000101111011011001010110000010011000110011010011101110110101001100101101100110010010011100001001101001010111010011010001 1011110110100000110001001110110010001110101010101001101110100011000000110111011100000010110110001101011111101111000100000000111001101010101000001000110100000010110110101110000110010100101111000110011000011110100111111110011010101101110000010000111110000101111010100010110011000101110010111001111100011111011101110111101111001001101010000100101100010011000010111101000111010111110000110011010001101100 1011101110011111111010010110001010111111111101011011010100101110010111011010011111000001001111110100001011100110000100100111011100100010000110101010010010101111110011101100010000101001110111011010110010101101100010101011000010010101110000101001011000100010100010110001001010011110000010101101001011111100110110010001000111100010101100000000000111110000010011001001110110000001111000000000101011111011 1001111010111111111111000000010011010010101111010000100111000000001101101111100010011110000000010001001101010010110000001111111110001000000010011100010101110001000100101100011010100000001111001110101001000101101010100000100011101101101010000011001101011000011011001111001010110111000001110111111111011010000000000101100100011101001010010000100111000001000000100011111101000000101111101000000000011010 0011110100010010000110000100111101110011011011111001000011010110110011110011111110011011010011000111100001101101101110011111110110000001011011010100111011011010001100011011011000100000011010111110001000000001000010100101000010001010010001101100101101101011111000111110011101000011110001001100001001101110011101000001100011100111111000010111000011110001111010110011101111001001011100000001101000100000 1101000000101111100010011011000000001001101110010000111000101001101010100001000100000010101110110010110110100000111101010001110011100100011111010100100010011111110110000011001101111101000001111110011101111000110001111101010011011011000100001011000111011000011110111011111010000010111111111101001011100000100111011110010110101111111010011011001110011000010000110100001110101011001110111011111100101011 0101101101100001111111110011010100010101011110110011101110011110110001100100110111010011011000000001110001010101101011001100001111011110001111001101001110110000001110101001001111000010110001111111111011001110100011101111110101001010001111111101110001101100011101010110100101110011100101101001111000011010100100011001000101111101101001111100111100100111001001111011110111000011011111100100000011111101 0010000100110010110000110111011000111010100110111011110111010010000011101001100011111000001100101011111000111100000110110101101000101000010011111011110100001001101010100100110000001000000011010000011101001101111011100010000110100000101011001001000110011101010010010101100101100111111000010011100111010000110111100010110110101011010101010010101101000100001010001000000101111100010010110100111101000100 0011000011001001001111111101011111000000101100110001100110111111011100010111001100000011010111101000110010100000010010011100110000010011000111100111011101110100101001000010111110111000000000101110001001000001100110010000101100101111010111100100011100011001000001001011010100011001101101010111011000011101001010111011111011110101000001011110110010001110101101100000101101111110100011110100010100110100 0010110000100011100010000100001111100011110100110101110110111010000010010110111111101111011010110001111110001101001001010100101011100010001011011010010110001011100000000100000000110000010111011101011100111111111011100101000001100010011011011000111000010111000110111000011000011011000010010001000110110101011110000111111000010010001001100101101010011011111110100000011011000010001111011111110111111010 1101101111000101110100000100001000001000001011100100100011110001111100001110001010100000000111111010010010110111001001000011001011101001110111101001011101101000000011111010111000110111101010100010000010100101101100001010010000111010001101010110110000010001011010111010111001111100111101100111111111111101010110001000010000100101000111001000111111011010001001101001011000010111110001010101011010111010 1111001011100011001110101100000100100111110011101000001011100111000000011111100010100110000011010011111111011001010101000001100000101011010110110000010110000000011100011111011001111100110001101010110100010101101001011111110010101111110010100110000100111011110001000011001100100110101100110100110110111100010001111011101100011000111101000010101010101011110110001010001100010010101010001101101101011001 1001111100011000011100100111011011101000111011110100111100101011101010111111000110010101111011111110001001100110100010011111101111110111110111001110110000000111110110001101011001101001100110010100111011001001001010110001010010000000001011000111000001110100001010110110111010010010110101000110110100101000111011001101001100100001001011101000100100011110111101001111011110011010010110001100101000100101 1011100101010111100011001011001111101110110000010100110001100101101001111110000000010111010110011101000110101010101010001010111111010001110110001011011010001101110101100101100111001110100111010110111110000011010011010011111100111111100011001001011101011101110101100110110101000100001001101100001010101111110111001001010011100111010000100011100100010110010011001111101011010111001001000111010111110010 1011011101000101011100011101100000100000100111111000011111111011000011001001001011101001110000111011000110011110000001010110010100101111101011011111101001000101110111000010000000111010100110100110111010001000101111100011000010000001100100100111110101000000001101101111011011111111011110101111111111011111011100100010111100100010100101111010110001111010101100111110100010101001000110010001101110000011 0010111001110110100111110101011101110111101000001100000110001001101111011100110000101110110101001110100110101000101000000110000001110000111100000101010010000000111111000111110011111001100001100010001110001110101011100110110011000000110000000000011000111110000000011100000110010001101000001000101011110011100100100000001001101000110000110010110100111100111110000111011011011001110111111001111100001101 0111101110011011000010010111011101110001100111000000111010111101011001110101001110100101000100110000011110111011100100101010010111110101111110101000010001010000111001101001010111101001010010100000001101010110011010110100000110001100111110010011100110100111010101011101101001101111111001001101111001001111101110011100001000011110011110001100011100110111111110101110111010011100011111000111011001111110 0011100111111011111110011000011100110011010010001111101110000110001001101011000101000110000101000011001000111010111100000101101111110011011100101011000101011001111001101110110110001100100000101010110110101101100110010111101110110000111110110111101010100000110011001011011001001001100110111100110000100101011111100011000011101111111011000001110100110100111010101111010101001000100001111011101101100010 1111001001000110100011110011111110000100110100111111011101000011000100101111100101011010010011010110111101111110110110110001001011110011011111010011001101111000110101110010101100000110100010001101100011100110000011010011000110011101110001100001111001101010001101011101101011101010001010100100010111011010010010001011101011000110001101000011001000001001001000100111001101110110111010001000100111000001 0101111010111011101101000010100111110000011101011001001011100010100000111011101001001110101010000000100101111101000010010010010100100111111110000010011111001000111110110010010101110101010011001111001010001110101010100111111111111101000110010011110001111000001101111110011101010011010110111110111110110010111110100100110001111110110010011110010110000001010001111011001000010100011001000110010101101011 1100000000011111101111011010101100101100101111101100100001001011010010010110010101000111100101100001111110101100001110011010010010101011110001001100011101100101101111100011111001110101011100100100100101001010001010111111010001101111000101101011001000100011110011010001010000011010001101000000000100110000011010101000111001001001101111001100111111011100100111101010100010110010011111110010100001111111 1111100000110100001101110111110010100111011100011010001101111100001110101000010101111000100010111000010111010111010011010011001100110010011100010111110101111111111001011010010011111001011100101000101100010100000100001110100111111000001111101010000011100111110001010110111111000001110100111110001110010101010000001110111111101000000111111000010100001001101010000110000011010000011100010001001111111010 1110110010111100000110001100101001011000100100101001001111100011111111111101111010011100010101101000101001110110110110100100110111001100101011000101010101000000101000100101011010001001100011101100111010000100000100001011010110101011011011110001110110001100000111111111110111101101100010000001111000101100010010111011011001001111001010111101000011101110111011010101000110011111011011111100100010111010 0100101000011001011100101001111011101110100110100110111111000001111101101100001011000010110110000000001100000111110101101000001111000001000001101001100111000011001101001001001001100001010011101011110101010100111101111101011001000011001111000001111000010000000000100100010011110011100000011101011000100100110111100100111110001100100110101100001111010010111101111011001111000010100111000000100100001110 1110100010010111011100101000101011111111011101001111000010010111000011101101101000110101111001010101101101111000011001000010010101100000011101100010111111110010011011000000110001111001100011011100001010011001110100011011000001111111111011111000110101000101101000111101010110111111010110000010010100101011011001100110011001000110111110111111000001110011010000011100100101101000111111110101000011111111 0110011110100010111010001110101100010011111101100111101110011000110011111101110001011001110011011000011110011001111001100010110001011110011010110001110001011010110110101100101101110010101111010000101101100001011000110110001101111110011100000100000011101000111011010101000100011010001110100100110000101101010101111111010101100110000001011001100100011100101101111011110011001010100011010001011010110101 1001011101010110110100111001100101000011010111001000001001011100110001001001100011001010001111011011101011110111000110110000001010101001100000100010110010111110101001101101100010010100010110011111111000011010011111110111101001111110010100000111011101001100000101001001011001011100110101110101010010010100001001111011100111010101010100011100100000011101100100011000111101000100111100011100000110010100 1100000000111100111011101010111000110101001011001000100100010110110110001010110000100100110101101000011110010000001011001000110110101101001101101110110110000010000101000011000010110010010100011000111101000111110001010011011111111110011000010001110111010100000100111000101001101011011000101010101001101000011111111000111011001101111101000101111110101101001000110100110111011010110000010000000101010011 0110000100110001000101010110010100011100110110101100010111011111110100100101101001111000101010010011001111101001000111000101100010011110111011111101101100010010101110111110011101100110100011101000111111100111111010010010100101100110100111001111001011101011101101000101111000101100000010110011010001000110111000100001100000101110001101111000100010110101111000001000110011101101100010110101110101111111 1110110001001111101011101011100011101011110001110110000001001101111001011011101110101010110100110011101100010101110101110010011001101110110101010100011011111010011010101000100101111001001101110010100111011010100100010110001100011001110010110001111101101110110100001001111011100100000011111111001101101001011000001100011111101110101001100010110010000010001010100011011111000010110110111101011111100010 0001110100001101011011101010010111100010101011001011101010111010011110111001110101101010010000101011001100010110001111101001011111101110000111011111101001011101100001101111100101000111110011110101000111011001110010100100001111011001110110100011011110111010111111000010000101011010011000011101011011100000011111101000010011101010110101111001000111001100000110000100010000100110101110110011000110001010 0110001111111110000011000100010110001101111001101111011100101101101000001101111110010101011000110111100111010011111111101100101001000010100010010100101011010111000010010010111100011110110011110100110010111111110001100110001110110010010101100100010101111111001011000001110101011010001011101010001110010010101010100001001000011111110111101001110110110000101001101000000011100011001000110011110010001100 1000000110011101101111100000001001111001111010101110101001010000111011011011011000010110101000100100011000110000010111000110101010101011010000011100101101001011010110000001001101010110111100000010010010100100111111010110000010001001001100111000111111001001010110101100100110011110101110011101011110110011010000010100001100110111011010111001100111110101000101100101100011010101000110000101011100101111 0100000001010011001101001001011001000110001011110001001010010011100111110011100100001001001011111000000000110000011111101001000101110001011010011011000110101001010011011111010100000001000110100100100100010111000010111110011110011001111000000001100010000110000100100100101101010000011100010000110011110110000110010100110011011001111001000101000101000100000000000100011110110101011010011011100111110000 1010010101111011111000100010000101000110010100001011011100111001000001001010100011011011110010010101110101101010111100010110010110010111110111000010101001011000010110101001111110110001110100011010010001111000100000000101101110111010001010100101001101101010010101010110000010011001100010101011111010001001011111100110001110100110111110010100111011100111001000000010001111001110110110001100111101100101 0011000111110110011111101010101100011101011010111010100100010010010011110010011000001011111111001011111100010011001111000110010001000101111011110000010010110011001100101001010011110011011001101111011011010101111011110110000110110001100111010010100000010000011000101101100001011100111101011101101011011001111011110110100100001001101100110111000001000000111110100011101100101011111100100100111101100011 1000101001111011100100010001100011011101110101100111101101010000100111010000000011110001000110001011000110101000001010101101000000010001010100111010101110100101111000000010011011101000011000110010011111110110101110000100111011111001010101100100111010101100001001111111011101010110001100100010101000100000100110001000101001010101110010011111101100000111100000111000110111110011110000111010101100010000 0000101011010111100111101001110100110100111010100111111000110100100111001010111001000101000111010101001101010010000111110111100111110101011011100001101100001100100010111101111000111101000100101010100000000010001110001011110111111101011111010111010111101100011000000001110111000011101110000101000101010101100010111110010101010001111111011001101010101000111010011000101010010100001001000110001100000110 0010011100111100010000010000010011101101101001100011110100110010001000010100001000000000010001010100111100000111001001110111011010001001100100010110111110010010111111100100101100000001111101110110111101000001101100010001110101110101010010010010100001110001111111111001111110101001101011101011110100000110100011010100011010101000011111110001100001001000011101010001011110000101001101100101000000111001 0110100001101101110110101000101101001101100001110101110010111101010000110101010101001010001011110111100011011000000110110111100010010011110000100110110111010001100001000001000111111001011110010000111010010110110011011110101001010000010100000100010101101010111010010111010110001111011000111000011101000001111011100010000101100001111000111011000010111110001101101001110101000111001110110000100110111101 1010100000010110101111110111111000000011011100110110111110101000100110100101000100100111111101110100000000110111000110101010100100011001000010101111001001100110011101111110010001010101101001111001101101111000101100001100110101011001011101101010000011000000111010001001100101001111010101010101101101000001011000010010110110111110000100110000100011010000010011110111000011010011001100110010000110010101 0110010011111010001100010000110110011000000010100111101011000100100001110011111110011011010110010111000101010111110111111110000101010111000100110110000110001011011100000001110101100100101010100011110100101011001000111001000010010000100110110010001100111011111111110101000010000010010100000010010001110111011011101100110101011111111111110011010110100111001011101100100100101111001000111010010101110101 1110101001001001110000001001011001101011100001001111100111001110111111000001010000100000010011100011000110001011011011001000011000111101100100110011000001001110101001010100100000011011001100110010110100000010110110111101010100000110011000011001001000110001100010110010011011010101101101001000011001111010000001100100110001101101010100000111101111101001011001111100000110000001011001110111001010001100 0110110000010001000101100111111110000001110010110101110111111111111001010011001010010010001110010010111111010101100001101011101010101000001111101010101011110010011000000101001111111000111101001111001011111110101011011001011100011001110010001011010101110101000100110110110000011010100101111110111100100110011010010111101011011001110011011111010110001101101010100001111010111011011101110001010001101101 1000111000011100010000110011001011000011001011010011010110010101000000011010100111011100111111101000100110110101010101101001011000011010101010001100010111100110100100110110100011100011010110100101011110011111111001110111001011001010110100010100011011101111000100010000011111100100000010010101000010100010000110001010110010110001000111100000011100100011011100001010111010011101011011000000100011110000 1000111010101011010100000100100001010011001100100011111100101001100010011011110010100000000101010000111001110001100010101000111000101001001011101010010001000101111011000101010011000010100001101000110000001111001001001111111110010101110101100011010100001000010101011110000111111001001111101101111010011100001010110110001101100111101100100001010100111100000100000000001111001001011010001001100110100100 0101010011101101100111110010100001111100001110011010001111111101001110111101101010001111001011010011101000001000100101110001010101101001111001001011101011101110100100010011001000101110110110011111111001110101101100110000000010010111011010001100001001110001101010001110101001011111100111011000000101011101111011010001001111011001101100101110001111101000111010010010100111110010100111011110001000011110 0001011011001001010001010000101000000010100111011100100101001110111001010110011010010101100111011010010000101001000110011000111001011100111110011101011100000001101001111110111011001110111110011111000101001111111100011101010100000010110110111000100011101000110001100001110011000011001110100100110100010000011111010011111010001001111010010100010111110111100111111010000110101000101111110010000101010000 0111000001011100110011111001011010010001001001000111000000000101110111110110001010101111110010011011110000011100101010111001001101000111000001001111010000001010100011110001111101111001101100011000111100001001001000000010011111001001000011010001101110000111111001101000001000101100101001110001101101000100100011010110100001010100110011001010100101011100011001100101110001001001011100100000110100101000 1001011111010010110100011110001011010011011011101111001001111001101010100110100001011100101001001001000100001100011000000010101011001101000100101101111001110011111110001100111010011100111111111001001010001111111001100001010001001011101011110010110000111111001101001101110100001001001000111010001011001101100101111101110010100011010001101010010111101011011000100110010111001001111110111110001011011000 0111011000110111101110000101100111110100101011110101011010001100100111100000100110000001001100111101110000100010111111001000011000101010000100000010010000011111001111000001011010010000100011101111100000001010100101101101111111111011111110101010110001100100001100000110101011011101000001110111010010110101101111000111001000010110110011010001110101001101010011111001010001000110010111001101110101000000 1001010011010110000101000001001000010001100101110100001001000010101011101111010110100110110100000000101100011100110000111010001100001110101011010110100101000010100100000010010011110111011011001101110000100000001110111101000001111001101110001100010010011000010100111001000100010100001010111010010001010011011011001000011000001100010000101111010100011001011110001100011101110111010111000001011011001001 1001000010110111100010000100111010100110100010110111001011011101011101011101111110010001010011100000011110110010001110111001100011111001011011011101111110111111000011101010111111001100111100000111110100111000010011100011100001100110001011110101111010101111101111111010100001101000110011100011000001101010100011001010011111000010110110010111100100100011010111001111000110110010000011011001001011111010 1110010000101110000100110011100111001011101001001001000001010111011001100011011001001011100111111011100010100100000101011100001010001101100010000101011111000110001110010011001001010011011100100011101001100110011101010000011101010101100110000101010110101001101110011111111101001100011000100010011001001010101101001110101110011010101010101100000011111001011101100011001100110011100111010101110011010110 1110000011001000101100111001011100100111111111111110011011110111111101001110000110100100110000111101011010100110000111010111111001011011101111110001100110010110110001001001001101100000110001000100010111111111101001111100110111000101010111000011111101000000100001100011011000010001100111000110001011010111111100101101011001010010110001101111001000101111101011101110100111100111100010110101101000011001 0100001110011100101010001011111100011010010001100111001011110111111111001010101111000010000001001111101110111000111101001111100001101111000011100100010110111101111100010100111100101111010111011000011010001010111000110110101100110100100000000011110010011100011100000101100011010011110111110101100001010000000010000000101101001110101010010010101110000000110101101100010110010011110001001011011111100010 1011110100100110001001011100001001000000110101100000000110000010010100011101111011101101001111110100000111010101100100101000010111010110000100000111001101101111100001010010000000001000011101100000110111111010000110101011110111110111100010000100100111101011100101010111110000111000111110100000000111001001111011010101111101000011010100001111100011111100101110101011101000001111110111100001000000011011 0110111100111111000001101100000111110011111000010000011110101110011101011011001101111100010111001001110000001010011000010110100011111100111101111011001010011000011110101110100010110000100010101110100000111000010110111010101110101011011000111100111000100101110101001101101100001011100010001111011000100011101110111000010101100101110100001110111101111100100000110110100000000001010000101110011010001000 1100101010101010110011000000001011111101001010000010101110001101000101110111101111101101100001110011100101001110110101011010111001100000011100101001111101001101001000101110001001001101111111110100001111000110011010100111110110011011100111111001000001001101111110011000100010110111100001101111110100110110001111100100111011101110000000101111110011101001011011011101000110101111101011110011000111100011 1011110100010110111000011011001110000010110101101001000001100111101011100011010000000100100100110011010100110000001001101011010001101111111110101101010010111100110100100100110101100011111000010111010000110000010010011010110100011110101011100111110100011001111101101111001011100011011111001010110111001101001101101111111100001010010011000000101010110101001111010001001110100100100010010101011010111000 1001000000101000101100000011100100110001101011001110100100101010011010101101001100010101011010110000000100010111010100000001001110110010000110010110111101111111001000100110000000111100101111100111000000110101000001101110011001011111110100011010010110010110010001011101011001010011010110100111101110011111111011111011110010100001010111010000100101110111010000101011111110001001100000000100100101111111 0011000000011010000111010001100010000000110010001111000100101100011000011001110011100000111010011010000011101011100001010001110110111100111000110001110100111000010011111000011000011101010011011001010001010101101010110001101111100000101110001101001011101101001010101011100110111010100011010010111000101000000010000100111101110001110111110111000010011100010101100011010110011111011010111000100111010110 0110100110110010010000111011101010101010011100111101010010001100110001001010001111000010111010100101101001010101011110001110000000110000000011010000000011011000011110110011100000101101110001100111111010000000100101101100001001101100110001111100011110010000101011001101001001101010111011101110001101011011111101111000101000100111010100111001001110101111010100101010010001110101111000010111111100000110 0011110110011000101111011001011100010100010110000011000100010111100011011001000000100100110011000001000011010100100100101100001001001011001010010101010110101111110111001010011101011101111000111000001011101011011011111110001101011000100110110110011110001101100110111110010011110100110111111100100011010001010010001010000101101111010011001011111110001010111000111100110011100101011000010110001100111111 1111101101011001000000000100101111100011001101000000101011011100111010010011101110001000001111001110010110011100010010001011110100001000010000000010000100110101100011100111111111011101111100011101100101001110111110000100011100111110110010010111000111101101001101011010011101101100110110001110011101000000000100010001000001011001000111111110001001000110001010000001111100101111100001001001100000111011 0010000111011000100001010110101001001101101000011111110110101011001001010100011000000110011011000011111101111011011111110000001110100111011011010000011110101111011010101010110010001110100100110100010000001000100011011111000010101010101011101110000100101100101111000000111111101000010101110011110000000111101101010100001110110010000101111001001011110100110101011011100111011111101001110000110000001001 0001101101010100100100100011010010101000100110000010101101111000010000001000000110100101101000100000011010111110110101001110100010111011110010110101101001101111000100001010101100000010110010011110110011111001100010110010101111000001000011011101101101100011000011101010100011011110101101010011001110101010001111110011011100101001111110010111100110110100101010011010111000100001110000001110011001110110 1011100010000100011101101101010001001010000000001100010000000100110000101111000111000011011001111010011010100110001011000010110111000011000100110101001100101011010010010000110011011101000101011001001101101010010011110001101001010111001000101000000000100011110001001010010111010011110110111001010000100111101110011100100001001001111001100111111000100011011101000001111100100011001110011100100010110011 1110000110001011101011110100001101000100001110101101011101001110000111000100111001010010111111110011000110101000011001000100101110000110100100011101000111101110001101010101110001111001111011110010100000110111000000101100111111010101101010000100101100000010110110111000110010000100110010110001001000111110011101110100001000110000101010101010100000001001010111100111111001011111001011000100010100001000 1100001001000000111111011100010011110010100010011100101110011000111111100000000100111100111100111110100111110000000111100001100000010100001110001010100000010011101101111010000011111010010011110000111001001111111001101000111000111001111010001000101101100011011011011010001000101100000000110000111000101001100001110001001010110001111111011010100111011100011010000001000111011010010111010111001101100000 0011001011011000011111011100110010110110011110000110100100110000001010001100101100111011101110000011000100010010110100100110001000110011011101110110010111100111010101011011101010110001100111011001111001101100010111010101010110101100110100010110100101110011110001100000001011001100101100110110110111011001101100100101101000110011101001101111110110000101000001100101011110011111010110111111100010100110 0010100111000010010101110000111010100011010101100110101101011100111111101111101000100001000000000110011010000011001101011011010010100111001001001010000100011011011100000011001000100110011010110001110101111110001101010001110010110110101100011110010011000011001000011101111101101010011100101111110110100110110110000000100001001100010010001100000000101000101011011111010111001011101101101111101111100100 1011010001110100110001100101011100111010000001100111111111000100010000010100110000101100100110011100100001001111110000100001001110100100011011101111000000110001101000100110100010001101011111011111101101010111110100000011110100100010110110000000001010011001011010100100111001111110010110011000111001010111101001101010000101101001000101101010011111000110101000001000111111111110001001011001011010100010 0111001101000100110100001100111010111000001100110001101111001001111011011001001011101101011101110001111101110001111101001101111000100011101001111110111001011000101010001010101001000110001000001010011101011101011110101001111101000101011001101011101110100111100111011000110011110101110111011101111110100100011100010010010101001000001001100100010111110011110011001111000000111101110010110110111101000001 0101110001010010011100010010011011100110011100000101111011001110100001010001001110011000010100000111001100000000011110111011101010011000101001010110111010100000000001010011100110110101111010010010010101100011000011011011000001110100100111101010110101111101010111000101100110111111011011100110110011110100100010110100111011100111111100011001101010100111001001001001110100100011010100000110100100110010 0101000010111011001011010000100110111100101011001011011111101111110000111110111111101001101001101100011110000011110011010010111101001000001101110000111001101110001111000111101011000101100110111001101011010111011010101000100110010100111000110111110001110111111001001010101100111101110001110101011000011110110010111111011010110111110101000111101111001101101100010110111010101001111001110111010100011111 0110100111110100111011001110010001101101010001101000110100110101000110010100111011101011010000111100101100101100000111110000000111101011111010000100110010100100111010101001000001010100111110011110010000010000001111000001100110000011110000001000100111100110001111101101001011111100111011101111000110011011011111010001100100011111010100100101110001000100100000010110100100011100010111000011010111010011 1011001000001000111111110010111101010000110011101110000111000101110101100010101010001101001011110001101100000111011010010100100111000100111110001000111011001100010001111001110011010111110100010100011000101010101000111101100111111001101011000111011000001001001110010111010011101011001011011001111010001110000011100011111111000011100011101001101110101110001010101111100100110010101111011001110101100101 0101100001011101010111100011110110001011010001100100100010010101010001000001100100101010101111100110010000110010001110010010001110110100001100101000010000111111011100011110101101011011100011001010011110001101110010111100001010001101010011110111001011000011101001000010100001100011001010010111111111110010111001010010010101011111111000100011101100010000010101100100100000001010010101101010011110111000
cTrader Algo

History【cAlgo API】

10/28/2020 11/12/2020

4年以上前の記事です。内容が古くなっている可能性があります。

これまでのトレード履歴

Historyインターフェース

トレード履歴を保持します。Robot(本体)のプロパティHistoryから簡単にアクセスできます。

public interface History : IEnumerable<HistoricalTrade>

1回1回の取引履歴を表すHistoricalTradeの配列みたいな感じです。稼働中のcBotがトレードした分だけでなく口座の取引履歴すべてを取得できます。

 

プロパティ
(HistoricalTrade) this[int index]

index番目のHistoricalTradeを返します。並び順は昔→最近です。

(int) Count

トレード履歴の総数を返します。

 

メソッド
(HistoricalTrade[]) FindAll(string label, [string symbolName, TradeType tradeType])

条件に合う履歴を検索し、すべてのHistoricalTradeを配列で返します。labelだけ、labelとsymbolNameだけでも検索できます

(HistoricalTrade) FindLast(string label, [string symbolName, TradeType tradeType])

条件に合う履歴を検索し、一番最近のHistoricalTradeを一つ返します。labelだけ、labelとsymbolNameだけでも検索できます

 

 

HistoricalTradeインターフェース

一つ一つのトレード結果を取得するためのインターフェースです。

public interface HistoricalTrade

 

プロパティ
(string) Label

ラベルを取得します。Historyの中から自分のトレードを探すときに使うのはこれです。cBotからのエントリー時は必ずラベル付けときましょう

(string) SymbolName

通貨ペア名を取得します。

(TradeType) TradeType

買い(TradeType.Buy)か売り(TradeType.Sell)かを取得します。

(double) VolumeInUnits

ポジションの数量(通貨量)を取得します。

(double) Quantity

ポジションのロット数を取得します。

(double) EntryPrice

ポジションのエントリー価格を取得します。

(DateTime) EntryTime

ポジションのエントリー日時を取得します。

(double) ClosingPrice

ポジションの決済価格を取得します。

(DateTime) ClosingTime

ポジションの決済日時を取得します。

(double) Pips

トレードの最終獲得Pipsを取得します。

(double) GrossProfit

トレードのスワップと手数料差し引き前の利益を取得します。

(double) Commissions

トレードの手数料を取得します。

(double) Swap

ポジション保持中に発生したスワップ合計を取得します。

(double) NetProfit

トレードの手数料、スワップ差し引き後の最終利益を取得します。

(double) Balance

トレード後の口座資金残高を取得します。

(string) Comment

ポジションについてるコメントを取得します。

(int) ClosingDealId

決済取引のIDを取得します。

(int) PositionId

ポジションのIDを取得します。


まだコメントはありません

新しいコメント

コメントは承認後に公開されます。承認まで次のコメントは投稿できません。

cTrader's Life

© 2025 ajinori