Announcement

Collapse
No announcement yet.

XMLGetBasicQuote work with Futures?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • XMLGetBasicQuote work with Futures?

    Does anybody know if XMLGetBasicQuote works with Futures?

    It seems to work perfectly fine with stocks [ XMLGetBasicQuote("MSFT") ], but it fails with SP Z5 and DJ Z5.


    sXML = esignal.XMLGetBasicQuote("DJ Z5");

    returns an empty quote

    <Quote>
    <\Quote>

    I tried to request SP Z5 with the eSignal Data Manager (Files -> symbol Monitor) and it works fine, so I dont think its an access issue.


    Thanks in advance.

  • #2
    It should be supported. Howerver, it appears that XMLGetBasicQuote does query the eSignal data cache. So, if you enter these two future symbols in eSignal application or if you call esignal.requestSymbol with them first, XMLGetBasicQuote should work afterwards.

    <Quote>
    <Bid>0</Bid>
    <Ask>0</Ask>
    <Last>1270.1</Last>
    <Open>1268.3</Open>
    <High>1270.6</High>
    <Low>1265.9</Low>
    <Change>1.5</Change>
    <PrevClose>1268.6</PrevClose>
    <Volume>28873</Volume>
    <TradeSize>0</TradeSize>
    <AskSize>0</AskSize>
    <BidSize>0</BidSize>
    <DateTime>1132942910</DateTime>
    <FutureExpiry>200512</FutureExpiry>
    </Quote>

    <Quote>
    <Bid>0</Bid>
    <Ask>0</Ask>
    <Last>10957</Last>
    <Open>10942</Open>
    <High>10971</High>
    <Low>10940</Low>
    <Change>15</Change>
    <PrevClose>10942</PrevClose>
    <Volume>4103</Volume>
    <TradeSize>0</TradeSize>
    <AskSize>0</AskSize>
    <BidSize>0</BidSize>
    <DateTime>1132944149</DateTime>
    <FutureExpiry>200512</FutureExpiry>
    </Quote>

    Anthony

    Comment


    • #3
      Please note that it requires real time subscription for this to work.

      Anthony

      Comment


      • #4
        Thanks, it works now

        Comment

        Working...
        X