GetAllDataForSymbol returns error
Author: gdodds
Creation Date: 9/5/2017 6:16 AM
profile picture

gdodds

#1
Hi All,

I have a script that I have not used for a year. When I tried to run it today it gives me an error on GetAllDataForSymbol. I was previously trading with this script so I know it did work and no changes have been made to it since it was last working.

CODE:
Please log in to see this code.


gives error : 'string'does not contain a definition for 'GetAllDataForSymbol' and no extension method 'GetAllDataForSymbol'accepting a first argument of type 'string'

Any ideas on why I am now getting the error ?

Thanks - Geoff
profile picture

Eugene

#2
Hi Geoff,

1. Firstly, please reinstall Community Components.

2. After restarting WLD, the correct way to call GetAllDataForSymbol would be:

CODE:
Please log in to see this code.


Please refer to the online manual for an example:

GetAllDataForSymbol

profile picture

gdodds

#3
Thanks Eugene,

Reinstalling Community Components resolved the issue.
profile picture

Eugene

#4
Geoff, good to know it helps.