Author Topic: Cash Out Formula  (Read 996 times)

Tags:
  • All members
  • Posts: 63
Cash Out Formula
« on: 15 Dec 2019, 14:04 »
I'll apologise in advance as I'm sure this question has been covered many times. 

I've been looking around and also in the 'formulas' thread and think I know the answer, but just want confirmation on this please of the best way to do it.

I know the basic formulas for greening up, but I just wanted confirmation of the formula for 'cashing out' whether that be profit or loss, when there are many back bets and lay bets already matched in the market at different prices and different amounts.

Many thanks. 

  • All members
  • Posts: 63
Re: Cash Out Formula
« Reply #1 on: 15 Dec 2019, 14:13 »
...For this example we can assume that the many back and lay bets are only on a single selection in the market

  • Moderator
  • Posts: 3597
*
Re: Cash Out Formula
« Reply #2 on: 15 Dec 2019, 16:06 »
Hi
The easy way is a single trigger:
action: trade out
selections: all matching selections

also if you have not seen it have a look at this article.

I use the following triggers for hedging multiple back and lay unhedged bets on a selection.

after all unhedged trades are completed and no unmatched bets remain:

for a selection with a positive profit_loss
lay
price: lay_price
amount: profit_loss/lay_price
condition: selections profit/loss is greater than 0.03
and appropriate matched / unmatched checking conditions etc.

for a selection with a negative profit_loss
back
price: back_price
amount: ABS(profit_loss)/back_price
condition: selections profit/loss is less than -0.03
and appropriate matched / unmatched checking conditions etc.
 
 
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: 63
Re: Cash Out Formula
« Reply #3 on: 15 Dec 2019, 18:38 »
Many thanks for the info, much appreciated. 

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Cash Out Formula
« Reply #4 on: 16 Dec 2019, 10:07 »
Hello!

You will greatly benefit from this article, as it has all the formulas you are looking for:

10 Facts About Green-up in MarketFeeder Pro
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 63
Re: Cash Out Formula
« Reply #5 on: 16 Dec 2019, 14:33 »
Great article. 

All my questions are now answered, many thanks. 

 

Please note, BetFair is seems to be currently OFFLINE