Author Topic: Bet from List of win selections at time intervals  (Read 1366 times)

Tags:
  • All members
  • Posts: 829
Can someone please advise best way to go about betting from a list of selections which I have stored in Excel.
Requirements.
* If selection is <4.8 at time of starting markets then place 50% of bet amount immediately. Balance to be bet at 5 mins before OFF
* If Selection is >4.79 at time of starting markets then place 50% of bet amount 120 mins before OFF and balance 5 mins before OFF

The list of bets are no more than around 20. Do I need to link the Excel sheet or is there an alternative. Either way I'm happy.
Many thanks
Ian 
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3597
*
Re: Bet from List of win selections at time intervals
« Reply #1 on: 20 Feb 2020, 20:30 »
Hi
It can be done using Excel, but it needs to be connected to MF.
a better way for this is to use a text file with selection names.

I think four triggers, I'll give you an idea with the greater than 4.79 pair of triggers

constant: name ba, value: total back amount (e.g. 20.00)

TRIGGER name: greater than 4.79 first half
back
price: back_price
amount: ba/2
all matching selections
once per market
conditions:
markets minutes before the off is less than 120
and selections name is in file...path to text file
and selections back price is equal or greater than 4.80
and selections back matched is equal to 0

TRIGGER name: greater than 4.79 second half
back
price: back_price
amount: ba/2
all matching selections
once per market
conditions:
trigger greater than 4.79 first half number of runs in the market is greater than 0
and markets minutes before the off is less than 5
and selections back matched is greater than 0
and selections back unmatched is equal to 0

please test in test mode

if you still want to go the Excel route let me know and I'll post something up


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: 829
Re: Bet from List of win selections at time intervals
« Reply #2 on: 20 Feb 2020, 21:44 »
Thanks Mark, I am looking at this today and tomorrow.
One thing I forgot to mention is that the bet amounts vary.
They will range   20 - 100
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3597
*
Re: Bet from List of win selections at time intervals
« Reply #3 on: 20 Feb 2020, 21:58 »
bet amounts will vary per selection?
the trigger will be different

use a text file with selection names and the amounts with a tab separation, the amount value is accessed by the triggers as variable imported_1
this article and video describes it
https://marketfeeder.co.uk/learn/articles/automating-betting-tips/

and also the help file section auto trading > import selections for auto trading

the triggers amount field will be imported_1 / 2
i.e. 50% of the value of the amount in the text file
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: 829
Re: Bet from List of win selections at time intervals
« Reply #4 on: 22 Feb 2020, 13:03 »
Trigger Condition does not recognise runner from text file even though the horse name is enclosed in ""  "Who Dares Wins" it is spelt correctly and other runners are recognised. Anybody any ideas why it doesn't ? Showing last transactions on top
12:40:17Condition is: TRUE. valid for 1 selections: Commanche Red.
12:40:17Checking condition and Selection's Name is in file C:\Program Files (x86)\MarketFeeder Pro 8\mfp-bets.txt.
12:40:17Condition is: TRUE. valid for 2 selections: Commanche Red, Who Dares Wins.
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3597
*
Re: Bet from List of win selections at time intervals
« Reply #5 on: 22 Feb 2020, 15:44 »
If other selection names were picked up ok by the trigger then there must be something amiss with "Who Dares Wins" in the text file. Please check your text file for ”non-straight” quotation marks, they should be "straight"
Also is the trigger set to all matching selections and not first matching selection
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: 829
Re: Bet from List of win selections at time intervals
« Reply #6 on: 22 Feb 2020, 15:58 »
Copied from my text file   "Who Dares Wins"
They appear to be okay to my eyes.
It also was the bottom runner on the list if that makes any difference.
The cursor was on the next line down against the kerb.
My grandma taught me not to run downstairs and never back odds on.

  • Moderator
  • Posts: 3597
*
Re: Bet from List of win selections at time intervals
« Reply #7 on: 22 Feb 2020, 16:35 »
Yes quotes look ok

I just ran a test trigger for selections name is in file, all seems to be working well.

If you go to settings > logger > tick log trigger expressions and save settings.
This will give you expanded details in the trigger logs. See if you can pick anything up through there. Make a note that you have switched this on as it could add to system resource use and switch it off when you dont need it.

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: 829
Re: Bet from List of win selections at time intervals
« Reply #8 on: 25 Feb 2020, 15:49 »
Sorry had computer woes. Had to reinstall windows etc still not right.
I have tested the trigger and it is working fine thanks Mark.
I think I will add the back 105 lay 97 percentages to ensure market is behaving
before bets are fired. I think that may be it.
My grandma taught me not to run downstairs and never back odds on.

 

Please note, BetFair is seems to be currently OFFLINE