Author Topic: [TR] 2nd trigger needed  (Read 5194 times)

  • All members
  • Posts: 56
  • Gender: Male
[TR] 2nd trigger needed
« on: 24 Feb 2017, 13:08 »
Hi

To give you an idea of what 'm looking at, I want to find horses which have X amount on the back side and Y amount on the lay side, but there is two ticks between them.

If you look at the attachment, the horse Firestorm has a back price of 9.00 and a lay price of 9.60. There are two ticks between the prices. So I put in a back bet at 9.40 and a lay bet at 9.20. The amount of money in the 9.00 price and the 9.60 needs to be a variable that I can set. If one bet gets taken and the market goes the other way then I want to hedge by X number of ticks, another variable that I can set. If both bets are matched then the process starts again looking for another opportunity. All horse in all races can be selected up to a price of 7.00 and a minimum price of 1.80.

One minute before the off, all bets are closed off and the profit or loss shared amongst the horses.

Thanks

  • All members
  • Posts: 56
  • Gender: Male
Re: 2nd trigger needed
« Reply #1 on: 24 Feb 2017, 13:12 »
I am a life time user. Hope I can get this second trigger done. Thanks

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: 2nd trigger needed
« Reply #2 on: 24 Feb 2017, 14:24 »
hi
when you say hedge do you want a green up or just profit on the selection.
also is the tick difference to be 2 ticks or more , or just 2 ticks.

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: 2nd trigger needed
« Reply #3 on: 24 Feb 2017, 14:39 »
hi
do you want to use back amount is greater than lay amount.
or lay amount is greater than back amount.

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 56
  • Gender: Male
Re: 2nd trigger needed
« Reply #4 on: 25 Feb 2017, 11:59 »
Hi

I want to green up, and only 2 ticks. no more no less.

Thanks

  • All members
  • Posts: 56
  • Gender: Male
Re: 2nd trigger needed
« Reply #5 on: 25 Feb 2017, 12:02 »
Hi

It doesn't matter what the lay amount or back amount difference.

I want to be able to set a value for both. e.g. 100 or more in the back amount and the lay amount. Then I will put my 2 pound bets on the ticks that are empty

so 9.00 is 100 quid or more, 9.20 is blank, 9.40 is blank and 9.60 has 100 quid or more.

But if I want to change the 100 quid to 500 I want to be able to do that.

Thanks

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: 2nd trigger needed
« Reply #6 on: 25 Feb 2017, 18:24 »
hi
here is your trigger,in the constants you can set.
Bet amount
Back side minimum amount
Lay side minimum amount
Minimum minutes before the start time to place bets
Maximum minutes before the start time to place bets
Maximum back price
Hedge ticks

please use test mode until you are happy with your settings

mcbee

download the trigger below
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 56
  • Gender: Male
Re: 2nd trigger needed
« Reply #7 on: 26 Feb 2017, 13:47 »
Hi McBee

Couple of issues. Trigger seems to back and lay at same price. Also had a situation where there was one lay bet and 2 back bets. I relaxed the settings so that I could test the system. Lastly it says bets will be kept in play. all bets must be closed up 10 seconds before the off

See attached screen shots

  • All members
  • Posts: 56
  • Gender: Male
Re: 2nd trigger needed
« Reply #8 on: 26 Feb 2017, 13:49 »
another file

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: 2nd trigger needed
« Reply #9 on: 27 Feb 2017, 14:03 »
hi
please set your idle refresh rate to 0.20.
i have added a condition to make sure that only one set of bets are placed at at time.
i have also changed the hedge conditions to use the unmatched prices , i had set them to the matched prices.

please use test mode

mcbee

download the trigger below
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 56
  • Gender: Male
Re: 2nd trigger needed
« Reply #10 on: 28 Feb 2017, 10:29 »
Hi Mcbee. We getting there. bets now placed ok.
Problem. Bets are not being closed before the off. See attachment. All unmatched bets must be matched and greened up before the off.
Also, Landscape was only partially matched.
Thanks

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: [TR] 2nd trigger needed
« Reply #11 on: 28 Feb 2017, 12:48 »
hi
doc5 is missing 10 minutes of info for plump.
could you please include the info.

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 56
  • Gender: Male
Re: [TR] 2nd trigger needed
« Reply #12 on: 01 Mar 2017, 11:55 »
Here are all the entries.

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: [TR] 2nd trigger needed
« Reply #13 on: 01 Mar 2017, 12:19 »
hi
sorry but doc5 finished on 18:30
doc6 started 17:48 ended 18:05
doc7 started 19:14 ended 19:30
i need to see 18:30 to 18:35

mcbee
Please read the following  disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

  • All members
  • Posts: 56
  • Gender: Male
Re: [TR] 2nd trigger needed
« Reply #14 on: 01 Mar 2017, 12:50 »
Here you go.

 

Please note, BetFair is seems to be currently OFFLINE