Trailing stop robot

Ahoj Stefane, to jsem samozrejme nasel a pokousel se zprovoznit, ale preci se mnekde musi nastavit sazky atd. Je to v used paramerter tj tedy ze se ma upravit viz napr. nize Pokud ne tak kde a pokud ano, mohl by jsi mi jakkoli nastavit abych to mel spravne, castky, rozpeti atd. si upravim. Bez upravy po natahnuti botu do vyhledavani prilezitosti a nacteni zapasu ukaze viz chyba v priloze. Diky Jirka

Used parameters:

  • BetType=Lay
  • MinimalOdds=3,5
  • MaximalOdds=4,5
  • PlaceBetAtBetterOdds
  • Odds
  • PlaceBetAtOdds
  • MarketMaker
  • Stake=100
  • StakeIsMyLiability=true
  • AllowPlacingBetInPlay
  • AtInPlayKeepBet
  • StartBetPlaceFrom
  • ClosePositionAt
  • MinOddsDifference
  • MinReturnOnInvestment
  • StopLossOnPercentageLiability=5

Ak chceš použiť bot script, je jedno či v Bot Executorov-i alebo v Trade Opportunity Lookup Service (TOLS) musíš použiť plné meno bot scriptu, takže pre TraderUsingTrailingStopLossBot bot script je to:

Bfexplorer.Scripting.TraderUsingTrailingStopLossBot

Samozrejme že to má svoje dôvody čo sa týka programovania, ale môžeš to pochopiť ako meno a priezvisko robota, ak ho chceš použiť musíš použiť jeho plné meno, čiže aj s priezviskom.

V TOLS nemôžeš spustiť akýkoľvek bot script, musí to byť LookUpBot. Ja som túto konvenciu zachoval aj v pomenovaní bot scriptov, takže pre TOLS sú vhodné len boty končiace na LookUpBot v ich názve, ako napríklad:

Bfexplorer.Scripting.LayInPlayXFavoritesLookUpBot

Ak chceš použiť v TOLS akčného bota akým je aj TraderUsingTrailingStopLossBot, musíš si vytvoriť svoje nastavenie pre tohto bota v Bot Executor-ovi, pridáš si ho cez parameter MyBot.

TraderUsingTrailingStopLossBot rozširuje možnosti PlaceBetBot, a každý bot má svoje povinné parametre, správne si uviedol časť parametrov pre PlaceBetBot ak chceš podať stávku iba ak je obchodovaná v zadanom rozmedzí.

Pre TraderUsingTrailingStopLossBot je povinným parametrom:

MinOddsDifference, ostatné 2 parametre ktoré robot používa sú nepovinné, popis si už čítal:

Betfair bot programming: trailing stop loss

Comments (4)

  1. mapper Says:
    Tuesday, July 28, 2009

    Stefan, mohol by si sem prosim hodit hotovy kod ktory sa da priamo skompilovat a pouzit?

  2. StefanBelo Says:
    Tuesday, July 28, 2009

    Zdrojový kód všetkých robotov ktoré sú voľne dostupné je v adresári MyBots, nájdeš tam aj tento bot script. Nainštaluj si najnovšiu verziu Bfexplorer PRO, aby si mal istotu, že máš k dispozícii všetky bot scripty.

  3. alanwood Says:
    Wednesday, July 29, 2009

    Hello stefan

    i am looking to use a trailing stop loss as part of my trading ? any chance you could translate the above into english ?

    thanks

    alan

  4. StefanBelo Says:
    Wednesday, July 29, 2009

    Hi Alan, it is actually discussion about using the custom bot script:

    Bfexplorer.Scripting.TraderUsingTrailingStopLossBot, and you can read it in this article:

    Betfair bot programming: trailing stop loss

    The main problem of the Czech user was the way how he tried to use custom bot script with the tool: Trade Opportunity Lookup Service (TOLS).

    This custom bot script is not design for running in TOLS directly as this is not LookUpBot script, but action Bot script you can run with Bot Executor only. You can run this Bot script with TOLS after adding it to Bot Executor.

    When you want to use custom bot script with TOLS or with Bot Executor, you have to use the full name of bot script, so in this case it is:

    Bfexplorer.Scripting.TraderUsingTrailingStopLossBot

    And not only TraderUsingTrailingStopLossBot, what was the second problem the Czech user did not realize. You can read more about using custom bot script with Bot Executor in this article:

    Bot Executor: My Bot


Do you want to comment this article? Sign up here or login.

User Menu