Author Topic: Betting a percentage of bank  (Read 3999 times)

Tags:
  • All members
  • Posts: 29
Betting a percentage of bank
« on: 21 Dec 2012, 20:52 »
Hi all...
I'm betting with a bank of £200 and a stake of 1% of the total
If the bank is above £200 I want to bet 1% of the total bank (ie balance/100)
If the bank is below £200 I want to bet a straight £2
Is there a simple way to do this ?? If I use balance/100 and the balance is, say £180 it will preumably try to bet £1.80 which is below Betfairs minimum of £2
Help !!

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Betting a percentage of bank
« Reply #1 on: 21 Dec 2012, 21:17 »
hi
in the amount box put or copy and paste.

IF(AND(test_mode=1,test_balance<200),2,IF(AND(test_mode=0,balance<200),2,IF(test_mode=1,test_balance/100,balance/100)))



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.

  • Administrator
  • Posts: 8821
  • Gender: Female
*
Re: Betting a percentage of bank
« Reply #2 on: 22 Dec 2012, 09:52 »
Either use mcbee's formula for a quick workaround, or see the attached trigger file for a more adjustable solution.
Always try your triggers in Test Mode before switching to real money!

Follow us on Twitter.

Join our WhatsApp chat!

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

  • All members
  • Posts: 29
Re: Betting a percentage of bank
« Reply #3 on: 22 Dec 2012, 10:46 »
Many thanks guys
McBee, I can kinda see how that works but could you talk me through the steps...
I'm using it in real mode so don't need all the 'test mode' stuff, and can't quite figure the last part 'IF(test_mode=1,test_balance/100,balance/100)))'
Thanks again, and to you too Oxa

  • Élite
  • Posts: 3698
  • Gender: Male
*
Re: Betting a percentage of bank
« Reply #4 on: 22 Dec 2012, 12:25 »
hi
IF(AND(test_mode=1,test_balance<200),2,IF(AND(test_mode=0,balance<200),2,IF(test_mode=1,test_balance/100,balance/100)))
if you are in test mode and the test balance is less than 200 then 2 euro bet
if you are in live mode and the balance is less than 200 then 2 euro bet
if you are in test mode then test balance divided by 100 else balance divided by 100
here it is for live betting only.

IF(balance<200,2,balance/100)

a lot easier for just live betting.
if balance is less than 200 then 2 euro else balance devided by 100


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: 29
Re: Betting a percentage of bank
« Reply #5 on: 22 Dec 2012, 12:53 »
Many thanks McBee.... you are a genuine credit to this forum and a veritable mine of information...
Happy Christmas to you and everyone else on the forum and here's to a peaceful and prosperous New Year to us all !!

 

Please note, BetFair is seems to be currently OFFLINE