Off line data IQFeed

Post any software related questions or comments here. This is also the place to ask for help if you can't figure out how to do something in Wave59.
Post Reply
chrisw
Posts: 6
Joined: Fri Oct 07, 2016 9:24 pm
Contact:

Off line data IQFeed

Post by chrisw » Mon Sep 25, 2017 12:33 pm

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

User avatar
earik
Site Admin
Posts: 474
Joined: Mon Dec 01, 2014 12:41 pm
Contact:

Re: Off line data IQFeed

Post by earik » Mon Sep 25, 2017 4:35 pm

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

chrisw
Posts: 6
Joined: Fri Oct 07, 2016 9:24 pm
Contact:

Re: Off line data IQFeed

Post by chrisw » Tue Sep 26, 2017 9:21 am

Thanks Earik!

kjociii
Posts: 15
Joined: Tue Jul 21, 2015 9:15 pm
Contact:

Re: Off line data IQFeed

Post by kjociii » Fri Oct 20, 2017 8:40 pm

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);
Wave59 Solution Provider
Custom QScript Programming
kenn@scriptbuilder.net

DC1
Posts: 25
Joined: Tue Aug 11, 2015 6:39 pm
Contact:

Re: Off line data IQFeed

Post by DC1 » Wed Feb 26, 2020 3:59 pm

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

User avatar
earik
Site Admin
Posts: 474
Joined: Mon Dec 01, 2014 12:41 pm
Contact:

Re: Off line data IQFeed

Post by earik » Thu Feb 27, 2020 7:08 pm

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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 4 guests