Documentation

Last updated on 24. 4. 2020 by Mark Fric

-instrument Manage instruments

Arguments:

action: Performs the specific action [list,add,edit,delete]

instrument: Instrument to add

description: (optional) Instrument description

pointvalue: (optional) Point value (100000)

ticksize: (optional) Pip/Tick size (0.0001)

tickstep: (optional) Pip/Tick step (0.00001)

defaultspread: (optional) Default spread (2)

datatype: (optional) Data type, [stock,futures,forex,cfds,etf,index,crypto] (forex)

Examples:

sqcli.exe -instrument action=list
sqcli.exe -instrument action=add instrument=EURUSD
sqcli.exe -instrument action=edit instrument=EURUSD datatype=forex
sqcli.exe -instrument action=delete instruments=EURUSD

 

Was this article helpful? The article was useful The article was not useful

Subscribe
Notify of
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
jvelasco0811
31. 3. 2023 4:03 pm

i have this error Starting StrategyQuant X in command line mode.
Params: -instrument action=add instrument=GBPJPY_CUSTOM ticksize=0.0001 tickstep=0.00001 defaultspread=3.1 orderSizeMultiplier=1 defaultslippage=1 datatype=forex
Cannot add instrument.
Parameter ‘orderSizeMultiplier’ is missing.
————————————————–

tomas262
Admin
Reply to  jvelasco0811
5. 4. 2023 6:02 pm

Thanks, we will need to adjust CLI to support ‘orderSizeMultiplier’