using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BrokerInterfaceTDAmeritrade.Models { public class TInstrument { public string symbol { get; set; } public string underlyingSymbol { get; set; } public DateTime optionExpirationDate { get; set; } public double optionStrikePrice { get; set; } public string putCall { get; set; } public string cusip { get; set; } public string description { get; set; } public string assetType { get; set; } public DateTime bondMaturityDate { get; set; } public double bondInterestRate { get; set; } } public class Fee { public double rFee { get; set; } public double additionalFee { get; set; } public double cdscFee { get; set; } public double regFee { get; set; } public double otherCharges { get; set; } public double commission { get; set; } public double optRegFee { get; set; } public double secFee { get; set; } } public class TransactionItem { public int accountId { get; set; } public double amount { get; set; } public double price { get; set; } public double cost { get; set; } public int parentOrderKey { get; set; } public string parentChildIndicator { get; set; } public string instruction { get; set; } public string positionEffect { get; set; } public TInstrument instrument { get; set; } } public class Transaction { public string type { get; set; } public string clearingReferenceNumber { get; set; } public string subAccount { get; set; } public string settlementDate { get; set; } public string orderId { get; set; } public double sma { get; set; } public double requirementReallocationAmount { get; set; } public double dayTradeBuyingPowerEffect { get; set; } public double netAmount { get; set; } public DateTime transactionDate { get; set; } public DateTime orderDate { get; set; } public string transactionSubType { get; set; } public long transactionId { get; set; } public bool cashBalanceEffectFlag { get; set; } public string description { get; set; } public string achStatus { get; set; } public double accruedInterest { get; set; } public Fee fees { get; set; } public TransactionItem transactionItem { get; set; } } }