Announcement

Collapse
No announcement yet.

API data problem

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

  • API data problem

    Hello,

    We found that the price on Esignal (Version 10.6.2124.1086) user interface do not same as API sent out price(High/. How can we fix the problem, thanks.

    Stephen

  • #2
    Stephan,

    What type of request are you making?

    Can you provide a symbol or two that are not matching?

    Can you possibily provide a screenshot of the API output verse the eSignal?


    Thank you
    AveryH
    eSignal Support

    Comment


    • #3
      I had found the "Prev" does not find on the Spec. of API. How to do if I require the Prev on API ?

      Comment


      • #4
        To view the previous close with the API you could do a history request for two days, then when processing the data process only for -1 bar.


        Example:
        lHandle = eSignal.requestHistory(MSFT, "D", btDays, 2, -1,-1).

        PHP Code:
        ElseIf listHistory.ListCount Or lnumbars <> lLastHistoryCount Then
                  
        For lBar = -(lnumbars 1To (-1)
                    
        baritem esignal.GetBar(lHistoryHandlelBar)
                    
        sBar FormatBarData(lBarbaritem
        AveryH
        eSignal Support

        Comment

        Working...
        X