11
Triggered betting / Re: most_traded_price in-play only
« Last post by soylolo on 18 May 2024, 07:04 »Ahh ok. I thought it was a calculation from marketfeeder
HiHi, I'll keep this in mind for future strategies. just another question. If I have multiple instances running different strategies on the same event. Would each instance show the p/l for each selection on every instance or only on the instance with that specific strategy? I've just back tested the strategy I'm currently using and it only seems effective on the favourite so I won't be using this strategy on the 2nd, 3rd, 4th faves as planned so I can use market profit/loss for the strategy but I may run other strategies alongside it on the same event so would these instances interfere with each other by showing the selection p/l from all strategies?
Not tested this but if you are backing in win markets, the selection who's lay price is 1.01 is the potential winner, all other selections with back bets are potential losers.
so 2 triggers:
1st trigger as above, first matching selection, condition: selections lay price is equal to 1.01
2nd trigger sets a user variable individually per selection value: -back_matched
all matching selections
conditions:
trigger 1st trigger number of runs in the market is greater than 0
and selections back matched is greater than 0
and selections back price is equal or greater than greater than 1.01
this records the winners profit and assumes the liability for the others as a loss
I don't think this is watertight because a lay price of 1.01 can still be overturned, or the market could be reopened after suspension etc. and also it does not take into account commission on the winning bets.
Hello, I have just noticed this topic and the replies, where a solution was offered by writing to a CSV file. Can I ask if a solution could be provided for writing to an Excel spreadsheet with the details across the page, not down? There is a sample trigger provided (in Features/Triggers/Excel) for horse racing for feeding prices into Excel, but I am having trouble working out what needs to be altered in the "Initialise sheet" and or/ "Initialise the variables" to feed the details across the page rather than down. I am interested in doing this for soccer games with an example below: Match Details Home Team MO Back Price Away Team MO Back Price MO Draw Price Winner (when known). EPL etc Liverpool $1.80 Tottenham $2.50 $4.00 Home Is this possible? Thanks in advance, bobhHi bobh
HiCould I not work out the p/l on the runner by taking the tradeout_pl and then adding the other bets. so if my variables are bet_1, bet_2, bet_3, bet_4 in relation to each fave then if the runner I'm taking the p/l for is the 3rd fave. Could I not do tradeout_pl on the 3rd fave + bet_1 + bet_2 + bet_4 which will give me the p/l for the 3rd fave.
I thought it would be a good idea but looking closer it wont work because a selection's p/l can be affected by other selections with bets. I will give this some more thought and post here if I come up with something.