AD
cAlgo Improvement - Asset category via Symbols.SymbolInfo properties
30 Jul 2024, 15:21
Enable the possibility to get Asset category via Symbols.SymbolInfo properties to distinguishes indices, crypto, forex, metals, etc.
have it on cTrader Desktop as well via the GUI
best,
Adrien
ctid+customer-395444
01 Aug 2024, 06:58 ( Updated at: 01 Aug 2024, 12:15 )
If you have a suggestion, you need to post it in the Suggestion forum:
https://ctrader.com/forum/suggestions/
Spotware won't look here for suggestions because this is for technical support.
However, you could accomplish what you want now in a round-about way. Just build your own structures and put the relevant symbol in each structure.
For instance, in C# code, create a HashTable with all the Indices you want to trade, or could trade. Call the HashTable AssetCategory_Indices; similarly, do one for all the forex pairs you might trade.
Then you can check which asset category the current symbol is in by checking each of your HashTables.
@ctid+customer-395444