Author Topic: [TR] Make me a trigger please  (Read 254 times)

  • All members
  • Posts: 524
  • Karma: +17/-5
  • Gender: Male
[TR] Make me a trigger please
« on: Thu, 21 December, 2017, 22:32 »
The trigger is a arbitrage concept.
I place a back bet with a specific stake of $20.4 (bm_backa)

1. Lay at 'x' ticks lower {eg r_ticks(bm_backp,-20)} than bm_backp, identify selection by bm_backa = 20.4
2. Wait 3 refreshes
3. If unmatched Cancel Lay, go to '5.'
4. If matched, stop
5. Go back to '1.' except now 'x' = 'x' -1 {if x = -3 therefore plus 3 or 3 ticks > bm_backp} leave Lay bet in market as 'Keep'

where x = (time until event_start/5 refreshes)
once per market
once per selection
idle rate = 2 secs
Market = is idle or Suspended

Thank you 
Improvise Adapt Overcome

  • Administrator
  • Posts: 5719
  • Karma: +201/-2
  • Gender: Female
*
Re: Make me a trigger please
« Reply #1 on: Tue, 02 January, 2018, 20:59 »
Hello!

Quote
identify selection by bm_backa = 20.4

What if only a part of your bet is matched, so bm_backa will be different? Should the laying trigger wait until the entire bet is matched?
Always try your triggers in Test Mode before switching to real money!

You can get a faster response from us if you contact us via FaceBook Messenger.

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • All members
  • Posts: 524
  • Karma: +17/-5
  • Gender: Male
Re: Make me a trigger please
« Reply #2 on: Thu, 04 January, 2018, 08:54 »
Yes, leave it yo wait for entire amount to match.
I want to use the total amount as the identfier
Improvise Adapt Overcome

  • Administrator
  • Posts: 5719
  • Karma: +201/-2
  • Gender: Female
*
Re: Make me a trigger please
« Reply #3 on: Mon, 08 January, 2018, 14:20 »
Hello!

Please see your triggers attached.

Use the constants to set the size of the back bet, the number of ticks and the waiting time.

You did not specify the size of the lay bet, so I assumed you need to green up/distribute loss.

There is one comment to your trigger conditions, correct me if I am wrong:

Quote
5. Go back to '1.' except now 'x' = 'x' -1 {if x = -3 therefore plus 3 or 3 ticks > bm_backp} leave Lay bet in market as 'Keep'

Since x =  (time until event_start/5 refreshes), it will be getting lesser and lesser as the time to the start approaches. Are you sure you want to accelerate its decrease by deducting another 1 point from this number? I did not implement this condition so far, try the attached triggers and let me know if you want to pursue the original condition.

Make sure you have tested the triggers in Test Mode.

Always try your triggers in Test Mode before switching to real money!

You can get a faster response from us if you contact us via FaceBook Messenger.

Присоединяйтесь к нашей официальной группе ВКонтакте!

  • All members
  • Posts: 524
  • Karma: +17/-5
  • Gender: Male
Re: [TR] Make me a trigger please
« Reply #4 on: Mon, 08 January, 2018, 20:41 »
Quote
Are you sure you want to accelerate its decrease by deducting another 1 point from this number?
Yes, that is correct.
Thus, if there is 1 minute to go until event_start the frequency of offers will be quick. (More volatility closer to the 'off', if the horse is being steamed it's price will collapse quickly, in my opinion)
Compared to say 5 minutes to go, its price may trend down but there will be opposing fluctuations.

Thank you Oxa. I will report back soon.
Improvise Adapt Overcome