Number is not enough!!!

Created at 13 Jul 2015, 09:06
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
CH

chatcpe

Joined 13.07.2015

Number is not enough!!!
13 Jul 2015, 09:06


I testing my bot. I have 2 problem, one is I cannot invest over 1000 million$ so I fix code to split to 999 with a lot of order, not problem. 

Error is :  13/07/2015 04:01:00.000 | Crashed in OnBar with ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index\

 

I think that  the environment of the cAlgo is int(32bit number cannot more than 2100billion)  My next invest volumn is 21660000000$ so it is more than int32bit cannot contain.  The system to 64bit int64 can contain 9,000,000,000,000,000,000.


@chatcpe
Replies

chatcpe
13 Jul 2015, 09:08 ( Updated at: 21 Dec 2023, 09:20 )

RE:

chatcpe said:

I testing my bot. I have 2 problem, one is I cannot invest over 1000 million$ so I fix code to split to 999 with a lot of order, not problem. 

Error is :  13/07/2015 04:01:00.000 | Crashed in OnBar with ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index\

 

I think that  the environment of the cAlgo is int(32bit number cannot more than 2100billion)  My next invest volumn is 21660000000$ so it is more than int32bit cannot contain.  The system to 64bit int64 can contain 9,000,000,000,000,000,000.


@chatcpe

chatcpe
13 Jul 2015, 09:09 ( Updated at: 21 Dec 2023, 09:20 )

RE:

chatcpe said:

I testing my bot. I have 2 problem, one is I cannot invest over 1000 million$ so I fix code to split to 999 with a lot of order, not problem. 

Error is :  13/07/2015 04:01:00.000 | Crashed in OnBar with ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index\

 

I think that  the environment of the cAlgo is int(32bit number cannot more than 2100billion)  My next invest volumn is 21660000000$ so it is more than int32bit cannot contain.  The system to 64bit int64 can contain 9,000,000,000,000,000,000.

 


@chatcpe

Spotware
13 Jul 2015, 11:31

Dear Trader,

We understand the issue. We will consider supporting big numbers. Stay tuned.


@Spotware

chatcpe
13 Jul 2015, 12:54

RE:

Spotware said:

Dear Trader,

We understand the issue. We will consider supporting big numbers. Stay tuned.

Thank you. I will glad to make bot with cAlgo.


@chatcpe

chatcpe
04 Dec 2015, 07:35

RE: RE:

chatcpe said:

Spotware said:

Dear Trader,

We understand the issue. We will consider supporting big numbers. Stay tuned.

Thank you. I will glad to make bot with cAlgo.

How are you?

Can I use version of 64bit?


@chatcpe

Spotware
04 Dec 2015, 14:42

Dear Trader,

It isn't in current our plans to support big numbers. We kindly ask you to post your suggestion to http://vote.spotware.com/ and if it collects enough votes we will consider it.

 


@Spotware