Reply

ERROR CLI adding Instrument

1 replies

jvelasco0811

Subscriber, bbp_participant, customer, community, sq-ultimate, 1 replies.

Visit profile

1 year ago #281809

Hello i want add an instrument thought the CLI interface, in SQX 136, but the command not work bellow i left you the steps i did:

1. check the help from with sqcli.exe -h

Output: ——————————————-
-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)
Example:
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

************************

2. Run this command with e custom name sqcli.exe -instrument action=add instrument=GBPJPY_X3

i have this error

Starting StrategyQuant X in command line mode.
Params: -instrument action=add instrument=GBPJPY_X3
Cannot add instrument.
Parameter ‘orderSizeMultiplier‘ is missing.

 

3. I add orderSizeMultiplier parameter to the commnad sqcli.exe -instrument action=add instrument=GBPJPY_X3 orderSizeMultiplier=1

but i still have the same error

Starting StrategyQuant X in command line mode.
Params: -instrument action=add instrument=GBPJPY_X3
Cannot add instrument.
Parameter ‘orderSizeMultiplier‘ is missing.

 

some one what i’m doing wrong?

 

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #281882

Hi,

our team is aware of this. We will need to adjust CLI to support ‘orderSizeMultiplier’. It was introduced into the previous version

0

Viewing 1 replies (of 1 total)