Author Topic: Imported picks bettings  (Read 42214 times)

  • All members
  • Posts: 19
  • Gender: Male
Imported picks bettings
« on: 11 Mar 2024, 23:33 »
Can you please make me a trigger that will place bets on imported picks following these rules.

When a pick is imported for horse racing

1st. Bet is placed immediately at current available odds. - Stake 5
2nd. Bet is placed if odds reach within 10% range of the imported odds. - Stake 3
3rd. Bet is placed if it reaches the odds that were imported. If it does not reach the odds before the race starts cancel the bet. - Stake 2

Thank you

  • All members
  • Posts: 19
  • Gender: Male
Re: Imported picks bettings
« Reply #1 on: 02 Apr 2024, 15:34 »
Hello. Any news on this ?

  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: Imported picks bettings
« Reply #2 on: 08 Apr 2024, 10:40 »
Hello!

Please see your triggers attached.

For instructions on how to import selections from a text file, please see this video:

https://www.youtube.com/watch?v=-zNhSl5ypn0

All selections, except the ones you will list in the file, must be greyed out after the import.

I am attaching an example of the import file. Inside the file, the horse's name must be enclosed in double quotes, followed by a Tab character and then the reference price you want to compare the selection's back price against.

Use the constants inside the file to adjust the trigger settings. The constant min_st2_odds is used for this condition:

Quote
2nd. Bet is placed if odds reach within 10% range of the imported odds. - Stake 3

Here the "10% range" translates into 100% - 10% = 90% as the value for min_st2_odds. For example, if the import price is 8.0, then the second stake will be placed when the selection's back price is >= 8.0*90%, that is >= 7.2.

Make sure you've tested the triggers in Test Mode before you switch to real money. I recommend testing triggers in Time Machine, as you can run your strategy by multiple markets in minutes, and the data is very cheap. 

If you'd like to make any changes to the original trigger description, please make a new trigger request.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 19
  • Gender: Male
Re: Imported picks bettings
« Reply #3 on: 08 Apr 2024, 12:52 »
Hello,

For some reason it only bets on 1 imported selection. All others are skipped.

Best regards

  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: Imported picks bettings
« Reply #4 on: 17 Apr 2024, 10:56 »
Hello!

Judging from the screenshot, only one selection's name was imported successfully.

Check your import file and make sure all the selections' names are spelled correctly, exactly one name per line, and all of them have a Tab character between the name and the imported price.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 19
  • Gender: Male
Re: Imported picks bettings
« Reply #5 on: 17 Apr 2024, 12:54 »
Hello,

As per image you can see that the 3 correct selections have been identified but for some reason trigger only places bets on 1 of them.

Regards

  • All members
  • Posts: 19
  • Gender: Male
Re: Imported picks bettings
« Reply #6 on: 17 Apr 2024, 14:19 »
Here's proof.

  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: Imported picks bettings
« Reply #7 on: 18 Apr 2024, 16:13 »
Please attach the log of the trigger called "stake 1" for any of the markets where you had more than one imported selection.

This video shows how to find trigger logs:

https://youtu.be/1iEeXNCwAFQ?t=163
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

Присоединяйтесь к официальному Telegram-каналу!

  • All members
  • Posts: 19
  • Gender: Male
Re: Imported picks bettings
« Reply #8 on: 19 Apr 2024, 12:45 »
Attached. This race should have 3 selections.

  • All members
  • Posts: 19
  • Gender: Male
Re: Imported picks bettings
« Reply #9 on: 02 May 2024, 10:37 »
?

  • Moderator
  • Posts: 3610
*
Re: Imported picks bettings
« Reply #10 on: 05 May 2024, 12:21 »
Hi
I've had a try testing this trigger and have not had any problems. The only way I can replicate the issue if if there is more than one tab character before the value to be imported. In this case the value of imported_1 is not greater than 0 and no bet is triggered for those imported selections with more than 1 tab character. Perhaps just check the formatting of your text file to make sure there is only 1 tab between selection name and the value.

You can also check the stats on the message after importing to see if the numbers match. As there is only one value per selection, the message should say the number of selections imported and that should match the number of values imported. If there is a difference then there is probably a fault in the text file.   
Please read the following disclaimer with regards to the information you may request and obtain on our forum. This specifically concerns trigger files and various instructions as to how to implement a strategy.

 

Please note, BetFair is seems to be currently OFFLINE