Author Topic: Persistent virtual bank  (Read 2322 times)

Tags:
  • All members
  • Posts: 19
  • Gender: Male
Persistent virtual bank
« on: 24 Sep 2017, 19:15 »
Hi all,

Anybody got recommendations or suggestions of their preferred way to manage a virtual bank on a per trigger file basis?  What I mean is, regardless of my real Betfair balance, if I set a strategy to go with a notional £500 bank and want to reinvest profits, what is the best way to achieve this, crucially IF I want the virtual balance to persist through restarts of the application? (Without using excel, ideally)

  • Moderator
  • Posts: 3597
*
Re: Persistent virtual bank
« Reply #1 on: 24 Sep 2017, 22:38 »
Hi
please have a read of this topic which may give you some help
with thanks to mcbee who kindly posted a trigger towards the end of the topic which demonstrates a method to use multiple or virtual banks
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: Persistent virtual bank
« Reply #2 on: 25 Sep 2017, 08:24 »
Hello!

Tou basically set up a constant and assign it the value of your virtual bank. Then you use this constant throughout your triggers as a reference for formulae. E.g. in the amount field of your laying trigger you would put:

base_bank*bet_size/100

Where base_bank is your virtual bank, bet_size is the size of your bet in percentage of the virtual bank.
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