Article

Profit/Loss - relative, encapsulated, independent

How many strategies, systems, bets can run on the one market or one selection?

-----------------------------------

I have relatively complicated system of bets through the market.
First system operate on the Favorite and the second system operate on Favorite and Third Favorite. I cannot simply evaluated systems, because all bets on the Favorite are calculated together.

-----------------------------------

I suggest encapsulated independent Bot executor with Profit/Loss interface*.

All bets placed with current Bot Executor (or affected by this Bot Executor) will calculate independently.
All bets calculated RELATIVELY, without any others bets on Selections

* Profit/Loss interface - Target Profit, Stop Loss, Trailing Stop (close if profit decreases), at the time.

Comments ( 5 )


  • Stefan
    30.3.2016 10:42:08

    Betfair api does not offer feature allowing to tag bets:

    http://forum.bdp.betfair.com/showthread.php?t=1898&highlight=customerRef

    Bot Executor as the name suggests, just executes bots, bets and bet position is managed by bots.

  • Mir.
    30.3.2016 14:49:40

    Ok.
    Not Bot Executor...

    But something like "pool of bets" placed by specific bots?

    For example:
    POOL1: calculate ALL BETS PLACED BY PLACEBETBOT01 bot
    POOL2: calculate ALL BETS PLACED BY PLACEBETBOT01, PLACEBETBOT02, PLACEBETBOT03  bots

  • Mir.
    30.3.2016 15:01:31

    Sorry, I see:

    "...if you place a bet and (for whatever reason) you do not receive a response, then there is no way to tell if the bet has been accepted by Betfair."

    ------

    I thought about manage bets by BetID.
    Place a bet take ID and after this move to intend Odds.

  • Mir.
    31.3.2016 11:01:15

    ok. Not a few systems.

    And what about only one?

    Means all bets calculated RELATIVE from the time when bot started. Like a checkpoint.

    --------

    it's only suggestion...

  • Stefan
    31.3.2016 15:46:51

    Miro, all bfexplorer bots manage bet IDs to track only bet/s placed by the bot.

    Your custom bot is developed as bot trigger, and bot trigger just orchestrates action bots, so if your bot trigger is programmed to manage bot/s bet position then it is able to do so, but that is not a general solution which could be done only when betfair would implement mentioned bet tagging, customerRef persistence through all relevant betfair api methods.

    If you want to extend your custom bot trigger then all action bots derived from SelectionBot expose the property: BotBetsCache

    So utilizing this BotBetsCache for all market, or selection bots, you would be able to calculate bet positions opened by individual bots.