Table of Contents

Property OrderTypes

Namespace
WhalesSecret.TradeScriptLib.API.TradingV1.Trades
Assembly
WhalesSecret.TradeScriptLib.dll

OrderTypes

Condition mandating that each trade's order type must be a value of this set, or null if not specified.

[JsonPropertyName("T")]
[JsonConverter(typeof(ReadOnlySetConverter<OrderType>))]
public IReadOnlySet<OrderType>? OrderTypes { get; init; }

Property Value

IReadOnlySet<OrderType>

Remarks

Empty set is not allowed.

Exceptions

InvalidArgumentException

Thrown if an empty set is provided.