Reply

Adding What-if Scenario – Close positions after “x” bars and/or “x” minutes”

7 replies

shawnnny

Subscriber, bbp_participant, community, 3 replies.

Visit profile

8 years ago #114390

Hi everyone,

 

I would like to know how I could create the following What-if scenario: Close opened positions after “x” bars and/or “x” minutes.

 

Unfortunately I do not have any programming background and have no idea how to create it with the Java language. Would someone be able to assist me please? This what-if scenario or condition would be a great addition for Quant Analyzer that all users can benefit from.

 

Thanks.

 

Regards,

Shawn

0

shawnnny

Subscriber, bbp_participant, community, 3 replies.

Visit profile

8 years ago #133763

Or perhaps might it be Equity Control if it’s not possible in What-if ?

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

8 years ago #133814

You actually cannot test ‘Close opened positions after x bars and/or x’ in Quant Analyzer because you need to have market price data for this to find out what individual trade result would be. Everything Analyzer has is finalized trade results. But StrategyQuant (Improve) can do this if you have strategy generated in it.

0

shawnnny

Subscriber, bbp_participant, community, 3 replies.

Visit profile

8 years ago #133818

Thanks for the response Tomas. What about a scenario of, “What-if the positions of greater than 60 minutes are not factored into the final results”, regardless making small/big profit or small/big losses? Would this be possible? Thanks again.

0

eastpeace

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

Visit profile

8 years ago #133819

About “exit after X bars”, I would like the setting below.

 

if the position is profit, then exit after X1 bars, and if the position is loss, then exit after X2 bars.

 

 

0

olivier

Customer, bbp_participant, community, 16 replies.

Visit profile

7 years ago #138428

hi

 

Here is modules snipnet whjth upgrade,

 

And an evolution off the concept off add contract moving average.

 

it’s EMM Dissm with bolinger band….

 

 

[i][b][font=tahoma]kind regards[/font][/b][/i],
[font=tahoma][i][b]#OP[/b][/i][/font]

0

krzysiaczek99

Subscriber, bbp_participant, community, 57 replies.

Visit profile

7 years ago #139716

You actually cannot test ‘Close opened positions after x bars and/or x’ in Quant Analyzer because you need to have market price data for this to find out what individual trade result would be. Everything Analyzer has is finalized trade results. But StrategyQuant (Improve) can do this if you have strategy generated in it.

So it is not possible to load the market price additionally to the trades already loaded ??? I believe some method like ‘csv read’ is already implemented. How we can use it using snippets ?? Can you give an example

how to load such data, sync with trade lists and than modify profits of trades ??

 

Krzysztof

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

7 years ago #139740

Viewing 7 replies - 1 through 7 (of 7 total)