Author Topic: sum of market_tradeouts from more than one market  (Read 1465 times)

  • All members
  • Posts: 1
I need free trigger for the following Soccer Games:
I have placed all back bets on Match Odds the Draw on three different markets.
for example: I backed Draw on Match 1. Arsenal v Liverpool, Match 2. Manchester v Fulham, Match 3. Chelsea v Tottenham
I want a single variable that will calculate the sum of all these markets market_tradeout.
Ex. (sum of market_tradeouts for Match 1 + Match 2 + Match 3)

kindly help

Veekash

  • Administrator
  • Posts: 8826
  • Gender: Female
*
Re: sum of market_tradeouts from more than one market
« Reply #1 on: 22 Jul 2023, 22:30 »
Hello!

Please see your triggers attached.

No constants are needed for these triggers. Just add these triggers (you can copy and paste the entire block) to whatever other triggers you are currently using.

After you start refreshing the markets and placing bets, you can refer to the total sum of all market_tradeout in the total_tradeout variable.

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-каналу!

 

Please note, BetFair is seems to be currently OFFLINE