You need to enable JavaScript in order to visit our site!
 
Logo PTMC
NAVIGATION
CANCEL
 
or via PTMC account
Restore password
or via PTMC account
Logo PTMC
NAVIGATION
or via PTMC account
Restore password
or via PTMC account
or via PTMC account
Restore password
or via PTMC account

FirstQuote

property
Represent access to first quote during current session by selected instrument. Beginning of the session is on the application started(if the instrument is trading at this time), or last known quote(if the instrument is not trading at this time).

Syntax

public Quote FirstQuote { 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.
PTMC is a professional trading platform that combines all the best charting and analytical tools to trade on different financial markets. It is developed by PFSOFT UK LTD, a global provider of trading technology for banks & brokers
© 2024. PTMC is based on Protrader technology
PFSOFT UK LTD
71-75, Shelton Street,
Covent Garden,
London, WC2H9SQ,
United Kingdom
Support & Development
PFSOFT Ukraine
Office #701
Mechnikova Street, 10B
49000, Dnipro, Ukraine
Contact us
Phone: +380 56 740 30 01
E-mail: info@protrader.org
Skype: PTMC_support
Find more ways to contact
Join us in social networks