Author Topic: Deleting markets doesn't work... there has to be a bug?  (Read 1676 times)

Tags:
  • All members
  • Posts: 149
Hi,
Frustration is at an all time hi again and about to pay for an annual subscription but wont if I cant get this working.

If there are 5 markets loaded and that have a market_index value from 1-5, why is it that a simple simple trigger to delete markets with a market_index equal or less than 5(market_num) deletes only the last market, number 5, and not all the rest, 1-4?

It doesn't matter if they're settled or not, it only deletes the last market!

This cannot be right, has to be a bug.

Any help?
Harry Davis

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: Deleting markets doesn't work... there has to be a bug?
« Reply #1 on: 31 Aug 2015, 15:34 »
To be honest it should delete all markets ;)
As after deleting the market_index is changed.
So sixth market becomes 5th and is deleted, etc.
I think you should "mark" the markets with market_index less than 5 by some trigger variable (making sure the marking trigger is executed on all markets) and then delete marked markets...
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 149
Re: Deleting markets doesn't work... there has to be a bug?
« Reply #2 on: 31 Aug 2015, 15:43 »
OK... found another way to get round this bug.
Thanks
Harry

 

Please note, BetFair is seems to be currently OFFLINE