LockCL3 Arbitrage Settings

From SharpTrader Arbitrage Software Wiki: A Detailed Overview of High-Speed Trading Technology
Jump to navigation Jump to search

In this tab general strategy parameters are configured:


Label – allows to assign a unique label to strategy. By default it is generated automatically.

Cl2222.png

Fast quotes session – allows to select one of the fast feed session provided by our company, BJF Feed (London), BJF Feed (New York), BJF Feed (Tokyo), or any other of your connections from session list to be used as a source of fast quotes.

Slow session 1/2 – allows to select slow sessions (accounts) for arbitrage trading.

Offset recalculation group

Sometimes there is a constant shift in prices between liquidities from different sources. It is rarely happens on currencies, but usual thing if you trade indexes or spot vs futures. Offset calculation allows to consider this shift in calculation of arbitrage differences automatically.

Period – time between recalculations.

Interval – interval used to collect the ticks used for recalculation (from both fast and slow broker)

Min ticks – minimum number of ticks on any (fast or slow) required for calculation.

Show results in log – allows to show or do not show offset calculation results in strategy log.

Error control

Max locking attempts X – maximum number of attempts to open a lock position. If it fails to open it after all the attempts, remaining position will be closed and trading disabled.

Open/close parameters group

Open with limit – allows to send FOK or IOC limit orders for opening trade (for FIX API only).

Close with limit – allows to send FOK or IOC limit orders for closing trades (for FIX API only).

Allow arbitrage – allows to search arbitrage signals on this side.

Allow open – allows opening orders on this side.

Close with SL – when arbitrage signal detected, instead of closing position by market price it will place stop loss at a distance equal to the Slippage value specified in the Instruments and orders tab.

Max delay – if no updates during max delay period arbitrage signals are ignored till the next update. Used to prevent opening trades triggered by outdated quotes.

T/P delay – allows to set delay for applying initial T/P. Expressed in milliseconds

Mapping group

Suffix – if your broker uses symbols with suffix, like EURUSD.ecn, you need to put .ecn to suffix field to apply it for all instruments automatically.

Mapping field – used to set mapping for specific symbols (CFDs, commodities). Mapping for each instrument should be placed in a separate line in the following format: SymbolNameOnFast=SymbolNameOnSlow. For example: GDAXI=GER30.

Trading options group

Time to start trade – time to start searching for arbitrage signals. VPS local system time is used for this option.

Time to stop trade – time to start searching for arbitrage signals. VPS local system time is used for this option.

Trade pause – pause between opening arbitrage orders on a certain instrument.

Min. order lifetime – allows to set minimal trade duration.

Hard S/L factor – allows to set visible to broker SL (by default it is hidden). Visible SL is calculated as SL value in Instruments and orders table*Hard S/L factor value. For instance, if S/L is set to 30 points and Hard S/L factor is set to 20 points, visible stop will be set to 30*20=600 points.

Disable trading after disconnect – disables strategy if slow session gets disconnected.

Lock management group

Automatically close all locks – allows to automatically close locks on selected day and time. VPS local system time is used for these options.

Pauses:

Between closing locks – pause between closing locks on different symbols.

Between opening locks – pause between opening locks on different symbols.

Between arbitrage orders – pause between opening position in initial lock and between sending arbitrage orders on a certain symbol.

Random lots:

Enabled – activates/deactivates order randomizer

From/To – allows to set lot range

Step – minimal change step for each iteration.

Reopen Lock After X seconds – allows to open initial lock or reopen lock after a certain time automatically.

Random correction from X to X seconds – allows to add random correction from a certain interval to automatic closing and reopening locks.

Check news filter – enables news filter for the strategy.

Trade on news – enables trading during news period only. The rest of the time trading will be disabled.

Don't trade on news – disables trading during news period only.

Alerts: Send Alert if execution time exceeds X ms – allows to receive Telegram alerts if execution time exceeds certain value.