Author Topic: How to bet on Correct score in the current result?  (Read 6597 times)

Tags:
  • All members
  • Posts: 31
Good afternoon,

I'm trying to develop a bot that needs to acknowledge the price of the current score on the Correct score market.

I'm tried using the following expression without success:

market_score1 "-" market_score2

Can somebody help me fixing this issue?

Thanks in advance.

Best regards,

João Matos

  • Moderator
  • Posts: 3605
*
Re: How to bet on Correct score in the current result?
« Reply #1 on: 19 Jul 2015, 13:54 »
Hi
Try separate condition blocks for each index:

OR
   and selections trigger expression market_score1 is equal to 0
   and selections trigger expression market_score2 is equal to 0
   and selections index is equal to 1
   and rest of your conditions for 0 - 0.....
OR
   and selections trigger expression market_score1 is equal to 0
   and selections trigger expression market_score2 is equal to 1
   and selections index is equal to 2
   and rest of your conditions for 0 - 1.....
OR
   etc...
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: 31
Re: How to bet on Correct score in the current result?
« Reply #2 on: 19 Jul 2015, 14:02 »
Thank you very much MarkV.

I'll give you some feedback as soon as possible.

Best regards,

João Matos

  • All members
  • Posts: 31
Re: How to bet on Correct score in the current result?
« Reply #3 on: 26 Jul 2015, 12:57 »
Good afternoon MarkV,

Just to inform you that your suggestion worked just fine.. :)

Now i have two more questions, as follows:


- is it possible to know the delay of placing a bet? for exemple 6 or 8 seconds.

- How can i develop a trigger that will place a lay/back bet in a market if another market has a highr amount of back/lay bets.

For example:

under 2.5 goals 6€ back bets
under 3.5 goals 4€ lay bets

In this case the under 2.5 has 2€ plus back bets that the under 3.5 has in lay bets.
The trigger has to put a ly bet in the under 3.5 market.
Is it possible?

Thanks in advance.

Best regards,

João Matos

  • Moderator
  • Posts: 3605
*
Re: How to bet on Correct score in the current result?
« Reply #4 on: 27 Jul 2015, 20:17 »
Now i have two more questions, as follows:


- is it possible to know the delay of placing a bet? for exemple 6 or 8 seconds.

Hi
Please have a look at this topic for ideas on setting a timer:

http://community.welldonesoft.com/troubleshooting-8/mfp-missed-market-suspension-with-5-sec-refresh/

also attached is an example trigger for setting a delay. There are 2 blocks in the file, only one should be active. The triggers wait and then do something else, or repeat the same trigger after a delay.  

- How can i develop a trigger that will place a lay/back bet in a market if another market has a highr amount of back/lay bets.

For example:

under 2.5 goals 6€ back bets
under 3.5 goals 4€ lay bets

In this case the under 2.5 has 2€ plus back bets that the under 3.5 has in lay bets.
The trigger has to put a ly bet in the under 3.5 market.
Is it possible?

You can use the cross-market prefixes. I was not sure if you meant your own bets in your example, but you can use other selection variables if needed.

and selections trigger expression football9_s_1_lay_matched is less than football8_s_1_back_matched


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: 31
Re: How to bet on Correct score in the current result?
« Reply #5 on: 27 Jul 2015, 21:02 »
Good afternoon MarkV,

I meant my own bet's. I have 6€ in back bets on under 2.5 goals and 4€ in lay bets on under 3.5 goals.

I'll check your trigger and try to understand what it will do.

I'll give you some feedback asap.

Thank you.

Best regards,

João Matos

  • Moderator
  • Posts: 3605
*
Re: How to bet on Correct score in the current result?
« Reply #6 on: 28 Jul 2015, 11:39 »
Hi
Yes, for your own bets this condition should do the job:
and selections trigger expression football9_s_1_lay_matched is less than football8_s_1_back_matched

I think I misunderstood your question about delay. You want to know the in-running delay for bet placement. I had a look in Betfair Rules & Regs but all I could find is there is a delay for in-running between 1 and 9 seconds. I believe for football markets it is 8 seconds, but I don't know where this is documented. 
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: 31
Re: How to bet on Correct score in the current result?
« Reply #7 on: 28 Jul 2015, 13:43 »
Good afternoon MarkV,

Thank you very much for your help.

That's exactly what i want. I thought that marketfeeder could have a expression that could inform me the time that a bet takes to be placed.

I'll check if the trigger works and after it i'll inform you.

Thank's again.

Best regards,

João Matos

  • All members
  • Posts: 31
Re: How to bet on Correct score in the current result?
« Reply #8 on: 28 Jul 2015, 14:04 »
Good afternoon MarkV,

I'm trying to develop a trigger that can make a comparison between correct score and the under's, of a football game.

For it i developed this triggers, but in my opinion is already to heavy (over than 100Kb) can it be more lean?


