Page 1 of 1

Off line data IQFeed

Posted: Mon Sep 25, 2017 12:33 pm
by chrisw
Can someone kindly advise about how I go about storing the charts for off line access, with IQFeed?

I was hoping to get some work done travelling but can only access my charts when there is internet access ie they are downloaded each time.

If I start W59 in offline mode, the charts do not load.

Thanks in advance.

Chris

Re: Off line data IQFeed

Posted: Mon Sep 25, 2017 4:35 pm
by earik
Hi Chris,

You can't get IQFeed charts in offline mode. You have to be connected for them. The ones that would work for that are Google, Yahoo, IB, and IQCollector.

This will change soon, as part of a big revision we are working on has to do with storing data locally for issues like this. Will be a couple months before that shows up though....

Regards,

Earik

Re: Off line data IQFeed

Posted: Tue Sep 26, 2017 9:21 am
by chrisw
Thanks Earik!

Re: Off line data IQFeed

Posted: Fri Oct 20, 2017 8:40 pm
by kjociii
Here is a simple script that will create an ASCII file out of the data you have on your chart. Load your chart when you are online, place this script on the chart and change the filename input to whatever you want. It will create an ASCII file that you can then set up in the Data Manager to use it offline.

Kenn




inputs:
filename("C:\tmp\PFE.txt");

if (barnum == barsback)
{
if (file_exists(filename))
{
file_delete(filename);
}
}


if (month < 10)
{
myMonth = "0"+string(month,0);
}
else
{
myMonth = month;
}


if (day < 10)
{
myDay = "0"+string(day,0);
}
else
{
myDay = day;
}


file_write(filename,myMonth,"/",myDay,"/",year,",",open,",",high,",",low,",",close);

Re: Off line data IQFeed

Posted: Wed Feb 26, 2020 3:59 pm
by DC1
I tried this and this the error I get
error could not create file C:\wave\Spdata.txt

If anyone could be of assistance
it is somewhat urgent as I have some data anyalyis going on and no way to get the out to be analysed

I use iqfeed

Re: Off line data IQFeed

Posted: Thu Feb 27, 2020 7:08 pm
by earik
Hi DC,

It means that Windows won't let you write files in c:\wave. That can happen if the folder doesn't exist, or if you don't have permissions to write to it. Try changing the path to something else, and see what happens. The working directory is usually a pretty safe place to write if you have issues like this. Go file - working directory to see where that is.

Regards,

Earik