Closing Trade with fixed stake

Advanced automation available in Guardian - Chat with others and share files here.
Post Reply
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

Hi all

I'm trying to simplify my end of day analysis of my automations.

I'm placing a bet at fixed odds, with fixed stake of say $12.36, with an offset and stop (with FoK). This works fine as I can just look at the back & lay bets and match up the $12.36 bets, and compare the entry and exit prices - except for those bets where the offset hasn't been matched.

Ten seconds before the start time I cancel all unmatched bets, then Close Trades On Selection (no greening). And then I Green Up, separately.

The idea is that after the race I can see in the matched bets that there are 12 back bets and 12 lay bets with stake of $12.36 and compare entry & exit points etc.

However the reports usually show the 12 entry, and say 8 exits at $12.36, and then something like "Placed closure bet on 2. Glamour Cat by Laying 106.54 at 3.45"

I'm running multiple automations each race at different price points and unique/identifiable stakes, so the batching of the closure into the $106.54 stake means that I lose a lot of the information that is contained in the individual bets.

Any ideas?

TIA
Jukebox
Posts: 1576
Joined: Thu Sep 06, 2012 8:07 pm

You might think about using stored values written to log to gather a bit more info
Matched bet info is available to store and write to log and could be triggered everytime a bet is matched
Or maybe Net stake info fired and stored just before you close trade
Anbell
Posts: 2383
Joined: Fri Apr 05, 2019 2:31 am

Thanks Jukebox. I still can't work out how those options get me where I want to be.

I've got the matched bet info for the initial bets, but I don't know to match that against the offset bet if it isnt matched prior to the near-off clean-up.

And I cant make Net Stake work, because that's the problem when Closing. BA batches up the outstanding bets for a net amount, whereas I want them to close individually, so that I can identify the individual bets: ie separate the $12.36 bets from the $12.34 bets.

Thanks again for your assistance
Post Reply

Return to “Bet Angel - Automation”