You have 2 choices
a. you can write a jscript that reads a csv file and load the margindeposit
into database
b. you can use afl functions to open and read an existing file and overwrite
the margindeposit variable.


  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of David
Sent: Wednesday, 23 May 2007 7:59 PM
To: [email protected]
Subject: [amibroker] Referencing a stock margin file



Hi, 

does anyone know if we can query an external text file containing
watchlist symbols & margin values to set margin values or
margindeposit values for individual shares? Or to put another way, I
have an excel sheet of stocks with margins for CFD trading. Is there
are way to reference the this file to set individual margins for
stocks in backtesting & calculating position sizing in explorations?

Regards, David



 

Reply via email to