Author Topic: Round a price  (Read 6182 times)

Tags:
  • All members
  • Posts: 3
Round a price
« on: 25 Feb 2011, 15:15 »
Hi at all,
I'm just register 4 a month to x-feeder, but now I'm looking for a function to round the start betting price.

Thanks on advice.

  • All members
  • Posts: 905
Re: Round a price
« Reply #1 on: 25 Feb 2011, 21:10 »
Sorry, I don't understand your request.
Please try to rephrase it.

If you are using a translator then make your request in short sentences.

  • All members
  • Posts: 3
Re: Round a price
« Reply #2 on: 25 Feb 2011, 21:29 »
Sorry, I don't understand your request.
Please try to rephrase it.

4 example:
if I want place 2 decimal to the starting bet as:

total_funds / 5 = xx.yyyyyy

I want round the yyyyyy to yy

tnx

  • All members
  • Posts: 905
Re: Round a price
« Reply #3 on: 25 Feb 2011, 22:24 »
It won't make any difference.  The default back or lay only have 2 decimal places.  So there is no need to worry about it.

  • All members
  • Posts: 3
Re: Round a price
« Reply #4 on: 26 Feb 2011, 20:33 »
Thanks for the reply.

 ;D

  • All members
  • Posts: 36
Re: Round a price
« Reply #5 on: 27 Feb 2011, 12:15 »
A related question is whether MF Pro will always submit a proper price regardless of the result of an expression. I seem to recall that it does but cannot find it in the Help file.

For example, say the price is calculated by the trigger as follows:

(back_price+lay_price)/2

and the prices are 2.98 and 3.25 respectively. The result is 3.115. Will MF Pro place the bet at the next closest price, i.e. at 3.10?

  • All members
  • Posts: 905
Re: Round a price
« Reply #6 on: 27 Feb 2011, 19:35 »
I presume the software must know the tick values, so could round up or down.  Also the BF matching engine will automatically deliver the best price available for any bet.

  • All members
  • Posts: 36
Re: Round a price
« Reply #7 on: 27 Feb 2011, 22:48 »
Yes and no. MF Pro does of course have the tick values built in. However, it will not submit a bet at any different price (try it manually). I don't believe Betfair would behave any differently.

However, I tried the calculation above and MF Pro handles it perfectly. It does seem to round to the nearest tick value.

  • Tim Vetrov
  • Administrator
  • Posts: 4870
  • Gender: Male
*
Re: Round a price
« Reply #8 on: 01 Mar 2011, 12:04 »
We are in the X-Feeder topic ;-)
Proud to be 🇺🇦
I'm happy to help Monday - Friday, 08:00-18:00 GMT
Буду рад помочь с понедельника по пятницу, 08:00-18:00 GMT

  • All members
  • Posts: 36
Re: Round a price
« Reply #9 on: 01 Mar 2011, 12:29 »
Yes, you're right. Are they any different when it comes to the price ladder?

 

Please note, BetFair is seems to be currently OFFLINE