PureBytes Links
Trading Reference Links
|
I need to run several end of day explorations with a set naming
convention that must be archived for a research project. Can I use
the fopen and Fputs commands with an exploration?
If the the fopen and fput is the correct method how do you output the
exploration results? If the exploration code has several columns I
want exported to the csv file how do I loop through the exploration
results with the fput statement?
The exploration code is:
Filter = C > 50;
Shares = round(50000/ Close);
AddTextColumn(Name()+ " US","Security ID");
AddColumn( DateTime(), "Filing Date", formatDateTime );
AddColumn(Shares,"Size",1);
AddColumn(Close,"Cost",1.2);
Yea = Year();
Mon = Month();
Daz = Day();
Dh = StrFormat("%02.0f%02.0f%02.0f", Mon, Daz, Yea );
fh = fopen( "E:\\Exploration_Archive\\"+"TKRS_"+Dh+".csv", "w");
The naming convention for the fopen statement worked. That was as far
as I was able to get with my limited programming skills.
Any advice or assistance is appreciated.
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|