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

| Improve this Doc 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

IBApi.ContractDetails details

contract details

Fields

| Improve this Doc View Source

Details

Contract details for this instrument.

Declaration
public readonly ContractDetails Details
Field Value
Type Description
IBApi.ContractDetails

Properties

| Improve this Doc View Source

Ask

Ask price. Will be retrieved from IB as required.

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

AskSize

Ask size. Will be retrieved from IB as required.

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

Bid

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

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

BidSize

Bid size. Will be retrieved from IB as required.

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

Close

Close price. Will be retrieved from IB as required.

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

High

High price. Will be retrieved from IB as required.

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

Last

Last price. Will be retrieved from IB as required.

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

LastSize

Last size. Will be retrieved from IB as required.

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

Low

Low price. Will be retrieved from IB as required.

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

Open

Open price. Will be retrieved from IB as required.

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

Volume

Trade volume. Will be retrieved from IB as required.

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

Methods

| Improve this Doc View Source

CancelMarketData()

Cancel market data subscription for this instrument.

Declaration
public void CancelMarketData()
| Improve this Doc View Source

RequestMarketData()

Subscribe to market data for this instrument.

Declaration
public void RequestMarketData()
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2011-2023, Bertram Enterprises LLC dba TuringTrader.com