sullivandavid
Technical User
I have created a excel spreadsheet that imports ascii data thru webquery directly into the spreadsheet .
The information is date,time, trade price,trade size using a product called q collector for esignal and refreshes the data every 5 seconds
From the data I use certain array calculations to extract useful info
I.E. Where col A = date B= Time of trade C= Price of Trade D=Tradesize
{=MAX(IF($A$7:$A$14449=Today,C$7:C$14449))} Max price for time period selected (MAXr) Named range
{=MIN(IF($A$7:$A$14449=$A$1,C$7:C$14449))} Min price for time period selected
(MINr) Named range
{=COUNT(IF($B$7:$B$14449>TimeRange,B7:B14449))} number trades durning time period
=SUM(IF($C$7:$C$14449=$G10,IF($B$7:$B$14449>$H$1,$D$7:$D$14449))) volume during time range
where colum G is a table of prices
The lastest time the contracted trade at price minutes ago
=NOW()-MAX(IF($C$7:$C$14449=$G9,IF($B$7:$B$14449>$H$1,$B$7:$B$14449)))
1st time traded at the price within the timerange
=MIN(IF($C$7:$C$14449=$G9,IF($B$7:$B$14449>$H$1,$B$7:$B$14449)))
$H$1=Timerange
TimeRange Last 60 minutes =(NOW()-TODAY())- (60/1440)
I plot the value that sums up the total at each price using
=IF(F9="x",REPT("n",ROUND(E9/Units,0)),"" using windings formating
where column E is the total traded at a price within the time frame
where column f =
=IF(G9<=MAXr,IF(G9>=MINr,"x","")
where colum G is a table of prices
The problem is there a way to import the most recent data only from an ascii file thru a webquery, pivot table or into access and create a DDE link to excel for the most recent data so the spreadsheet doesn’t need to perform the calculations.
The file gets very large and slows down the calculation process
Even with a timer to turn autocalc on and off its slow
Any Suggestions ?
Thank you
The information is date,time, trade price,trade size using a product called q collector for esignal and refreshes the data every 5 seconds
From the data I use certain array calculations to extract useful info
I.E. Where col A = date B= Time of trade C= Price of Trade D=Tradesize
{=MAX(IF($A$7:$A$14449=Today,C$7:C$14449))} Max price for time period selected (MAXr) Named range
{=MIN(IF($A$7:$A$14449=$A$1,C$7:C$14449))} Min price for time period selected
(MINr) Named range
{=COUNT(IF($B$7:$B$14449>TimeRange,B7:B14449))} number trades durning time period
=SUM(IF($C$7:$C$14449=$G10,IF($B$7:$B$14449>$H$1,$D$7:$D$14449))) volume during time range
where colum G is a table of prices
The lastest time the contracted trade at price minutes ago
=NOW()-MAX(IF($C$7:$C$14449=$G9,IF($B$7:$B$14449>$H$1,$B$7:$B$14449)))
1st time traded at the price within the timerange
=MIN(IF($C$7:$C$14449=$G9,IF($B$7:$B$14449>$H$1,$B$7:$B$14449)))
$H$1=Timerange
TimeRange Last 60 minutes =(NOW()-TODAY())- (60/1440)
I plot the value that sums up the total at each price using
=IF(F9="x",REPT("n",ROUND(E9/Units,0)),"" using windings formating
where column E is the total traded at a price within the time frame
where column f =
=IF(G9<=MAXr,IF(G9>=MINr,"x","")
where colum G is a table of prices
The problem is there a way to import the most recent data only from an ascii file thru a webquery, pivot table or into access and create a DDE link to excel for the most recent data so the spreadsheet doesn’t need to perform the calculations.
The file gets very large and slows down the calculation process
Even with a timer to turn autocalc on and off its slow
Any Suggestions ?
Thank you