Creating orders for different Symbols using one Robot

Created at 19 Nov 2012, 12:59
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!
HU

hussain

Joined 06.11.2012

Creating orders for different Symbols using one Robot
19 Nov 2012, 12:59


Dear

I have to develop a Robot which takes Symbol name as user input and send market orders according to that input.

But CreateMarketOrders() is taking Symbol as its first parameter which is not a string rather it is an entity for cAlgo.API.Internal class. So it is giving the following error: Cannot convert string to cAlgo.Api.Internals.Symbol.

This is the prime requirement of my strategy and i need its solution urgently.

Please help, suggestions are highly appreciated.

 

Reagrds

Hussain

 


@hussain
Replies

admin
19 Nov 2012, 13:29

Hello,

 

What you are referring to is not currently possible because it requires multi-timeframe support.  This will be added soon to the cAlgo platform.

 

 


@admin