Exemplo n.º 1
0
        internal void MarketDataRequestMessage()
        {
            // Arrange
            // Act
            var message = MarketDataRequestFactory.Create("AUD/USD", 1, StubZonedDateTime.UnixEpoch());

            // Assert
            Assert.Equal("8=FIX.4.49=6735=V262=MD_0263=1264=1265=0267=2269=0269=1146=155=AUD/USD10=238", message.ToString());
        }
Exemplo n.º 2
0
        /// <inheritdoc />
        public void MarketDataRequestSubscribe(Symbol symbol)
        {
            var message = MarketDataRequestFactory.Create(
                symbol.Code,
                0,
                this.TimeNow());

            this.SendFixMessage(message);
        }