Is obsolete warning
Is obsolete warning
30 May 2018, 09:31
Ive downloaded a bot to play with while I learn C#. Upon building to bot since the update i recieve the following warnings even though it says build succeded.
Error CS0618: 'cAlgo.API.Position.Volume' is obsolete: 'Use VolumeInUnits instead'
Error CS0618: 'cAlgo.API.Internals.Symbol.NormalizeVolume(double, cAlgo.API.RoundingMode)' is obsolete: 'Use NormalizeVolumeInUnits instead'
Error CS0618: 'cAlgo.API.Internals.Symbol.VolumeMin' is obsolete: 'Use VolumeInUnitsMin instead'
Error CS0618: 'cAlgo.API.Internals.Symbol.VolumeMax' is obsolete: 'Use VolumeInUnitsMax instead'
What do I do? changing the code to whats writen doesnt work and the build fails.
any help would be great. thanks
Replies
PanagiotisCharalampous
04 Jun 2018, 10:34
Hi zedodia,
The warnings suggest themselves what you should do.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
30 May 2018, 11:49
Hi zedodia,
Thanks for posting in our forum. Could you please share your cod with us so that we can fix it?
Best Regards,
Panagiotis
@PanagiotisCharalampous