Comments

  • Stefan
    21.9.2015 20:26:45

    Yes Ilya, I believe you, after yesterday’s lecture about vital features which every trader use, I simply learn everyday something new, thank you once again.

     

    Never mind that Open File dialog actually exists in every app which opens some files, as the Open File dialog is actually part of base user interface of Windows operating system, so in every app it looks exactly the same way.

     

    As I said I learn everyday something new.

  • Ilya Nikol
    21.9.2015 20:00:30

    P.S. Unfortunately, I am not familiar with Open File dialog.

  • Ilya Nikol
    21.9.2015 19:58:40

    Stefan, I tried to run BackCorrectScore00LayDrawTrigger.dll and it worked just fine!

  • Stefan
    21.9.2015 19:46:01

    Ilya, we already know that you are able to search for files in your computer. The question is, are you familiar with Open File dialog? I believe as a lover of Advanced Cymatic Trader or Betting Assistant you know how to work with Excel, and Excel offers Open File dialog as well, am I right?


    Bfexplorer is maybe not so good as above mentioned betfair apps but in user interface design bfexplorer supports common UI design partners, like Open File dialog.


    I already mentioned that Execute trigger bot offers two options for entering trigger file, a bot source code, with the file extension .fs, or .fsx, and bot trigger assembly file with the file extension .dll. By default you are offered to open Script files, but you can click on the combo box (above Open button) and there you can find the second option: Bot trigger assemblies, please use this option.


    I will help you and others and in the latest version I am about to release I will set by default the Bot trigger assemblies option, as frankly to say I maybe the only one who will use the other option: Script files.

  • Ilya Nikol
    21.9.2015 19:17:37

    Stefan, I unblocked BackCorrectScore00LayDrawTrigger.fs and BackCorrectScore00LayDrawTrigger.dll but still got the same error.

    Here's the screenshot of the log - http://s16.postimg.org/fymphin51/error1.png

  • Stefan
    21.9.2015 18:40:31

    So the problem with using bot trigger assembly (.dll file), was that anything you download from internet to your computer is blocked. You must first unblock such file by using file properties dialog.

     

    http://www.tenforums.com/tutorials/5357-unblock-file-windows-10-a.html

  • Stefan
    21.9.2015 15:23:41

    Miro does not waste your time on reinstalling Windows. Eduardo has clean install of Windows 10, so I will try to test it on his computer.


    Actually no one of you will manage to work with bot trigger source code, so the other alternative with bot trigger assembly is my priority for now, I just need to test it, it works fine on my computer.

  • Mir.
    21.9.2015 15:16:16

    Soon I will reinstall to a clean Win 10.

    I will try again.

     

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

    Now I have got folder with a scripts on the separate hard drive, not in Docu folder like you...

  • Ilya Nikol
    21.9.2015 13:16:34

     

    For example, I tried to search for mscorlib.dll and System.dll and found them in these locations:

    mscorlib.dll - C:\Windows\Microsoft.NET\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089
                   C:\Windows\Microsoft.NET\Framework\v4.0.30319
                   C:\Windows\Microsoft.NET\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089
                   C:\Windows\Microsoft.NET\Framework64\v4.0.30319 
                   C:\Windows\Installer\$PatchCache$\Managed\5D136A49A03B8DD36BC511710CD97AE3\4.6.81 
                   C:\Windows\Microsoft.NET\Framework\v2.0.50727

     

     


    System.dll - C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089
                 C:\Windows\Microsoft.NET\Framework\v4.0.30319
                 C:\Windows\Microsoft.NET\Framework64\v4.0.30319
                 C:\Windows\winsxs\msil_system_b77a5c561934e089_6.1.7601.17966_none_aef0fb4c1897386e
                 C:\Windows\winsxs\amd64_netfx-system_b03f5f7f11d50a3a_6.1.7601.21890_none_a86a53a8176f75e6
                 C:\Windows\winsxs\amd64_netfx-system_b03f5f7f11d50a3a_6.1.7601.17514_none_bf2f9d3ffdcfb10a

     

    Yes, I have BackCorrectScore00LayDrawTrigger.dll. Where shoudl I put it?

  • Stefan
    21.9.2015 11:19:35

    There are two options how to execute bot trigger. You tested bot trigger execution from source code, and once again you confirmed that compilation ends with error because on your system there are missing assemblies or are just located in different folder. I can live with that because installing Visual Studio solves these problems, what Miro already tested.


    These issues seems to be out of Miro’s interest because he did not comment this issue, actually he can shed more light on it because maybe he tested bot trigger execution before installing Visual Studio.


    The second option is to execute bot trigger from complied assembly, you actually have both files when you downloaded zip file.

  • Ilya Nikol
    20.9.2015 22:22:49

     

    Here's the screenshot of the log with the errors - http://s15.postimg.org/t4da8awcr/error.png

     

  • Ilya Nikol
    20.9.2015 22:20:04

     

    Stefan, I’ve tried to run BackCorrectScore00LayDrawTrigger.fs and got this error:

    [img]http://s15.postimg.org/t4da8awcr/error.png[/img]

     

  • Stefan
    20.9.2015 20:40:56

    I think you already learned what bfexplorer bots are about, the wrapped based functionality which can be easy setup (if people had been reading frecking bot descriptions nobody is actually reading, what you can see here on forum as well) and reused like in lego blocks.


    Any bfexplorer bot implements some basic functionally, and all bots were made to be used in certain bot betting/trading scenarios.


    Well, of course I can see some usability in new bot functionality building block/s, like what you need, cancel bets and execute some other bot, but I do not think that actual general usage would be so simple, therefore for now I would prefer what I suggested, to use Execute Trigger Bot with custom built bot trigger for your trading scenario.


    Please, test if on your computer you are able to run bot triggers, read this article:


    http://bfexplorer.net/Community/BlogContent/113


    Bfexplorer has just couple users, and those willing to test something are even less, 2 or 3 users. Miro is disqualified as a tester because he installed Visual Studio, so he is able to run bot triggers, from source code and from built assembly as I can do. Two other users run Windows 7, and for now I did not identify a problem, it seems to be just some problem of missing assemblies, or referenced assemblies wich are in Windows 7 located on different folders.


    I will be online tomorrow, so if you are willing to help me solve this Bot Trigger compilation problem then send me teamviewer access code, or other remote desktop access to your computer, if you have got similar problems to run bot trigger.


    I will program custom bot trigger for you later tomorrow.


    Your trading scenario could have some potential on some racing where two or three favorites fight to win. You assume that the first leader will be beaten; therefore you need to cancel all other unmatched bets. You really should test in practice mode on some race types only, I cannot believe you will execute profitable trade on each race, but as an example for a bot trigger this strategy of yours is good one.

  • Ilya Nikol
    20.9.2015 20:19:40

     

    Once more, here's what I need to do:

     

    1) Place "Lay" order on all selections.

     

    2) If any of the placed Lay orders is matched then place the "offset" Back order.

     

    3) Cancel all other unmatched Lay orders.

     

    As I said I figured out how to make 1) and 2) but I can't figure out how to make 3)

     

  • Ilya Nikol
    20.9.2015 19:57:53

     

    Once more, thanks for your help and patience, guys!

     

    I already figure out how to place the offset order when the initial order is matches and how to execute bot on all selections and I liked it very much!

     

    It's very impressive that such complex task can be done so easily in BFexplorer! My hat's off to Stefan!

     

    The only issued I have is that I can't figure out how to cancel the unmatched bet orders on specific selection when the order is matches on some selections.

     

  • Ilya Nikol
    20.9.2015 19:37:27

     

    Mir, thank a lot for your help! I've managed to make it works as I want.

     

    Stefan, thank for your help and the great software! : - )

     

     

  • Stefan
    20.9.2015 19:17:32

    Ilay, any bfexplorer bot implements some base functionality. Tick offset bot emulates base trading operation with NET stake any beginner trader does. No further parameters are needed as in such cases trader does not hedge his bet position but placing bets with the same stake amount.


    This bot helps to automate placing NET stake offset bet immediately after any part of opening bet is matched.


    As Miro suggested, if you want to place hedge bets then use Place bet and close selection bet position, or just Close selection bet position alternatives.


    Even in the above mentioned bots you still have possibility to choose between hedging bet position or closing it by NET stake.

  • Stefan
    20.9.2015 19:04:47

    Rui just read bot parameters descriptions, if read them you would not set bot parameters you set in your picture, as actually with such bot parameter setting your bet would be placed only when gap between offered the beats back and lay odds is equal to 7.

  • Stefan
    20.9.2015 18:59:19

    Miro’s suggestion is wrong.


    If you want to place a bet on all selections then you must create Place bet bot setting with set Odds parameter to 1.1 and the parameter PlaceBetInAllowedOddsRange to False (uncheck parameter), the parameter ExecuteOnSelection must be set to 0, only in such case you will get a general bot settings which can be executed on any selection.


    It is clear that you need to set BetType to Lay, and Stake.


    Now, you can use this general bot setting, you named it for instance Place lay bet 100 @ 1.1 with the bot Execute on Selections.


    People please, read descriptions for bot parameters. What does the “Execute on Selections” bot parameter OnSelections say?


    Selections on which you want to execute your bot (for instance: 1,2,4). If you do not type any selections the action bot will be execute on all selections.


    So if you want to execute your action bot (Place lay bet 100 @ 1.1) on all selections, then just leave this parameter empty, once again read:


    If you do not type any selections the action bot will be executed on all selections.


    Place bet and close selection bet position, is the bot placing offset bet as you name it Ilya. In bfexplorer terminology we call such operation Close selection bet position, or hedge bet position.
    What you want to achieve can be done by custom bot trigger only, you actually develop a trading strategy.


    For now you can use Place bet and close selection bet position, and execute such bot as suggested on all selections, so once your lay bet is fully matched the bot places back bet at set Profit parameter. I think you already figured out that placing “offset bet” immmediatly after opening bet is matched you need to set the parameter: ClosePositionImmediately.


    When using other betfair apps you need to do such development mainly by creating Excel triggers, and when necessary by programming some VBA code in excel, here in bfexplorer you can do so by bot trigger programming.


    All bfexplorer bots offer some base functionality, if you already tested Place bet bot with your settings you might notice that executed bot remains active till its action is not finished. This feature allows combine some base bots in a simple solution.


    In your trading solution you need:


    Place bets


    Monitor bet status to execute bets cancelling and closing bet position on selection with matched bet.


    Close bet position bot is available, but not bot for canceling other bets. I will think about it, if making some other simpler bots will benefit others.

  • Mir.
    20.9.2015 18:45:16

    Yes, I understand.

    Trouble is when the first bet matched. Next bot in Chain execution (Stop Market monitoring with StopRunningBot parameter) close ALL OTHER BOTS. In this case if close Chain execution bot will not run next others...

     

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

    I asked a similar question. Answer is here:

    http://bfexplorer.net/Community/ForumContent/119#Kill the bot