Thanks in advance.

Best regards,

João Matos

  • Moderator
  • Posts: 3605
*
Re: How to bet on Correct score in the current result?
« Reply #9 on: 28 Jul 2015, 18:11 »
Hi
Yes I am sure you can slim it down. If you want a professional service please use the trigger development service where you have a free quota of trigger requests as a subscriber: http://marketfeederpro.com/learn/triggers/trigger-development-service/

Some suggestions from what I have seen:
  • In the repeating triggers put the minutes since the off as the first condition and then the score condition. The program will then check only the first condition until the correct minutes since the off
  • You can use the market prefixes to make comparisons between markets. For example, to compare Under 0.5 back price to CS 0 - 0 lay_price -1 tick: and selections trigger expression r_ticks(football2_s_1_lay_price, -1) is not equal to football6_s_1_back_price

I hope this helps.
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: 31
Re: How to bet on Correct score in the current result?
« Reply #10 on: 28 Jul 2015, 21:03 »
Thank you very much MarkV for all your help.

I'm trying to understand how can i develop some triggers in order to acj«knowledge the possibilities of marketfeeder.

Best regards,


João Matos

  • All members
  • Posts: 31
Re: How to bet on Correct score in the current result?
« Reply #11 on: 30 Jul 2015, 14:06 »
Good afternoon MarkV,

I'm trying to make a trigger that can adapt in various scenarios, so i develop the following formula to reach to an amount that the trigger has to bet:

if(and(market_score1=0,market_score2=0);(football6_s_1_back_matched-football2_s_1_lay_matched);if(and(market_score1=0,market_score2=1);(football7_s_1_back_matched-football2_s_2_lay_matched);if(and(market_score1=0,market_score2=2);(football8_s_1_back_matched-football2_s_3_lay_matched);if(and(market_score1=0,market_score2=3);(football9_s_1_back_matched-football2_s_4_lay_matched);if(and(market_score1=0,market_score2=1);(football7_s_1_back_matched-football2_s_5_lay_matched);if(and(market_score1=1,market_score2=1);(football8_s_1_back_matched-football2_s_6_lay_matched);if(and(market_score1=1,market_score2=2);(football9_s_1_back_matched-football2_s_7_lay_matched);if(and(market_score1=1,market_score2=3);(football10_s_1_back_matched-football2_s_8_lay_matched);if(and(market_score1=2,market_score2=0);(football8_s_1_back_matched-football2_s_9_lay_matched);if(and(market_score1=2,market_score2=1);(football9_s_1_back_matched-football2_s_10_lay_matched);if(and(market_score1=2,market_score2=2);(football10_s_1_back_matched-football2_s_11_lay_matched);if(and(market_score1=2,market_score2=3);(football11_s_1_back_matched-football2_s_12_lay_matched);if(and(market_score1=3,market_score2=0);(football9_s_1_back_matched-football2_s_13_lay_matched);if(and(market_score1=3,market_score2=1);(football10_s_1_back_matched-football2_s_14_lay_matched);if(and(market_score1=3,market_score2=2);(football11_s_1_back_matched-football2_s_15_lay_matched);if(and(market_score1=3,market_score2=03);(football12_s_1_back_matched-football2_s_16_lay_matched);0))))))))))))))))

Is this formula willing to work with all this characters? Or it has/can be more lean?

Thanks in advance.

Best regards,

João Matos

  • All members
  • Posts: 905
Re: How to bet on Correct score in the current result?
« Reply #12 on: 31 Jul 2015, 11:55 »
WOW, if you can write that, can you not check it yourself?  I doubt anyone on the open forum will check that for free.  I suggest you try the Make Me a Trigger service and list your specific requirements

  • Moderator
  • Posts: 3605
*
Re: How to bet on Correct score in the current result?
« Reply #13 on: 31 Jul 2015, 16:41 »
Hi
I've seen longer expressions, so if your syntax is OK it should be alright.

There is a setting you can switch on that will log trigger expressions and formulae and show you exactly if and where there is a problem. Check the trigger log for the trigger that includes the formula.
Settings > Betting Options > Triggers > Log trigger expressions
It adds a lot of overhead to the logging system so use it just to check your formula on one to two games and then switch it off when you are happy it is all ok.

It looks like you are going to run the whole formula for all your scorelines. If you find it's a problem, have a look at this example trigger which has separate triggers for each scoreline. This method works well, and is easier to test.
http://marketfeederpro.com/learn/triggers/over-under-martingale/

I would say using trigger conditions to set a user variable for your amount to bet might be better than a long formula. Maybe try it out and see what works best?
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: 31
Re: How to bet on Correct score in the current result?
« Reply #14 on: 02 Aug 2015, 12:31 »
Good morning MarkV,

Thank you very much for your help.

Best regards,

João Matos

 

Please note, BetFair is seems to be currently OFFLINE