Stock specific strategies

Dear Coder, is there a smarter way to in-corporate stock specific strategies, like combining different strategy all together in once single code apply to different stocks having different buy rules and sell rules for individual stocks from watchlist. Please guide me in this regards.

@Siraj you can use a switch statement like in this example.

In your case, in each switch clause you should define all your rules.

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.