Bid
property
The best bid price.
Syntax
public double Bid { get; }
Example
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
using PTLRuntime.NETScript;
namespace QuoteClassExamples
{
public class QuoteClassExamples : NETStrategy
{
public override void OnQuote()
{
Instrument inst = Instruments.Current;
Quote q = inst.LastQuote;
//All Quote Class Properties
Print(q.Ask);
Print(q.AskSize);
Print(q.Bid);
Print(q.BidSize);
Print(q.CrossPrice);
Print(q.Instrument);
Print(q.Last);
Print(q.LastSize);
Print(q.Time);
}
}
}
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.