Reply

How to handle strategies that open multiple trades in SQ4

18 replies

Mark Fric

Administrator, sq-ultimate, 2 replies.

Visit profile

6 years ago #196945

I’d like to open a discussion about how to best implement scaling in SQ4 – meaning that strategy can open or close multiple trades into same direction.

It is mentioned here:
https://roadmap.strategyquant.com/tasks/sq4_0271
and
https://roadmap.strategyquant.com/tasks/sq4_0281

It is possible to have strategy that opens multiple positions in the same direction, the question is what methods to use to control that?
The ticket https://roadmap.strategyquant.com/tasks/sq4_0271 suggests that there should be some maximum number depending on a limit or open drawdown, but how to configure how often new trades should be opened?

Strategy probably shouldn’t open new position with every new bar.
I’m thinking about adding a condition on how often (meaning after how many bars) to open new position into the signal direction.

Are there some other ideas?

I’m not sue if this should be made configurable by program, or only possible using strategy templates – which gives you better control over how exactly you want the scaling to be implemented.

Mark
StrategyQuant architect

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #278449

Hi,

you can calculate pips based on % defined. If you purchase BTCUSDT at 20,000.00 then 10% PT will be 200000 pips considering the pip being 0.01 (=1 USDT cent)

The average (long / short) price is a tricky part here. I will ask our dev team to add a new function into AlgoWizard “Average Position Price” or similar

0

Mz

Subscriber, bbp_participant, 2 replies.

Visit profile

1 year ago #278450

Thank you. Pips will work but that means each instrument you have to calculate the pips on. While % target is the norm in crypto. 1%, 2% regardless to the instrument used. Please add % profit target.

 

Thank you regarding average position entry price. Would love to see it in action

 

0

strvinmarvin

Customer, bbp_participant, community, sq-ultimate, 6 replies.

Visit profile

1 year ago #280437

Hey! Just to resurrect this good discussion here – wondering where we are at now with it?

thanks!

0

Viewing 3 replies - 16 through 18 (of 18 total)

1 2