Hi guys, i am try to make bets on betfair exchange with help of my programm and API but almost all my bets are unmatched.
Bet size always 4$, size of the price(coefficient/selection) always 300$+, time between i got coefficient size and bet ~5-10 milliseconds.
PlaceBet reuqest that i'm using:
May be something wrong with my bet request parameters?
To get information about market i am using this request
Bet size always 4$, size of the price(coefficient/selection) always 300$+, time between i got coefficient size and bet ~5-10 milliseconds.
PlaceBet reuqest that i'm using:
Code:
{\"jsonrpc\": \"2.0\",\"method\": \"SportsAPING/v1.0/placeOrders\","
+ "\"params\": {"
+ "\"marketId\": " + marketId + ", "
+ "\"instructions\": [ {"
+ "\"selectionId\": \"" + selectionId + "\","
+ "\"handicap\": \"0\","
+ "\"side\": \"" + side + "\", "
+ "\"orderType\": \"LIMIT\", "
+ "\"limitOrder\": {"
+ "\"size\": \"" + size + "\","
+ "\"price\": \"" + price + "\","
+ "\"persistenceType\": \"PERSIST\"} "
+ "}]},\"id\": 1}
To get information about market i am using this request
Code:
{\"jsonrpc\": \"2.0\", \"method\": \"SportsAPING/v1.0/listMarketBook\",\"params\": {\"marketIds\":[" + event.get_marketId() + "],\"priceProjection\":{\"priceData\":[\"EX_BEST_OFFERS\"],\"virtualise\":\"true\"}}, \"id\": 1}


Comment