Replies

abfc123
06 Mar 2014, 17:42

Hi,

 

I have been evaluating cAlgo/cTrader and am very concerned that I have trades that have been sent to the broker(visible on MyFxBook/Logfiles,etc) but there is no record of it in cTrader or cAlgo(telling me incorrectly that I am flat).

What is the cause of this error and how can cTrader be 'corrected'?

I am told that this is a common issue which is a concern because it would be a total show-stopper for a professional trading platform if it is the case.

Urgently awaiting your advice.

Thks

 


@abfc123

abfc123
04 Feb 2014, 19:37

RE:

Spotware said:

I read that this functionality is available and used the MarketData.GetSeries("XXXXXX", TimeFrame) function but my backtest crashed and gave me a message that this is 'not yet' available for backtests.

Is this function available during live trading?

We have plans to support GetSeries in backtesting. You are able to use it during live trading.

You can vote for this feature there: http://vote.spotware.com/forums/229166-ideas-and-suggestions-for-ctrader-and-calgo/suggestions/5435043-multi-currency-backtesting.

Also is there a way of knowing the status of the market data coming in, ie whether it is historical or live ticks? NinjaTrader for example uses the boolean 'Historical' keyword, does CBot have anything similar?

MarketSeries object contains historical data. However last item in MarketSeries is a live trendbar. You can also read current prices from Symbol object.

Thanks for your reply.

Re the test for whether the last tick was historical or live, I still don't see if there is any function that I can use to test.

I don't want to call MarketData.GetSeries("XXXXXX", TimeFrame) on historical data just live ticks.

Do I need to write my own test using date functions?

 

Thks

 


@abfc123