First post of what I expect to be a series of newbie questions. Hoping to piece together a strategy I have developed and backtested using other software (Stratasearch). My programming skills in C# are essentially zero, but I am trying to learn as quickly as I can.
First question - I want to use a set dollar amount for each trade (say $20,000 per trade for stocks), and have the system check the current available account funds before placing any trades. For the first part I would simply type the following:
protected override void Initialize() { AccountSize = 20000; }
Any suggestions on what the code would look like?
Thanks in advance,
Kevin
Comment