Smartgambler
Pro-Punter

Go Back   OZmium Sports Betting and Horse Racing Forums > Public Forums > General Topics
User Name
Password
Register FAQ Search Today's Posts Mark all topics as read

To advertise on these
forums, e-mail us.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 25th March 2016, 04:13 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,456
Default Question On Betfair Prices

I am just looking for the price structure of betfair in relation to prices increments.

For example.
from 1.01 to 1.99 i think is 1 cent
from 2.00 to 3.00 is 2 cents
and so on
__________________
One Drive

"If the corporates are treating you poorly , just go elsewhere."
"If they need you , they will soon find out."
"If you need them , you will soon find out."
--moeee
_______________________________________________
Reply With Quote
  #2  
Old 25th March 2016, 04:15 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,456
Default

Never mind i found it

Odds Markets

Price
Increment
1.01 → 2 0.01
2→ 3 0.02
3 → 4 0.05
4 → 6 0.1
6 → 10 0.2
10 → 20 0.5
20 → 30 1
30 → 50 2
50 → 100 5
100 → 1000 10
__________________
One Drive

"If the corporates are treating you poorly , just go elsewhere."
"If they need you , they will soon find out."
"If you need them , you will soon find out."
--moeee
_______________________________________________
Reply With Quote
  #3  
Old 25th March 2016, 04:38 PM
UselessBettor UselessBettor is offline
Member
 
Join Date: Sep 2011
Posts: 1,474
Default

Shaun,

There is standard code out there which will check the next price increment. ie. when your at $3 and you ask for the next increment it gives back 3.05 but if your at $100 then it gives back $110.

Its on the bdp forum somewhere.
Reply With Quote
  #4  
Old 25th March 2016, 07:38 PM
Shaun Shaun is offline
Member
 
Join Date: Jan 1970
Location: Western Australia
Posts: 3,456
Default

Thanks, i will check it out.
__________________
One Drive

"If the corporates are treating you poorly , just go elsewhere."
"If they need you , they will soon find out."
"If you need them , you will soon find out."
--moeee
_______________________________________________
Reply With Quote
  #5  
Old 25th March 2016, 08:25 PM
UselessBettor UselessBettor is offline
Member
 
Join Date: Sep 2011
Posts: 1,474
Default

Java version:

public static double convertPrice(double price, int change)****
double priceNew = price;
if (price >= 1.01 && price <= 1.9999)****
priceNew = roundTwoDecimals(price+((0.005*change)+(change*0.0 00001)));
****
if(price >= 2.00 && price <= 2.9999)****
priceNew = (roundTwoDecimals((price/2)+((0.005*change)+(change*0.000001)))) * 2 ;
****
if (price >= 3.00 && price<= 3.9999)****
priceNew = (roundTwoDecimals((price/5)+((0.005*change)+(change*0.000001)))) * 5;
****

if (price >= 4.00 && price<= 5.9999)****
priceNew = (roundTwoDecimals((price/10)+((0.005*change)+(change*0.000001)))) * 10; //0.1
****
if (price >= 6.00 && price<= 9.9999)****
priceNew = (roundTwoDecimals((price/20)+((0.005*change)+(change*0.000001)))) * 20; //0.2
****
if (price >= 10.00 && price<= 20.000)****
priceNew = (roundTwoDecimals((price/50)+((0.005*change)+(change*0.000001)))) * 50; //0.5
****
if (price >= 20.00 && price<= 29.9999)****
priceNew = (roundTwoDecimals((price/100)+((0.005*change)+(change*0.000001))) ) * 100; //1
****
if (price >= 30.00 && price<= 49.9999)****
priceNew = (roundTwoDecimals((price/200)+((0.005*change)+(change*0.000001))) ) * 200; //2
****
if (price >= 50.00 && price<= 99.9999)****
priceNew = (roundTwoDecimals((price/500)+((0.005*change)+(change*0.000001))) ) * 500; //5
****
if (price >= 100.00 && price<= 1000)****
priceNew = (roundTwoDecimals((price/1000)+((0.005*change)+(change*0.000001)) )) * 1000; //10
****


return priceNew;
****
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump



All times are GMT +10. The time now is 09:57 AM.


Powered by: vBulletin Version 3.0.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2008 OZmium Pty. Ltd. All rights reserved . ACN 091184655