Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Random algorithm with fixed stop-loss to take-profit ratio.

I'm thinking about it as another version of stock-picking cat experiment. (https://finance.yahoo.com/news/cat-pick-stocks-better-most-192600625.html)

We can't control the direction of the price and the only 3 things that we can control are the entry, side of the trade and exit. I'm thinking about randomizing the first two since it's a really hard task to work out a more or less OK algorithm not to mention a good one. While entry and the side of the "bet" hypothetically can be random the exit should not. The exit strategy for the algorithm is as follows: to fix the relationship between profit and loss levels with a ratio of 3:1 (or any other favorable ratio).

This approach itself brings a lot of further questions:

  • What should be the size of the universe ?
  • What should the allocation for each trade be
  • How to set the levels of P&L?
  • Should there be a horizon for any trade if it does not hit any of the price levels ?
  • Should the size of the allocation also be random?
    .......

I don't have the algorithm yet.