public void TestCreate_InstrumentId( ActivePair active, OrderDirection direction, DigitalOptionsExpiryDuration duration, string expected) { var specificDate = DateTimeOffset.Parse("2018-11-10 12:50:50Z"); var result = new DigitalOptionsIdentifier(active, direction, duration, specificDate); result.ToString() .Should().Be(expected); }
internal PlaceDigitalOptionsMessageRequest(DigitalOptionsIdentifier positionIdentifier, int userbalanceId, int amount) : this(positionIdentifier.CreateInstrumentId(), userbalanceId, amount) { }