Reply

Video Tutorial SQ Max Speed & Performance CPU,Ram,Disk & Extra 6k Strategy Quest challenge

92 replies

gentmat

Customer, bbp_participant, community, 234 replies.

Visit profile

7 years ago #115334

https://www.youtube.com/watch?v=l6oRsTNm0yc

// This is the link of the video , Check it out hopefully you will like it . YES i am arabic and the accent follows
me to death so if you have a problem with it “I am verry Sorry but i have to KILL YOU”

A big credit goes to “GeekTrader” , This Video tutorial is to teach you how to max speed of SQ 3 .
Tweaking CPU,rams and hard drives / SSD ‘s

The original post is like 10 pages + which seems bit complicated for beginners here so i explained it
step by step in this video + added more tweaks of my own (Hope it helps out beginners and even pro users of SQ).

End of the video is a quest for people to contribute more by filtering some good strategies and show us the procedure .. I am sure each pro will choose a different strategy(ies) we got to learn from the contributes.

Links of the video:

https://www.youtube.com/watch?v=l6oRsTNm0yc

* Strategies : https://drive.google.com/file/d/0B83k2vKtYK80UWNuWDZsenpQNzQ/view?usp=sharing

* Java Version 9 : http://cdn.azul.com/zulu-pre/bin/zulu…

* The scipt To use for the batch opening of SQ, Create new .bat file and add these line of codes and press
save . Watch the video to learn how to tweak the parameters.

 

 

 

@echo off
set NumberOfSQInstances=10
set MainSQLocation=C:/StrategyQuant
set TempSQLocation=C:/temp
set SQParameters=-J-server -J-Xmx1g -J-XX:+DisableExplicitGC -J-XX:+AggressiveOpts -J-XX:+UseSerialGC 
 
 
rmdir “%MainSQLocation%/temp” /S /Q
rmdir “%MainSQLocation%/log” /S /Q
rmdir “%TempSQLocation%/strategyquant-temp” /S /Q
mkdir “%TempSQLocation%/strategyquant-temp”
 
FOR /L %%A IN (1,1,%NumberOfSQInstances%) DO (
mkdir “%TempSQLocation%/strategyquant-temp/%%A”
)
FOR /L %%A IN (1,1,%NumberOfSQInstances%) DO (
compact /c /s:”%TempSQLocation%/strategyquant-temp/%%A”
)
c:
FOR /L %%A IN (1,1,%NumberOfSQInstances%) DO (
xcopy “%MainSQLocation%” “%TempSQLocation%/strategyquant-temp/%%A” /E /Y
CD “%TempSQLocation%/strategyquant-temp/%%A”
start /LOW StrategyQuant64.exe %SQParameters%
)
 
 
 

This is a new Script if you want to rename each instance so you can know each instance job . ( if you do not need this option use the above code )
1- NumberOfSQInstances= “to whatever number of instance you want to run” Lets say “X” instances
2- set arrayline[1]=CrossMaStrategyInstance
set arrayline[2]=RSIStrategyInstance
…. Continue declaring more to fit your X instances
lets say we want 3 instances so i ll add one more
arrayline[3]=anotherNewInstance

The code is :

 

@echo off
setlocal enabledelayedexpansion
 
 
 
 
set NumberOfSQInstances=2
set arrayline[1]=CrossMaStrategyInstance
set arrayline[2]=RSIStrategyInstance
 
 
 
 
set MainSQLocation=C:/StrategyQuant
set TempSQLocation=C:/temp
set SQParameters=-J-server -J-Xmx1g -J-XX:+DisableExplicitGC -J-XX:+AggressiveOpts -J-XX:+UseSerialGC
 
rmdir “%MainSQLocation%/temp” /S /Q
rmdir “%MainSQLocation%/log” /S /Q
rmdir “%TempSQLocation%/strategyquant-temp” /S /Q
mkdir “%TempSQLocation%/strategyquant-temp”
 
 
FOR /L %%A IN (1,1,%NumberOfSQInstances%) DO (
mkdir “%TempSQLocation%/strategyquant-temp/!arrayline[%%A]!”
)
FOR /L %%A IN (1,1,%NumberOfSQInstances%) DO (
compact /c /s:”%TempSQLocation%/strategyquant-temp/!arrayline[%%A]!”
)
 
c:
FOR /L %%A IN (1,1,%NumberOfSQInstances%) DO (
xcopy “%MainSQLocation%” “%TempSQLocation%/strategyquant-temp/!arrayline[%%A]!” /E /Y
CD “%TempSQLocation%/strategyquant-temp/!arrayline[%%A]!”
rename StrategyQuant64.exe !arrayline[%%A]!.exe
start /LOW !arrayline[%%A]!.exe %SQParameters%
 
)

0

afhampton

Customer, bbp_participant, community, 26 replies.

Visit profile

6 years ago #145339

Depends on your PC speed like SSD CPU RAM,

 

this method of which this topic is for is to reduce SQ from eating a lot of RAM,

when i use SQ for searching strategies i use 1g of RAM for each, and i typically use 20~ SQ instances at once.

 

but when i use SQ for re-testing the strategies i use 16g per 1 instance.

 

it helps 🙂

 

Thanks Karish. I’m running 64-bit Windows 7 Pro on an i7-3610QM CPU @ 2.30 GHz, 32 GB RAM, with 250 GB SSD and 750 GB SSD. 

 

I too allocate 1 processor and 1 GB RAM to each instance when building strategies.

 

With your instances, what kind of average generation time are you getting per strategy when building?

0

Karish

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

Visit profile

6 years ago #145347

It depends on the IS/OOS sample and the building blocks you use and the min~max SL/TP values and ATR values and many other settings..,

the less building blocks selected = more speed,

 

it does the job for me.., i use 14 SQs at once sometimes even more so i get strategies faster then using just 1 instance of SQ…, because SQ3 wont use the full potential of your CPU you have to use many instances of it to get faster results,

SQ4 will need to be opened just once, but until then we are using SQ3 this way..

0

Viewing 2 replies - 91 through 92 (of 92 total)

1 2 3 5 6 7