Trifecta and F4 betting - Racing Talk - Racehorse TALK harm-plan harm-plan

Racehorse TALK



Trifecta and F4 betting - Racing Talk - Racehorse TALK

Author Topic: Trifecta and F4 betting  (Read 1269 times)

0 Members and 1 Guest are viewing this topic.

Offline wily ole dog

  • Group 1
  • User 218
  • Posts: 27382
« 2020-Jun-23, 08:00 AM Reply #25 »
My mistake mate, donít know what Iím doing  :lol:

Offline bascoe

  • Open
  • User 2568
  • Posts: 146
« 2020-Jun-24, 03:00 PM Reply #26 »
Stiffarm,

Thanks for your response. 

I think though that making more than 1000 Posts to TAB, and processing the responses (in horse races with more than 11 runners) would not be very efficient.

Perhaps one day the non- premium ( or in my case no longer premium) may be able to access a single call Tri and FF approximates call.

btw if any one is interested, here is the curl for a typical request:

Code: [Select]
curl --request POST \
  --url https://api.beta.tab.com.au/v1/pricing-service/enquiry/ \
   --data '{"uuid":"e7aa9562-1397-42a8-89ef-783fde876986","clientVersion":"1","clientDetails":{"channel":"TABCOMAU","jurisdiction":"NSW"},"bets":[{"stake":"$0.00","type":"PARIMUTUEL","meetingCode":"S","scheduledType":"R","raceNumber":4,"meetingDate":"2020-06-24","betType":"TRIFECTA","flexi":true,"legs":[{"positions":[{"selections":[1]},{"selections":[4]},{"selections":[5]}]}],"enableMultiplier":false,"source":"racing.race-nav.race.bet-type"}]}'

Indeed no account is required.  May be worth investigating if the pool sizes were sufficient so you could enquire well prior to race time.

bascoe
« Last Edit: 2020-Jun-24, 04:11 PM by bascoe »

Online jfc

  • Group 1
  • User 723
  • Posts: 7262
« 2020-Jun-24, 06:36 PM Reply #27 »
I'm not going to pretend I know even a smidgeon about the syntax, but it wouldn't surprise me if it allows more than one set of selections in the request.

"bets" rather than "bet" is a tell.


Offline bascoe

  • Open
  • User 2568
  • Posts: 146
« 2020-Jun-25, 12:06 AM Reply #28 »
jfc

Nice open thinking, and worth a shot -

I created an array of bets but it returns a less than useful response, a min, max and avg dividend

Code: [Select]
"bets": [
{
"type": "PARIMUTUEL",
"source": "racing.race-nav.race.bet-type",
"status": "ok",
"stake": "$0.00",
"flexi": false,
"approximates": {
"max": 182,
"min": 0,
"average": 72.5,
"updatedAt": "2020-06-24T12:45:00Z"
},
"scheduledType": "G",
"meetingCode": "W",
"meetingDate": "2020-06-24",
"raceNumber": 12,
"betType": "TRIFECTA",
"legs": [
{
"positions": [
{
"selections": [
1,
6
]
},
{
"selections": [
2,
7
]
},
{
"selections": [
3,
8

Online jfc

  • Group 1
  • User 723
  • Posts: 7262
« 2020-Jun-25, 11:19 AM Reply #29 »
Again stressing my unfamiliarity with this stuff:

You seem to be asking for divs for the single bet:

1,6/2,7/3,8

Can't you try to ask for 2 bets:

1/2/3
6/7/8

Offline stiffarm

  • Class2
  • User 2721
  • Posts: 27
« 2020-Jun-25, 03:55 PM Reply #30 »
I get an invalid request error when I try to ask for multiple bets

Offline fours

  • Group 1
  • User 704
  • Posts: 6716
« 2020-Jun-25, 04:05 PM Reply #31 »
Guys,

The z man probably going to automatically get on after you and change the odds again anyway!

Fours


BACK TO ALL TOPICS
Sitemap