A Semi-automated system with Python and IB api

Discussion in 'Automated Trading' started by Warren, Aug 16, 2022.

  1. d08

    d08

    You mean Maui? Well, that's available for everything but Linux it seems. Avalonia is what people use.

    I keep reading about all the Microsoft projects in this area and it's a complete disaster, from dead projects to half-dead projects to actively developed terrible projects.

    Fan of Qt myself as it's very clearly written and once you understand the concepts, they are easy to deploy.
     
    #41     Aug 18, 2022
  2. I am not going to pitch anything from MS but Maui works, I have also used Avalonia, it was a good attempt but WPF is huge, Avalonia can't get anywhere to close to it.
     
    #42     Aug 18, 2022
    M.W. likes this.
  3. M.W.

    M.W.

    True, but you can code in C# and use the UI framework asp.net core. It's a web based UI solution and the 2nd most popular framework and comes from Microsoft. You can also use C# to code using Blazor which runs web assemblies inside browsers and can basically take full advantage of local hardware resources. I would write any new UI application web based nowadays anyway...

     
    #43     Aug 18, 2022
    guest_trader_1 likes this.
  4. M.W.

    M.W.

    Asp.net is the second most popular web UI framework. Is that popular enough? But I agree, MS has some bad past when it comes to developer support. But that's not the case anymore nowadays...

     
    #44     Aug 18, 2022
  5. M.W.

    M.W.

    I consider myself an expert c# and wpf coder, though I have no formal cs background. Wpf is imo the absolutely best desktop UI language and toolbox, but it only runs natively on windows. You should check out some of the new stuff they do with code generators that automate the writing of all boiler plate code.

    Those are the old code generators:
    https://www.google.com/amp/s/montemagno.com/code-generation-from-xaml-in-visual-studio/amp/

    Check out the new ones:


     
    #45     Aug 18, 2022
  6. I can“t. I am a linuzzz boy. Too old to go back to Windows at this point.
    I use c# only for console apps and when I want a UI I use a SignalR server with plenty of dodgy Javascript.

    I am redeeming myself with imgui at the moment, but still learning to tame it.
     
    #46     Aug 18, 2022
    M.W. likes this.
  7. d08

    d08

    Asp.net is for web applications. I was comparing stuff that runs on local hardware platforms, not web. It seems to be trending down but yes, still very popular.

    That stuff is much more elegant and compact in at least the Python versions of Qt. After watching the vid I'm glad to look at clean Python code.
    In the end to each their own. I definitely don't want to be stuck on Windows as I only use it for entertainment. Platform dependence is nauseating.
     
    #47     Aug 18, 2022
  8. Indeed. And it already is no more functioning. Previously one simply could download a compressed archive of the project (w/o git clone etc.), now it does not work for me anymore. Seems this works only with their newest crap web browser (remember the old one, IE? Full with backdoors! :D). Everything MS touches simply turns into...
    this-is-a-big-poop-flowing.gif
    :vomit::D
     
    Last edited: Aug 18, 2022
    #48     Aug 18, 2022
  9. Warren

    Warren

    The 'semi' part I am thinking of is, 1) confirmation of entry, as there are times when quantified conditions are met, while obviously not a good time to enter, for example, a rebound after a 30 points run; 2) which exit rule to be applied; this involves some chart recognition, which I am not able to code at this moment.

    I have tried many ideas by now, and fully automated quant system seems to be frustrating, as there will always be market conditions you never imagined.
     
    #49     Aug 18, 2022
  10. Warren

    Warren

    The reason I am done with those 'concealed' platform, is that, you are playing with a black box. While for the open source software, like it said, with enough eye balls, the bugs in the code is easier to spot.
     
    #50     Aug 18, 2022
    bitcuration likes this.