TWS bar timestamp

Questions about MultiCharts and user contributed studies.
TCust
Posts: 249
Joined: 01 Sep 2011
Has thanked: 6 times
Been thanked: 26 times

TWS bar timestamp

Postby TCust » 23 Jun 2015

MC display and use IB data with IB time, but IB time on Open Bar Time !

From specification MC use time on Close Bar Time.

PS. Or this give option in IB adapter - TWS bar timestamp ?

TCust
Posts: 249
Joined: 01 Sep 2011
Has thanked: 6 times
Been thanked: 26 times

Re: Nice bugs in MC 9.0 r7

Postby TCust » 23 Jun 2015

Ok this not bugs, this is option - TWS bar timestamp.

Why need this option, if MC use other time system on close bar time ?

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: Nice bugs in MC 9.0 r7

Postby JoshM » 24 Jun 2015

Ok this not bugs, this is option - TWS bar timestamp.

Why need this option, if MC use other time system on close bar time ?
There's a long topic about that option here. More to the point, in an earlier thread, Henry said:
MultiCharts uses your PC clock time.
TWS uses its own server time.
You can use IB time for the bars:
Please go to QuoteManager->Tools->Data sources->IB->Edit->enable the option "TWS bar timestamp"
By the way, the wiki suggests:
TWS bar timestamp.
It is not recommended to check this function to avoid possible problems with mixing session settings and missing bars on chart.
So it seems you don't need this option, unless you currently have problems with IB time data. But (from same thread as mentioned earlier):
(...) it will be better to sync PC clock when MultiCharts is closed.
Have you tried syncing your PC clock?

TCust
Posts: 249
Joined: 01 Sep 2011
Has thanked: 6 times
Been thanked: 26 times

Re: Nice bugs in MC 9.0 r7

Postby TCust » 24 Jun 2015

JoshM Thank you.

After by MC, I all time use MC with TWS bar timestamp, I want see bar generated on exchange time, not local my PC.

MC you really not transform TWS time system, to MC time system ( generate minutes timeframe on close bar time ) ?

Just now, I casually seen that all my historical data from IB damaged.

CRITICAL BUGS ! Or send original screenshot on BMT forum's ?

TCust
Posts: 249
Joined: 01 Sep 2011
Has thanked: 6 times
Been thanked: 26 times

Re: TWS bar timestamp

Postby TCust » 24 Jun 2015

TJ how NJ correct work's with IB, or how MC work's with Esignal or IQFeed and correct build minutes bar ?

MC build RT bars from tick's ( tick's, minutes... ), tick's have only one time bar -> time the tick's.

Historical minutes MC request from IB server, with " time start bar " and NEED ! transform to MC time system " time end bar ".

TCust
Posts: 249
Joined: 01 Sep 2011
Has thanked: 6 times
Been thanked: 26 times

Re: TWS bar timestamp

Postby TCust » 24 Jun 2015

Is the current EOB timestamp method perfect?
-------------------------------------------------------

TJ we work all time with delayed data Exchange -> Broker -> Internet -> PC

You can may mark tick's with local PC time, and thinks that RT data. Problem not in system time " Open bar time " or " Close bar time ", problem in correct transform time for current platform what you use.

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: TWS bar timestamp

Postby TJ » 24 Jun 2015

Is the current EOB timestamp method perfect?
-------------------------------------------------------

TJ we work all time with delayed data Exchange -> Broker -> Internet -> PC

You can may mark tick's with local PC time, and thinks that RT data. Problem not in system time " Open bar time " or " Close bar time ", problem in correct transform time for current platform what you use.
Ok.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: TWS bar timestamp

Postby Henry MultiСharts » 25 Jun 2015

Hello TCust,

The "TWS bar timestamp" option under Historical data section you are referring to was added to work around the code breaking changes in bar timestamps IB API introduced in TWS builds 873, 874, 875. You do not need to use it at the moment as IB has resolved the issues they had in these TWS builds and the API is operating fine now.

For historical data IB API provides bar open timestamp which is being properly handled on our end to show the bar close timestamp.

If you have "Use server timestamps" enabled under the Real-Time section then the Time for "Trade" quote field is taken from IB servers. This option does not apply to Ask and Bid data for Forex symbols which always use PC time.


Return to “MultiCharts”