User Articles

Mirror movement

  Hi, I'm have serious lag issues, for example this routine from a simple cancel bet to place bet takes about 1 second.  The code is as follows | TriggerStatus.CancelLayTrade ->   status <- TriggerStatus.PlaceLayTrade  let tradeUnmatchedL = _selection.Bets |> ...

Market Start Time

For one of my bots that I'm working on, I need it to stop a few seconds before the scheduled start time.  I was looking to use the code from Stefan's HorseRacingXMinutesLoadAutomation but it now doesn't work.  I tried MarketInfo.StartTime with async but I always ...

Bet Status and cancelling Unmatched bets

For a selection: With matched bets, how can I get the total stake and averaged odds for both back and lay? With unmatched bets, how to get the  betType, stakes and odds? And lastly, how to cancel an unmatched bet? Thanks

Getting Matched Volume at index

Is there an easy method to get the matched volumes at index 1, 2 etc and -1, -2 etc? For example it is easy to get the odds: let LayPriceLevel (selection:Selection) index = selection.ToLay.Prices.[index].Price/selection.ToBack.Prices.[index].Price and easy to get the amount ...

Betfair SP Stake

When I place a Betfair SP bet, it only shows matched in the Market Bets window,but the stake shows 0.  When the event starts, then the stake shows (as well as the odds of course).  Also all the codes that I can find on showing the BSP (near far etc) don't show anything in the ...

Market Depth Price/Volume Levels

With Market Depth, using Stefan's code to Place Bet At Empty Price, I have added a count variable to it so that you can check price at different Market Depth levels: https://github.com/PeterEsgate/BfexplorerTestBots/blob/master/Market%20Depth%20Levels And with the ...

Automatically Open Market

Hi, I have strategy/bot executor running for the days events.  Is there a method for the bot to also open the event in bet event trader?

Selections list from matched criteria

Hi Stefan.  I have 1 last coding question that I am stuck on, that hopefully you have a generic one coded already.  I'd like a list of mySelections generated from criteria matched from 2 other lists.  For example, List1 has all selections sorted in order of profit, and list2 has all ...

Using Multiple Bot Parameters

With my bot (still in design and testing stage), when it executes I'd like it to have a different effect on different selections, so I tried something like this:  | TriggerStatus.StartTradingSessionPick1    status <- TriggerStatus.StartTradingSessionPick2   let ...

Bot Trigger Building Part 4

In the final Part of this tutorial, I would like the bot to stop and give us a warning message in the console if it has had X losses in a row. Seeing as the bot runs fully automatic, if I am not in front of the computer and for whatever reason I am having a bad run, I'd like to limit my losses so ...