• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Value outside of valid range

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

    Value outside of valid range

    Hi,

    I am uploading via streamreader the following daily numbers, and I am getting a
    Value outside of valid range error,

    When I output the data I dont see any reason why, I also divide by 1000 to make sure I get a smaller number

    Why would this error?

    Thanks

    Tinkerz

    20080916;82669184.0;82669184.0;82669184.0;82669184 .0;0
    20080917;84369184.0;84369184.0;84369184.0;84369184 .0;0
    20080918;84019184.0;84019184.0;84019184.0;84019184 .0;0
    20080919;77269184.0;77269184.0;77269184.0;77269184 .0;0
    20080922;82569184.0;82569184.0;82569184.0;82569184 .0;0


    Current Day OHLC: 20080916 8266.9184 8266.9184 8266.9184 8266.9184 0 True 936

    #2
    Hello tinkerz,
    To assist you further can you please send a toy NinjaScript code* replicating the behavior to support[AT]ninjatrader[DOT]com

    Please append Attn:Joydeep in the subject line of the email and give a reference of this thread in the body of the email.

    I look forward to assisting you further.

    *The "toy" just means something that is a stripped down version that isn't necessarily the whole logic. It makes things easier to rout out.
    JoydeepNinjaTrader Customer Service

    Comment


      #3
      Originally posted by tinkerz View Post
      Hi,

      I am uploading via streamreader the following daily numbers, and I am getting a
      Value outside of valid range error,

      When I output the data I dont see any reason why, I also divide by 1000 to make sure I get a smaller number

      Why would this error?

      Thanks

      Tinkerz

      20080916;82669184.0;82669184.0;82669184.0;82669184 .0;0
      20080917;84369184.0;84369184.0;84369184.0;84369184 .0;0
      20080918;84019184.0;84019184.0;84019184.0;84019184 .0;0
      20080919;77269184.0;77269184.0;77269184.0;77269184 .0;0
      20080922;82569184.0;82569184.0;82569184.0;82569184 .0;0


      Current Day OHLC: 20080916 8266.9184 8266.9184 8266.9184 8266.9184 0 True 936
      It would seem to me that you have to divide by 10,000, not 1,000.

      Comment


        #4
        tinker,

        The code you sent in loaded fine for me. The line you mentioned is dividing by 10,000 as Koganam suggested
        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by rwilliam, Today, 03:14 PM
        0 responses
        3 views
        0 likes
        Last Post rwilliam  
        Started by rwilliam, Today, 03:10 PM
        1 response
        4 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by rontronimous, Today, 03:04 PM
        2 responses
        5 views
        0 likes
        Last Post rontronimous  
        Started by zacharydw00, Today, 03:14 PM
        0 responses
        3 views
        0 likes
        Last Post zacharydw00  
        Started by junkone, 09-12-2019, 07:10 PM
        11 responses
        82 views
        0 likes
        Last Post cnecorp
        by cnecorp
         
        Working...
        X