Not logged in
Viewing 6 posts - 1 through 6 (of 6 total)

Forums>StrategyQuant>General Discussion>is there a way to specify builder config in CLI

  • #267064 |
    6 Posts

    I was trying to use sqx CLI to run builder. Is there a way to specify genetic options/trading options/building blocks in the command line? or is there a way to edit the .cfx file? It would be straightforward if the configuration file is in XML format.

    1823 Posts


    you are able to control many functions using CLI even start the project. You can check this and this

    You can do almost anything. Simply run the Win command line and Sqcli.exe -h from the StrategyQuantX folder (with -h parameter) to list all available commands

    6 Posts

    Thank you for your help. I tried the help command and it still seems to me that the only way to specify config for a project is by specifying a configuration file(which I assume is manually exported from GUI version SQ). Is it possible to specify the specific indicators I want in CLI? or any ways to do this outside of GUI SQ?


    below is the help message:

    -project Manage projects.
    action: Performs the specific action [list,start,stop,pause,resume,remove,status,loadconfig,saveconfig]
    name: (optional) Project name
    file: (optional) Path of the config file
    sqcli.exe -project action=list
    sqcli.exe -project action=start name=Builder
    sqcli.exe -project action=stop name=Builder
    sqcli.exe -project action=pause name=Builder
    sqcli.exe -project action=resume name=Builder
    sqcli.exe -project action=remove name=Custom
    sqcli.exe -project action=status name=Builder
    sqcli.exe -project action=loadconfig name=Builder file=Builder.cfx
    sqcli.exe -project action=saveconfig name=Builder file=Builder.cfx

    63 Posts

    You can run a specific project. First configure the project in UI and then run it using cli.

    6 Posts

    Is there a way to modify building block parameters without using the UI?

    For example, can I change the java code in “SQX\extend\Snippets\SQ\Blocks\Indicators\…” and start SQX afterwards to specify the parameter range I’d like to use?

    I tried to delete some default parameter set in but after I started SQX UI nothing changed. I suppose it is because the indicator java code only specify the default setting; the code related to setting displayed on UI and actually used is somewhere else.

    790 Posts

    everything is stored in settings file inside user-projects directory – project.cfx which are zipped XML files, so if you can edit those XML files you dont need to set params in the GUI

    but i am afraid that this is not an easy task, not with manual approach

    You want to be a profitable algotrader? We started using StrateQuant software in early 2016. For now we have a very big knowhow for building EAs for every possible types of markets. We share this knowhow, apps, tools and also all final strategies with real traders. If you want to join us, fill in the FORM. 1500+ final SQX strategies for members running on demo accounts to verify the edge DEMO ACCS. We provide also strategies for indices - DAX, DOW JONES, NASDAQ, SP, UK, because we have realtick data from our brokers.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.