Excel Lag

Questions about integrating Excel and Cymatic, programming, formulae, etc

Excel Lag

Postby trentcroad » Mon Oct 12, 2015 1:36 pm

I seem to be getting a bit of a lag in my excel sheets compared to the Cymatic platform. When I say lag, I mean the sheets are updating a little slower than the platform.

It's quite obvious when you put the countdown timers next to one another.

I was really just wondering what the cause might be? Is it likely to just be the hardware it's running on, or could it be a setting somewhere I've missed.

To give some background I run Cymatic and excel on a VPS - 2 2.5Ghz CPU and 4gb RAM.

In excel I generally have 10 markets open across 10 sheets and I open them using the new grid method.

I have the refresh rate at 200ms for both primary and secondary.

The lag isn't an issue for markets that are not the next market to begin. It really only affects the market that is next to start as I have a number of time based triggers linked to the countdown clock and with the lag it can easily skip a few seconds.

Thanks again for your work - Cymatic is great.
trentcroad
 
Posts: 6
Joined: Mon Oct 05, 2015 3:53 pm

Re: Excel Lag

Postby Gavin » Mon Oct 12, 2015 2:06 pm

Hi trentcroad,

I expect that server to be powerful enough and able to refresh markets as frequently as that. However, you should try using a slower refresh interval just to make sure that it wasn't the cause of the problem. If you refresh too frequently then it can cause a congestion to build up a bit, see here:

API Refresh guidance

However, for the delay to be several seconds, I suspect that it might be something you are doing in Excel formulae or VBA programming. You need be aware that there are some aspects of Excel that can really slow down its calculation process, such as excessive use of the VLOOKUP function, OFFSET function, dynamic ranges, or a poor flow of calculation flow (you should make it go from left to right), these things can reduce speed considerably.

Also consider whether any of your VBA code is poorly optimized, looping too many times for example.

Kind regards,

Gavin
User avatar
Gavin
Site Admin
 
Posts: 3941
Joined: Wed Jan 23, 2013 9:11 pm
Location: United Kingdom


Return to Excel - Help / Support

Who is online

Users browsing this forum: No registered users and 3 guests