Profile Picture

SymbolConfig 3-rd Level

Posted By octacomm 3 Years Ago
Message
Posted Thursday September 25 2014
Hello everyone

We are trying to create automatically with a script 3-rd or 4-th level folders in the Watchlist. We followed and read the following topics:
http://www.rightedgesystems.com/forums/14222/ImportExport-a-set-of-Symbol-or-Creation-Batch?Keywords=SymbolConfig#bm14228
http://www.rightedgesystems.com/forums/7039/Watch-List-Updating?PageIndex=1
http://www.rightedgesystems.com/forums/2967/Watchlist-api-?Keywords=SymbolConfig#bm2968
the problem is that we can only create 1 Main folder with one inside ( or 2-nd level). But we can't create 3-rd level for example:
Folders: "Commodities" , Sub-folder "Energy", Sub-folder "Daily"
Is there a way to do it? The thing is that we can only access and see the 1-st folder, and we can thus create only 2-nd level folders.

In the API there is findtoplevelfolder and it always return the 1-st level folder or "Commodities" in the example above. How or is there a way to RETURN that there is 2-nd level sub-folder or "Energy" as in the example, so we can create 3-rd level folder in "Energy" -  folder named "Daily".

We use the files from Daniel's post here: http://www.rightedgesystems.com/forums/14222/ImportExport-a-set-of-Symbol-or-Creation-Batch?Keywords=SymbolConfig#bm14228
Can we use these to find specific folder (2nd level) and to tell our script to create folder inside it (3-rd level)?

Thank you in advance
Sincerely,
Ili

Edited: Thursday September 25 2014 by octacomm
Posted Friday September 26 2014
The methods in WatchListUtil.cs don't support multiple levels of watchlist folders.  The object model in WatchListObjects.cs does.  You would need to modify the WatchListUtil code to support multiple levels of folders.

Thanks,
Daniel


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems