Hi All,
I am playing around with my first algo and wanted some help on capital used/borrowing and max notionals. My aim is to try and create a long only portfolio where a -1 signal would sell all my current holding and if I am already long then dont add to the current longs.
Please could someone have a look at my code and let me know whether I am doing something totally wrong in terms of capital used. I pretty much want to be sensible and in theory want to see if I laid down say 50k max capital then how I can abide by that?
thanks.