Author Topic: Linking particular lay to a particular liability  (Read 259 times)

Tags:
  • All members
  • Posts: 118
  • Karma: +2/-0
Linking particular lay to a particular liability
« on: Wed, 16 May, 2018, 19:56 »
Hi
I have some triggers than run nicely, one of which is laying a named horse to a set liability.
The only slight issue it that the liability cannot changed for an individual horse. I load my selections and then let MarketFeeder do it's thing.
I am saying horse but of course it applies to any lay opportunity.
So I wondered if it is possible to link a horse in a list to a particular liability, I doubt it is possible.
Example
Horses
Scooby Doo
Fred Flintstone
Barney Rubble
Then a list of liability amounts
£25
£35
£50
So Scooby Doo liabilty £25, Fred Flintstone liability £35, and Barney Rubble liability £50.
As I said doubt it is possible but don't ask, don't get.
Mike

  • Moderator
  • Posts: 2799
  • Karma: +230/-0
*
Re: Linking particular lay to a particular liability
« Reply #1 on: Wed, 16 May, 2018, 21:01 »
Hi
set up a text file with your selection names (spelling exactly as betfair and strings in quotes) with a tab and your liability for the selection. Using your selections as an example:

"Scooby Doo"<tab>25.00
"Fred Flintstone"<tab>35.00
"Barney Rubble"<tab>50.00

use this text file to import your selections with the values.

the first tab separated value after the selections name is variable: imported_1

the formula for the amount when laying to a fixed liability is: liability/(lay_price-1)

so in your laying trigger amount field use: imported_1/(lay_price-1)

if you are laying at SP then just use imported_1 in the liability field.

please test in test mode
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: 118
  • Karma: +2/-0
Re: Linking particular lay to a particular liability
« Reply #2 on: Wed, 16 May, 2018, 21:05 »
Hi
Wow that is excellent I did not expect it to be possible.
Many thanks
Mike

  • All members
  • Posts: 118
  • Karma: +2/-0
Re: Linking particular lay to a particular liability
« Reply #3 on: Sat, 19 May, 2018, 15:12 »
Hi
Tying it out but cannot get it to work
the file is fine as it works with the selections as normal
I have laid my selections for today exactly like this
One tab after selection then amount


"Loch Linnhe"    20.00
"Just A Feeling"    25.00

and used
imported_1/(lay_price-1)
as the amount

However it does not work, I have tried many ways and combinations

Mike

  • Moderator
  • Posts: 2799
  • Karma: +230/-0
*
Re: Linking particular lay to a particular liability
« Reply #4 on: Sun, 20 May, 2018, 17:11 »
Hi
two screenshots attached, first is a lay on a single imported selection, second shot shows two imported selections with liabilities as per text file values, and the simple trigger.
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: 118
  • Karma: +2/-0
Re: Linking particular lay to a particular liability
« Reply #5 on: Sun, 20 May, 2018, 17:18 »
Oh
Cheers for that I see know.
I was trying to import them via a trigger using..
Selection's Trigger Expression sel_name is in file C:\Program Files (x86)\MarketFeeder Pro 8\Lay.txt
I will do it the other way now many thanks
Mike