Announcement

Collapse
No announcement yet.

Time of Quote

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

  • Time of Quote

    Hi

    When I get a price tick into the efs study (a new value of close) can i get the time of that quote down to milliseconds?

    Thanks

    Paul

  • #2
    Re: Time of Quote

    Paul
    I am not sure that eSignal transmits the milliseconds with the quotes but you can get the time of the execution of the script in milliseconds by using the Date Object and the getMilliseconds() method.
    Alex

    PHP Code:
    var myDate = new Date();
    var 
    myTime myDate.getHours()+":"+myDate.getMinutes()+":"+myDate.getSeconds()+":"+myDate.getMilliseconds(); 

    Originally posted by paulm
    Hi

    When I get a price tick into the efs study (a new value of close) can i get the time of that quote down to milliseconds?

    Thanks

    Paul

    Comment


    • #3
      Alex

      Thanks - much appreciated

      Paul

      Comment


      • #4
        Paul
        You are most welcome
        Alex

        Comment

        Working...
        X