BaseCurrency
property
Base instrument part.
Syntax
public Asset BaseCurrency { get; }
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace InstrumentClassExamples
{
public class InstrumentClassExamples : NETStrategy
{
public override void Init()
{
Instrument inst = Instruments.GetInstrument("/ES[U4]");
//InstrumentClass Properties
Print(inst.BaseCurrency);
Print(inst.ChartType);
Print(inst.Close);
Print(inst.CounterCurrency);
Print(inst.CrossPrice);
Print(inst.Description);
Print(inst.FirstQuote);
Print(inst.High);
Print(inst.HighLimit);
Print(inst.LastQuote);
Print(inst.LimitType);
Print(inst.LotSize);
Print(inst.LotStep);
Print(inst.Low);
Print(inst.LowLimit);
Print(inst.MinimalLot);
Print(inst.Name);
Print(inst.Open);
Print(inst.PipsSize);
Print(inst.Precision);
Print(inst.PrevClose);
Print(inst.QuoteDelay);
Print(inst.Route);
Print(inst.SwapBuy);
Print(inst.SwapModel);
Print(inst.SwapSell);
Print(inst.Symbol);
Print(inst.TickCost);
Print(inst.Ticks);
Print(inst.TickSize);
Print(inst.TicksPostMarket);
Print(inst.TicksPreMarket);
Print(inst.TradingStatus);
Print(inst.Type);
Print(inst.UnderlierInstrument);
Print(inst.Volume);
Print(inst.VolumePostMarket);
Print(inst.VolumePreMarket);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.