Help Files
Quotes
Obtains a quote given a symbol

Syntax

quote = gvquote(connection,symbol)

Description

quote = gvquote(connection, symbol) takes a connection created using a call to gvconnect and a symbol and returns a quote object.

Example

>> quote = gvquote(con,'/GCL')
quote = 

                   Last: 88.8300
              NetChange: 1.5600
          PercentChange: 1.7900
                   High: 89.2100
                    Low: 86.4600
                   Open: 87.5100
                  Close: NaN
                    Bid: 88.8200
                    Ask: 88.8300
              TradeSize: 1
           OpenInterest: 294270
                 Volume: 173160
        MostRecentValue: 88.8300
              PrevPrice: 88.8300
               MidPoint: 87.8350
                 Strike: NaN
               PrevHigh: 87.6200
                PrevLow: 85.1100
               PrevOpen: 85.3300
              PrevClose: 87.2700
                PrevVol: 192606
                BidSize: 9
                AskSize: 2
              TickCount: 105783
               Currency: 'USD'
                LotUnit: 'BBL'
                PutCall: 'U'
              Underlier: '/CL'
           ContractDate: '01-Oct-2011'
         ExpirationDate: '20-Sep-2011'
              CloseDate: '29-Aug-2011'
             SettleDate: ''
       TradeDateTimeUtc: '30-Aug-2011 15:35:44'
         BidDateTimeUtc: '30-Aug-2011 15:35:45'
         AskDateTimeUtc: '30-Aug-2011 15:35:45'
    MostRecentValueDate: '30-Aug-2011'