Interface ITradeUpdate
Encapsulates trade update information from Alpaca streaming API.
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface ITradeUpdate
Properties
| Improve this Doc View SourceEvent
Gets trade update reason.
Declaration
TradeEvent Event { get; }
Property Value
Type | Description |
---|---|
TradeEvent |
ExecutionId
Gets optional order execution identifier.
Declaration
Guid? ExecutionId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Guid> |
Order
Gets related order object.
Declaration
IOrder Order { get; }
Property Value
Type | Description |
---|---|
IOrder |
PositionIntegerQuantity
Gets updated position quantity (rounded to the nearest integer).
Declaration
Int64? PositionIntegerQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Int64> |
PositionQuantity
Gets updated position quantity (with the fractional part).
Declaration
Decimal? PositionQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
Price
Gets updated trade price level.
Declaration
Decimal? Price { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
TimestampUtc
Gets update timestamp in UTC.
Declaration
DateTime? TimestampUtc { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
TradeIntegerQuantity
Gets updated trade quantity (rounded to the nearest integer).
Declaration
Int64? TradeIntegerQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Int64> |
TradeQuantity
Gets updated trade quantity (with the fractional part).
Declaration
Decimal? TradeQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |