Interface IAccountActivity
Encapsulates account activity information from Alpaca REST API.
Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public interface IAccountActivity
Properties
| Improve this Doc View SourceActivityDate
The date on which the activity occurred or on which the transaction associated with the activity settled in the UTC.
Declaration
DateOnly? ActivityDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateOnly> |
ActivityDateTimeUtc
An activity timestamp (date and time) from ActivityId in the UTC.
Declaration
DateTime ActivityDateTimeUtc { get; }
Property Value
Type | Description |
---|---|
DateTime |
ActivityGuid
An activity unique identifier from ActivityId.
Declaration
Guid ActivityGuid { get; }
Property Value
Type | Description |
---|---|
Guid |
ActivityId
An ID for the activity, always in "{date}::{uuid}" format. Can be sent as page_token in requests to facilitate the paging of results.
Declaration
String ActivityId { get; }
Property Value
Type | Description |
---|---|
String |
ActivityType
Activity type.
Declaration
AccountActivityType ActivityType { get; }
Property Value
Type | Description |
---|---|
AccountActivityType |
CumulativeQuantity
The cumulative quantity of shares involved in the execution (with the fractional part).
Declaration
Decimal? CumulativeQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
IntegerCumulativeQuantity
The cumulative quantity of shares involved in the execution (rounded to the nearest integer).
Declaration
Int64? IntegerCumulativeQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Int64> |
IntegerLeavesQuantity
For partially_filled orders, the quantity of shares that are left to be filled (rounded to the nearest integer).
Declaration
Int64? IntegerLeavesQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Int64> |
IntegerQuantity
The number of shares that contributed to the transaction (rounded to the nearest integer). Not present for all activity types.
Declaration
Int64? IntegerQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Int64> |
LeavesQuantity
For partially_filled orders, the quantity of shares that are left to be filled (with the fractional part).
Declaration
Decimal? LeavesQuantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
NetAmount
The net amount of money (positive or negative) associated with the activity.
Declaration
Decimal? NetAmount { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
OrderId
Gets the id for the order that filled (for the trade activity).
Declaration
Guid? OrderId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Guid> |
PerShareAmount
For dividend activities, the average amount paid per share. Not present for other activity types.
Declaration
Decimal? PerShareAmount { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
Price
The per-share price that a trade was executed at.
Declaration
Decimal? Price { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
Quantity
The number of shares that contributed to the transaction (with the fractional part). Not present for all activity types.
Declaration
Decimal? Quantity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<Decimal> |
Side
The order side of a trade execution.
Declaration
OrderSide? Side { get; }
Property Value
Type | Description |
---|---|
System.Nullable<OrderSide> |
Symbol
The symbol of the security involved with the activity. Not present for all activity types.
Declaration
String? Symbol { get; }
Property Value
Type | Description |
---|---|
System.Nullable<String> |
TransactionTimeUtc
The time at which an execution occurred in the UTC.
Declaration
DateTime? TransactionTimeUtc { get; }
Property Value
Type | Description |
---|---|
System.Nullable<DateTime> |
Type
The type of trade event associated with an execution.
Declaration
TradeEvent? Type { get; }
Property Value
Type | Description |
---|---|
System.Nullable<TradeEvent> |