Author Topic: Where are my bets going?  (Read 22137 times)

Tags:
  • Moderator
  • Posts: 3605
*
Re: Where are my bets going?
« Reply #15 on: 14 Sep 2013, 08:58 »
Hi
I think you need to add the condition:
and market's status is idle
in the condition block for before the off.

You can also try to rework the trigger into 2 triggers, 1 for idle 1 for in-play with separate conditions and using the market status field.

the formula is saying:
if the market supports SP, use actual sp, otherwise use r_ticks(back_price,1)
actual_sp is zero until inplay, so it will be less than 5.5

if you log trigger expressions while testing it will show it
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: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #16 on: 14 Sep 2013, 16:22 »
But even if the qualifying part of the trigger is wrong, at worst it lodges at bet at r_ticks(back_price,1) only IF it is <$4.25 The BSP was 5.48?
Improvise Adapt Overcome

  • Moderator
  • Posts: 3605
*
Re: Where are my bets going?
« Reply #17 on: 14 Sep 2013, 17:33 »
Hi
IF(market_sp=1,actual_sp,r_ticks(back_price,1)) is less than cell_querymarket_id_P(sel_index*3+2)
IF(market_sp=1,actual_sp,r_ticks(back_price,1)) is less than 5.5

I have highlighted where there is a fault in both formulas
both formulas are saying:
If market supports SP, use actual_sp
the market most likely will support SP, so it will use actual_sp
r_ticks(back_price,1) will not be used

actual_sp is always zero until inplay
therefore zero will always be less than cell_querymarket_id_P(sel_index*3+2)
and zero will always be less than 5.5
until after the off

I’m a bit unclear on what you are wanting to do, but I would suggest you change the above 2 formulas to:
IF(market_inplay=1,actual_sp,r_ticks(back_price,1)) is less than cell_querymarket_id_P(sel_index*3+2)
IF(market_inplay=1,actual_sp,r_ticks(back_price,1)) is less than 5.5

please use test mode or small stakes until you are happy with it.
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: Where are my bets going?
« Reply #18 on: 14 Sep 2013, 20:23 »
hi londolozi
the problem with using formulas in the price box, is the bot will send to betfair the formula figure, NOW if the figure is not within betfairs computer calculations/limits, it will not be classed as a bet, so it will not be cancelled/lapsed or void, because it has not been accepted as a valid bet, so you will see the bot send out a bet, BUT there will be no bet accepted at betfair.
the best way to get around this would be to use 2 triggers.
1 for sp, with the conditions for sp betting
1 for (your set price), with the conditions for none sp betting
in each trigger have a additional condition
for the none sp betting trigger
and trigger sp bets(or whatever you want to name your sp trigger) number of runs is equal to 0
for the sp betting trigger
and trigger none sp bets(or whatever you want to name your none sp trigger) number of runs is equal to 0


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: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #19 on: 15 Sep 2013, 00:43 »
Firstly thank you both for your replies. Much appreciated. This issue has only surfaced since I started looking where my missed bets were going.

I will take your advice on board and reply soon.
Improvise Adapt Overcome

  • All members
  • Posts: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #20 on: 15 Sep 2013, 04:22 »
When betting BSP, and I use a rank condition, what rank is tested, the in_play market?

Eg.
actual_sp < $8
Selections rank = 3

Can I test the BSP market for rank and not the in_play market?
 
Improvise Adapt Overcome

  • All members
  • Posts: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #21 on: 15 Sep 2013, 04:28 »
hi londolozi
the problem with using formulas in the price box, is the bot will send to betfair the formula figure, NOW if the figure is not within betfairs computer calculations/limits, it will not be classed as a bet, so it will not be cancelled/lapsed or void, because it has not been accepted as a valid bet, so you will see the bot send out a bet, BUT there will be no bet accepted at betfair.

Would this still happen with a simple r_ticks(back_price,1) in the price box?

This was my original situation when bets were disappearing
Improvise Adapt Overcome

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Where are my bets going?
« Reply #22 on: 15 Sep 2013, 06:38 »
hi
that formula should be ok, if you have a trigger condition to make sure that the back price is between the price you want to bet at.
it would be better to have a new trigger to remember or set a variable with the 3rd favourite index number and use the index number for your selection in the betting triggers.

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: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #23 on: 16 Sep 2013, 08:20 »
Do I use Take SP or Keep for the BSP trigger?


Improvise Adapt Overcome

  • Moderator
  • Posts: 3605
*
Re: Where are my bets going?
« Reply #24 on: 16 Sep 2013, 14:13 »
Do I use Take SP or Keep for the BSP trigger?
Hi
If you are using a Back trigger action and you want to guarantee your back will be matched at SP at the off, use Take SP, with a condition:
Market's SP is supported
Status: Idle

If you are using a Back trigger action and you want to place a back order at actual_sp after the off:
Action: back
Price: actual_sp
Conditions:
and market's SP is supported
Status: In-Play

If you simply want to back at SP
Action: back at SP
with parameters
Status: Idle

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: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #25 on: 18 Sep 2013, 09:35 »
Still trying to get this trigger to work smoothly. Came home today without success.
 
It seems if I tick 'log trigger expressions' MFPro7 crashes?

Any idea why.
Improvise Adapt Overcome

  • Moderator
  • Posts: 3605
*
Re: Where are my bets going?
« Reply #26 on: 18 Sep 2013, 09:47 »
Hi
Log trigger expressions places a heavy load on system resource. I suggested you switch it on in order to determine what the problem was with these:
IF(market_sp=1,actual_sp,r_ticks(back_price,1)) is less than cell_querymarket_id_P(sel_index*3+2)
IF(market_sp=1,actual_sp,r_ticks(back_price,1)) is less than 5.5

If that is working now, switch off logging of trigger expressions, unless you need to check another problem formula.
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: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #27 on: 18 Sep 2013, 11:49 »
I have taken the advice here and converted all my Lay triggers into two triggers that operate pre and post 'The OFF' as described above.

All seems good but I can't log expressions even with the double trigger model.

Anyway, it went ok on the closing races today so hopefully it will be back on line tomorrow.
MFPro 6 is so much more stable and I still use that platform for UK races of an evening.
Improvise Adapt Overcome

  • Moderator
  • Posts: 3605
*
Re: Where are my bets going?
« Reply #28 on: 18 Sep 2013, 13:16 »
Hi
For testing and logging trigger expressions, I think if you run just one or two markets and slow down the refresh rate so the logging can keep up with the triggers.

I have a feeling because you are using an Excel link, this interferes with the logging of trigger expressions and vice versa. I seem to remember this has mentioned before.

The only workaround I can think of at the moment is:
to switch off your Excel link temporarily and substitute a value in the formula instead of the Excel value
turn on log trigger expressions
check the log to make sure the formula is working as it should
then turn off log trigger expressions
re-instate the Excel link and run as normal
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: 490
  • Gender: Male
Re: Where are my bets going?
« Reply #29 on: 29 Sep 2013, 04:35 »
I thought that if Lay/Back at BSP I am guaranteed to be matched by Betfair?

That doesn't appear to be correct.

My trigger lays at BSP but is still at the mercy of being matched.


Improvise Adapt Overcome

 

Please note, BetFair is seems to be currently OFFLINE