Show / Hide Table of Contents

Class IAccount.OrderReceipt

Container collecting all order information at time of order execution.

Inheritance
object
IAccount.OrderReceipt
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.SimulatorV2
Assembly: TuringTrader.Simulator.dll
Syntax
public class IAccount.OrderReceipt

Constructors

| Edit this page View Source

OrderReceipt(OrderTicket, DateTime, double, double, double, double)

Create new order receipt.

Declaration
public OrderReceipt(IAccount.OrderTicket orderTicket, DateTime execDate, double orderSize, double fillPrice, double orderAmount, double frictionAmount)
Parameters
Type Name Description
IAccount.OrderTicket orderTicket

order ticket

DateTime execDate

order execution date

double orderSize

order size as fraction of account value

double fillPrice

order fill price

double orderAmount

order amount in currency

double frictionAmount

order friction in currency

Fields

| Edit this page View Source

ExecDate

Order execution date.

Declaration
public readonly DateTime ExecDate
Field Value
Type Description
DateTime
| Edit this page View Source

FillPrice

Order fill price.

Declaration
public readonly double FillPrice
Field Value
Type Description
double
| Edit this page View Source

FrictionAmount

Currency lost for trade friction. Note that throughout the v2 engine, currency has no significance. This is only to make trades more tangible while analyzing and debugging.

Declaration
public readonly double FrictionAmount
Field Value
Type Description
double
| Edit this page View Source

OrderAmount

Currency spent/received for assets traded. Note that throughout the v2 engine, currency has no significance. This is only to make trades more tangible while analyzing and debugging.

Declaration
public readonly double OrderAmount
Field Value
Type Description
double
| Edit this page View Source

OrderSize

Order size, as a fraction of NAV.

Declaration
public readonly double OrderSize
Field Value
Type Description
double
| Edit this page View Source

OrderTicket

Order ticket.

Declaration
public readonly IAccount.OrderTicket OrderTicket
Field Value
Type Description
IAccount.OrderTicket
  • Edit this page
  • View Source
In this article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com