Market Range
Market Range
14 Apr 2014, 07:06
Hello. Can you please explain what the market range function does? I tried to use it during trading the news release to avoid getting the worse prices caused by volatility but it hasn't worked so far. So I haven't been able to see how it can help. Can you explain what it does? Does this function help to trade during the news releases in any way? Thank you very much.
E.C
Replies
PanagiotisCharalampous
22 Jan 2018, 10:55
Hi irmscher,
Yes you can specify market range in the ExecuteMarketOrder function.
Best Regards,
Panagiotis
@PanagiotisCharalampous
juangmez87
11 Feb 2018, 12:48
Hello,
And how i can use it with a PlaceStopOrder to control the slippage?
Thank you very much!
@juangmez87
PanagiotisCharalampous
12 Feb 2018, 12:10
Hi juangmez87,
Stop Limit Order is currently not available in cAlgo.API. It will be added in a future release.
Best Regards,
Panagiotis
@PanagiotisCharalampous
trend_meanreversion
27 Jun 2019, 01:24
RE:
Panagiotis Charalampous said:
Hi irmscher,
Yes you can specify market range in the ExecuteMarketOrder function.
Best Regards,
Panagiotis
Hi Panagiotis,
Market Range feature has been removed it seems in your new released API. Is it deliberate ? Can you please advise and provide that feature as part of 'ExecuteMarketOrder' ?
-TRMR
@trend_meanreversion
PanagiotisCharalampous
27 Jun 2019, 09:52
Hi trend_meanreversion,
It has not been removed. There is a new method for it.
Best Regards,
Panagiotis
@PanagiotisCharalampous
trend_meanreversion
28 Jun 2019, 04:16
RE:
Panagiotis Charalampous said:
Hi trend_meanreversion,
It has not been removed. There is a new method for it.
Best Regards,
Panagiotis
Cool, thanks. Somehow I didn't see any of them having market Range argument yesterday.
Thanks mate !
@trend_meanreversion
trend_meanreversion
28 Jun 2019, 04:20
RE:
Panagiotis Charalampous said:
Hi trend_meanreversion,
It has not been removed. There is a new method for it.
Best Regards,
Panagiotis
Ok just realized that I was looking inside ExecuteMarketOrder not ExecuteMarketRangeOrder!
Can you elaborate on what is 'basePrice' argument in ExecuteMarketRangeOrder ? Shouldn't market range order take current price as base price and then marketRange in pips as slippage one is comfortable while getting executed ?
Please advise on what should i give as basePrice in that function.
-TRMR
@trend_meanreversion
PanagiotisCharalampous
01 Jul 2019, 12:10
Hi trend_meanreversion,
It is the price that will be considered for the slippage calculation. If you want it to behave like the previous version, just use bid/ask prices.
Best Regards,
Panagiotis
@PanagiotisCharalampous
jani
07 Nov 2019, 19:31
RE:
Panagiotis Charalampous said:
Hi irmscher,
Yes you can specify market range in the ExecuteMarketOrder function.
Best Regards,
Panagiotis
Hello,
can you please give some examples of ::
double basePrice
in ExecuteMarketRangeOrder?
@jani
Jonkey
16 Nov 2019, 03:32
RE: RE:
jani said:
Panagiotis Charalampous said:
Hi irmscher,
Yes you can specify market range in the ExecuteMarketOrder function.
Best Regards,
Panagiotis
Hello,
can you please give some examples of ::
double basePricein ExecuteMarketRangeOrder?
/* public TradeResult ExecuteMarketRangeOrder(TradeType tradeType, string symbolName, double volume, double marketRangePips, double basePrice, string label, double? stopLossPips, double? takeProfitPips, string comment, bool hasTrailingStop, StopTriggerMethod? stopLossTriggerMethod) */ ExecuteMarketRangeOrder(TradeType.Buy, Symbol, 5000, 3, Symbol.Ask, "myRobot", 20, 40, "this is a comment");
@Jonkey
Spotware
14 Apr 2014, 10:07
Market range is the maximum deviation from the price you see in the platform at which your order can be filled.
For example if Ask price in the platform is 1.38428 for EURUSD and you send Buy MarketOrder with 2 pips market range your order cannot be filled by price higher than 1.38448.
@Spotware