How to get live data ?
Author: momop
Creation Date: 9/17/2009 12:11 PM
profile picture

momop

#1
I would like to get live intraday data for a bucket list of stock in WLPro ? Can anyone please provide pointers ? I'd like to do something like
CreateStocksListToday();
for all_stocks_in_stock list
get_data("todays_start_time","now","1min");
sleep(for_some_time);
etc...

Many thanks!

momop
profile picture

Cone

#2
CreateStocksListToday();
Auto-WatchList functions don't currently exist in V5, but you can create a Scan and paste the symbols for a new DataSet. WealthScript Programming Guide: Techniques > Creating a Screener

For the rest of the operation, use the Strategy Monitor. See User Guide.
profile picture

momop

#3
If I underatand you correctly, there is no programmatic way to create the stocks list. Basically, the CreateStocksListToday() will be populated by me and it could change intraday. But it doesn't look like there is an automatic way to tell fidelity to get the intraday data for those. Let me take a look at strategy monitor.

Thanks
momop
profile picture

Cone

#4
QUOTE:
there is no programmatic way to create the stocks list.

There's always a way, but Wealth-Lab DataSets are "static lists". Since there isn't support for creating them on the fly, you can't make WL5 aware of them until you restart.

QUOTE:
CreateStocksListToday() will be populated by me and it could change intraday.
Same problem as just explained. Dynamic lists are a very popular request, and I hope the Fidelity customers keep calling their reps until they put it back in the app!
profile picture

momop

#5
Cone

OK. Thanks for clarifying. I'll request it.

momop