SQ4 - Real tick spread used for bar precision testing

Hi Mark,



At the moment when building and testing strategies, there are two spread choices.


  • Fixed spread
  • Real tick spread when testing using real tick precision

Can I please suggest a 3rd option, which is when the bars are created for the test precision (e.g. selected timeframe or 1 minute bar precision), that the average spread for each period is used.  This is only available when the source of the data is tick.


So for example, if 1 minute tick simulation precision is selected for the test, and the source is tick data, then for every 1 minute bar created internally, the average spread is used based on the 1 minute of tick data.


This means spreads will be more realistic at this precision.   An additional spread offset and multiplier would also be useful to adjust the tick spread to more closely match the broker spread.


So, to summarise, split the tick precision from the applied spread and have:


Fixed
Real (from Tick Source)


as the spread options. If the user selects "Real (from Tick Source)" have an extra "Spread Addition" and "Spread Multiplier" setting.


So, in this instance, the user can select "1 Minute data Tick Simulation" and also select "Real Spread from Tick Data" and then enter  "1.5" for "Spread Multiplier" and 0.5 for "Spread Addition", which would for every 1 minute bar created internally, calculate the average tick spread during that 1 minute bar,  multiply this spread by 1.5 and add 0.5 pips to the spread.


Hope this makes sense.


Thanks,


Mike


PS Same would apply for the 1 second data Tick Simulation which I'm hoping you will add to the test precision too.

Attachments
No attachments
  • Votes +1
  • Project StrategyQuant X
  • Type Feature
  • Status Archived
  • Priority Normal
  • Assignee Mark Fric
  • Milestone Archived (To be done later)

History

m
#1

mikeyc

16.05.2018 23:34

Task created

MF
#2

Mark Fric

17.05.2018 08:26

Assignee was changed

Milestone changed from None to Release Candidate 3

good idea, I'll think about it - if it will be possible to add this kind of precision without big problems.
MF
#3

Mark Fric

30.05.2018 08:23

Milestone changed from Release Candidate 3 to Release Candidate 4

MF
#4

Mark Fric

12.06.2018 14:34

Milestone changed from Release Candidate 4 to To be done later

m
#5

mikeyc

06.10.2018 11:49
Voted for this task.
MF
#6

Mark Fric

16.02.2020 13:52

Status changed from New to Archived


Votes: +1

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please