Adding data to Bars manually
Author: placebo76
Creation Date: 1/4/2016 5:01 PM
profile picture

placebo76

#1
Hi,

Some indexes, e.g. Nikkei225, gets the data from yahoo or stooq with a delay of more than 24h.
Impossible to trade a system with these indexes based on alerts.

Is it possible to add manually the last data to the charts? I found some *.WL files but i can't open these files in a readable way for adding manually some dates.

Regards daniel
profile picture

Eugene

#2
QUOTE:
Some indexes, e.g. Nikkei225, gets the data from yahoo or stooq with a delay of more than 24h.

For Yahoo, you can use partial bar to get the current day's data (Data Manager > Yahoo! > "Always return data with partial bar"). For more information please refer to the User Guide.

QUOTE:
Is it possible to add manually the last data to the charts?

If you intend to do it for multiple instruments in batch mode, then it's cumbersome but possible:

1. See Bars.SaveToFile in the QuickRef.
2. Write a script to append your last bar data (that exist elsewhere - for example, CSV file, web etc.) to the Bars object.
3. Next step is to connect the .WL files:

Is it possible to create a DataSet from bars generated using SaveToFile (*.WL)?
profile picture

Harapa

#3
Open chart of interest
Right click on last bar
Select edit bar
Enter information for new bar including date...click OK.
You got a new bar
Repeat if you need to add another or few more...
profile picture

Eugene

#4
Good point Harapa. That would be feasible for a few instruments only (otherwise it gets tedious and error-prone).
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).