読み取り専用

フォーラムは現在、読み取り専用のアーカイブとなっています。.

バグ報告やプラットフォームに関する質問はこちら → [email protected]

私たちのコミュニティはDiscordとYouTubeで活動しています。ぜひ参加してください!

ご参加ください Discord YouTube

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

94 replies

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

10年前 #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

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

9年前 #140867

Yes, i modified a bit in last part of script, the last line you posted is : start /LOW StrategyQuant64.exe %SQParameters%

when i ran bat, it informed ‘StrategyQuant64.exe can not be found and stopped automatically

So i tried adding location as : start /LOW F:\StrategyQuant\StrategyQuant64.exe %SQParameters%

It continued running but as you see in pictures i attached, database is then locked.

no no no so it is what i thought so .
dont edit it put it back as it was .

where is your sq3 folder location ?

iPhoneの「Tapatalk」から送信

0

グスヨアン

顧客、bbp_participant、コミュニティ、21件の回答。.

プロフィールを表示

9年前 #140868

no no no so it is what i thought so .
dont edit it put it back as it was .

where is your sq3 folder location ?

iPhoneの「Tapatalk」から送信

 

F:\StrategyQuant

0

グスヨアン

顧客、bbp_participant、コミュニティ、21件の回答。.

プロフィールを表示

9年前 #140869

F:\StrategyQuant

 

As i want put temp folder in Part I:\, the code i use should be:

 

@echo off
set NumberOfSQInstances=3
set MainSQLocation=f:\StrategyQuant
set TempSQLocation=i:\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%

) 

 

Is there anything wrong?

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

9年前 #140870

As i want put temp folder in Part I:\, the code i use should be:

@echo off
set NumberOfSQInstances=3
set MainSQLocation=f:\StrategyQuant
set TempSQLocation=i:\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%
)

Is there anything wrong?

yes in the final u have c:
put i: where your clones are :p

iPhoneの「Tapatalk」から送信

0

グスヨアン

顧客、bbp_participant、コミュニティ、21件の回答。.

プロフィールを表示

9年前 #140871

yes in the final u have c:
put i: where your clones are 😛

iPhoneの「Tapatalk」から送信

So, it should be : 

 

@echo off
set NumberOfSQInstances=3
set MainSQLocation=f:\StrategyQuant
set TempSQLocation=i:\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”
)
I:
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%
)
 
Now, it created 4 folders as i set 3 instances in script, folder 1,2 and 3 are well cloned, only the first one left side is empty. But i have no SQ started after BAT ran  :wacko:
ファイル 1.png1.png

0

グスヨアン

顧客、bbp_participant、コミュニティ、21件の回答。.

プロフィールを表示

9年前 #140872

I tried to run cloned file, StrategyQuant64.exe does not run after double click

ファイル 2.png2.png

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

9年前 #140873

I tried to run cloned file, StrategyQuant64.exe does not run after double click

give me teamviewer access

iPhoneの「Tapatalk」から送信

0

グスヨアン

顧客、bbp_participant、コミュニティ、21件の回答。.

プロフィールを表示

9年前 #140874

give me teamviewer access

iPhoneの「Tapatalk」から送信

sent you by pm

0

グスヨアン

顧客、bbp_participant、コミュニティ、21件の回答。.

プロフィールを表示

9年前 #140875

I finally got the problem, thanks to gentmat. So kind for your help

ファイル 3.png3.png

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

9年前 #140876

You welcome i updated the post in case someone have Non-english windows. 

Hope it will help others if they got problems / 

 

18th this month the new sq4 hopefully this thread will die with sq3 and the new SQ4 wont need the hell of multiple instances .

0

Ati

カスタマー、bbp_participant、コミュニティ、7件の返信。.

プロフィールを表示

9年前 #145056

Hi Gentmat,

I copied the Java version 9 from given link in your video, but SQ does not start. I compared the Java file against your copy Java 9 in your Hard disk and there is a  a couple differences. Could you please do new download and try it.  I have also run script . Script works copy instances. But they do not start. I would appreciate your help.

 

Atila

0

Ati

カスタマー、bbp_participant、コミュニティ、7件の返信。.

プロフィールを表示

9年前 #145059

I finally got the problem, thanks to gentmat. So kind for your help

 

What was the issue? I have same problem SQ does not start? Can you tell me how did you resolved?

0

gentmat

顧客、bpb_participant、コミュニティ、234件の回答。.

プロフィールを表示

9年前 #145080

What was the issue? I have same problem SQ does not start? Can you tell me how did you resolved?

when im back home. install teamviewer so i can check it myself. thats how i solved the last guy problem. it was windows language chinese not english

iPhoneの「Tapatalk」から送信

0

アウフハンプトン

カスタマー、bbp_participant、コミュニティ、26件の返信。.

プロフィールを表示

9年前 #145325

I am curious as to what is considered “better performance” when it comes to building strategies. By observing my installation, it looks like SQ is generating a new strategy approximately every .5 s. Are others seeing similar speeds and is this considered good performance for SQ? 

0

カリス

カスタマー、bpb_participant、コミュニティ、sq-ultimate、414件の回答。.

プロフィールを表示

9年前 #145332

I am curious as to what is considered “better performance” when it comes to building strategies. By observing my installation, it looks like SQ is generating a new strategy approximately every .5 s. Are others seeing similar speeds and is this considered good performance for SQ? 

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 🙂

0

15件の返信を表示中 - 76 - 90件目 (全94件中)

← 1 2 3 … 5 6 7 →