Author Topic: Trigger Help. Book value of matched bets.  (Read 3008 times)

Tags:
  • All members
  • Posts: 3
Trigger Help. Book value of matched bets.
« on: 04 Mar 2013, 11:10 »
Whats the easiest way to get the book value of all the matched bets in the market?

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Trigger Help. Book value of matched bets.
« Reply #1 on: 04 Mar 2013, 15:41 »
hi
b_book
 floating point
 Book percentage formed by the back prices of all selections in the market, for example 89.5, 112.34.
 
l_book
 floating point
 Book percentage formed by the lay prices of all selections in the market, for example 89.5, 112.34.
 
market_volume
 floating point
 Total matched amount in the market given in your currency
 

mcbee
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.

  • All members
  • Posts: 84
Re: Trigger Help. Book value of matched bets.
« Reply #2 on: 07 Mar 2013, 09:59 »
To get the book value of your matched BACK bets you need the match_b_book variable & for matched LAY bets you need the match_l_book variable.
See attached trigger.
If you lose...don't lose the lesson!

  • All members
  • Posts: 3
Re: Trigger Help. Book value of matched bets.
« Reply #3 on: 07 Mar 2013, 10:15 »
Cheers guys for your response. But i have noticed using match_b_book will still change when the back_price changes in the market. But I've figured it out anyway thanks. :)

 

Please note, BetFair is seems to be currently OFFLINE