Crashed in OnBar with ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: volume. Actual value was: ∞.

Created at 20 Apr 2023, 09:11
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!
DE

dennis.jarchow1997

Joined 20.04.2023

Crashed in OnBar with ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: volume. Actual value was: ∞.
20 Apr 2023, 09:11


20/04/2023 07:00:00.423 | Crashed in OnBar with ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: volume. Actual value was: ∞.

Since the new Updates, I get this Stupid Error again and again. Not on all my Bots (All use the exact same Code on different Accounts) 

I dont have any Parameter Called volume 

What can I do?? 
 


@dennis.jarchow1997
Replies

firemyst
20 Apr 2023, 14:49

What do you do in your OnBar code? Can you post your code?

Does you bot use any indicators that have a volume parameter?

 


@firemyst