Show / Hide Table of Contents

Class BrokerClientIB.InstrumentInfo

Container holding instrument info and quotes.

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

Constructors

| Edit this page View Source

InstrumentInfo(BrokerClientIB, ContractDetails)

Create and initialize instrument info.

Declaration
public InstrumentInfo(BrokerClientIB client, ContractDetails details)
Parameters
Type Name Description
BrokerClientIB client

parent broker client

ContractDetails details

contract details

Fields

| Edit this page View Source

Details

Contract details for this instrument.

Declaration
public readonly ContractDetails Details
Field Value
Type Description
ContractDetails

Properties

| Edit this page View Source

Ask

Ask price. Will be retrieved from IB as required.

Declaration
public double Ask { get; set; }
Property Value
Type Description
double
| Edit this page View Source

AskSize

Ask size. Will be retrieved from IB as required.

Declaration
public int AskSize { get; set; }
Property Value
Type Description
int
| Edit this page View Source

Bid

Bid price. Will be retrieved from IB, as required.

Declaration
public double Bid { get; set; }
Property Value
Type Description
double
| Edit this page View Source

BidSize

Bid size. Will be retrieved from IB as required.

Declaration
public int BidSize { get; set; }
Property Value
Type Description
int
| Edit this page View Source

Close

Close price. Will be retrieved from IB as required.

Declaration
public double Close { get; set; }
Property Value
Type Description
double
| Edit this page View Source

High

High price. Will be retrieved from IB as required.

Declaration
public double High { get; set; }
Property Value
Type Description
double
| Edit this page View Source

Last

Last price. Will be retrieved from IB as required.

Declaration
public double Last { get; set; }
Property Value
Type Description
double
| Edit this page View Source

LastSize

Last size. Will be retrieved from IB as required.

Declaration
public int LastSize { get; set; }
Property Value
Type Description
int
| Edit this page View Source

Low

Low price. Will be retrieved from IB as required.

Declaration
public double Low { get; set; }
Property Value
Type Description
double
| Edit this page View Source

Open

Open price. Will be retrieved from IB as required.

Declaration
public double Open { get; set; }
Property Value
Type Description
double
| Edit this page View Source

Volume

Trade volume. Will be retrieved from IB as required.

Declaration
public int Volume { get; set; }
Property Value
Type Description
int

Methods

| Edit this page View Source

CancelMarketData()

Cancel market data subscription for this instrument.

Declaration
public void CancelMarketData()
| Edit this page View Source

RequestMarketData()

Subscribe to market data for this instrument.

Declaration
public void RequestMarketData()
  • Edit this page
  • View Source
In this article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com