|
|
To advertise on these forums, e-mail us. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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 _______________________________________________ |
#2
|
|||
|
|||
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 _______________________________________________ |
#3
|
|||
|
|||
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. |
#4
|
|||
|
|||
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 _______________________________________________ |
#5
|
|||
|
|||
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; **** |
Thread Tools | Search this Thread |
Display Modes | |
|
|