Author Topic: Trigger that saves betting info  (Read 13305 times)

  • All members
  • Posts: 21
  • Gender: Male
Trigger that saves betting info
« on: 20 Sep 2023, 13:31 »
Hello,

Is it possible to make a trigger that saves following horse racing data in csv

Country (where the race took place), mMarket, Date and time, Placed bets with matched odds, Profit/Loss per selection

Thank you

  • Administrator
  • Posts: 8819
  • Gender: Female
*
Re: Trigger that saves betting info
« Reply #1 on: 25 Sep 2023, 10:31 »
Hello!

It is not possible to record each selection's settled P/L individually, however, the rest is possible and you can also write down the place that the selection took (0 if loser or anything > 0 if took a winning place), and then you can work it out from there.

See the screenshot of an example of the dataset you can generate, as imported into Excel, attached.

Also attaching the trigger file itself. You need to replace the path to the file where the data will be recorded. Currently it is "c:\data.csv". Make sure you have sufficient permissions to write to the file.

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.

Looking to model the profit/loss from your strategy based on thousands of historical markets? Check BFStats for ready-to-use or bespoke simulation reports. You can prove or disprove your strategy without the risk and hassle of placing real bets.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

 

Please note, BetFair is seems to be currently OFFLINE