Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

decimals on Volume

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

    decimals on Volume

    Hi

    I want to import historical data where the decimals on the volume cannot be neglected or rounded. My trades volume range might be from 1000 to 0.0001.

    What is the recommend instrument configuration in order to plot correctly and be able to create orders from my strategies?

    #2
    Only whole numbers can be used when importing volume data. You can learn more about importing historical data and the necessary formats in the link below:



    Can you tell me more about this volume which has a decimal value? Is it shorthand for a larger number? For example, does 100.005 = 100,005,000?

    In either case, your volume would need to be converted to a whole number value.

    Comment


      #3
      >Can you tell me more about this volume which has a decimal value? Is it shorthand for a larger number? For example, does 100.005 = 100,005,000?

      not sure what you mean by this

      for example I have trades with volume 0.5, 0.752, 10, 0.1, 100 What I am doing now is I multiply by 10000 however this means that my order quantity should be times 10000 and as you can understand Analyzer results will be times 10000. So I wonder if there is another way to make NT8 behave?

      Comment


        #4
        Trades in NinjaTrader must be whole numbers and therefore volume data must also be whole numbers.

        What is the source of the volume data you're referring to?

        What instrument type is it? For example, future, forex, equity, option, etc.

        What specific instrument(s) is it?

        Comment


          #5
          yeah now i understand your question . These are crypto market symbols

          Comment


            #6
            You would need to multiply your volume values until they always equaled a whole number. Unfortunately, decimal values are not supported for volume data import.

            Comment


              #7
              what is a whole number? integer or long?

              Comment


                #8
                Zero or a positive integer must be used for your volume value.

                For example: 0, 1, 500, 4,982, etc.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by CarlTrading, 03-31-2026, 09:41 PM
                1 response
                41 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by CarlTrading, 04-01-2026, 02:41 AM
                0 responses
                20 views
                0 likes
                Last Post CarlTrading  
                Started by CaptainJack, 03-31-2026, 11:44 PM
                0 responses
                27 views
                1 like
                Last Post CaptainJack  
                Started by CarlTrading, 03-30-2026, 11:51 AM
                0 responses
                45 views
                0 likes
                Last Post CarlTrading  
                Started by CarlTrading, 03-30-2026, 11:48 AM
                0 responses
                37 views
                0 likes
                Last Post CarlTrading  
                Working...
                X