"No coding required" solution for algo trading

Discussion in 'Automated Trading' started by fan27, Nov 27, 2019.

Would you consider using the described "no coding required" solution

  1. Yes and I am a programmer.

    3 vote(s)
    12.0%
  2. Yes and I am NOT a programmer.

    2 vote(s)
    8.0%
  3. No and I am a programmer.

    19 vote(s)
    76.0%
  4. No and I am NOT a programmer.

    1 vote(s)
    4.0%
  1. fan27

    fan27

    I am currently working on a solution for an AlgoTerminal client where they would be able to define their own strategy entry and exit criteria via a config file. Some of the features will include:

    - As many time frames as you want in a single strategy.
    - A strategy entry or exit condition can contain multiple time frames (i.e. left side indicator could be hourly based with the right side indicator being five minute based).
    - A strategy entry or exit condition can be evaluated for either on bar complete or for each on bar update event.
    - Long and short signals can be configured for a single strategy.

    I am first going to deploy to AlgoTerminal but this add-on can really be used with any ATS that supports C# and multiple time frames.

    Below is what a sample config file would look like.

    Let me know what you think and please vote!

    NoCodeConfigFile.PNG
     
  2. Unless your client is a programmer, you're letting both yourself and him in for a world of pain. He will omit (or add extra) commas and quotes, delete colons, mistype, misspell, use the wrong case, and generally create merry havoc in ways you can't even begin to expect.

    Is there no way to build a menu/entry dialog that he could use (and you could validate)? If the answer is "no", I'd go for a very simple config format - a file that has nothing but the required variables and their values with separator between them.
     
    damon_achey and fan27 like this.
  3. fan27

    fan27

    Good point. Ultimately I will need a proper UI.
     
    BlueWaterSailor likes this.
  4. gaussian

    gaussian

    Exposing your hierarchy in your JSON is very...Java of you. Create a map from enum to hierarchy because the reflection is internal anyway. There's no reason to expose this to the client and it makes your config file messy. Even better is to create a tool to write the configuration file consistently.

    It seems like you are trying to one-size-fits-all trading. I don't necessarily like this idea. While the JSON file makes it easy to externally optimize you're providing the client too many degrees of freedom. You should try to get the client to specify exactly what they want and do that well, instead of doing everything sort of ok.
     
    fan27 likes this.
  5. schizo

    schizo

    Agree with BWS. If I don't know a thing about codes, then most of what you've written will be mere greek to my eyes. Simply way to bypass this would be to just give me a sleek UI with a real easy to follow config window, hopefully with bunch of parameters that I can actually manipulate (eg. pulldown menu, buttons, etc) and be able to see the change immediately on the chart.
     
    fan27 likes this.
  6. fan27

    fan27

    The features I currently have are exactly what the client needs as he is the one who inspired this project. I agree the JSON file is not ideal, but that is phase one and something I can likely have done by next week and get my client testing it. If he likes the product in terms of functionality, I will likely build a in short order.
     
    gaussian likes this.
  7. ET180

    ET180

    I occasionally use JSON when I do not feel like going through all the work of putting together a GUI. Honestly, I have not found a better solution for prototyping other than hard-coding in settings.
     
    fan27 likes this.
  8. To be honest, your screenshot looks intimidating. Even though I do a bit of programming as hobby. I can't imagine somebody with no programming experience or affinity to take the courage to start tinkering with this.
     
    lovethetrade likes this.
  9. You would be surprised how far an excel spreadsheet can go for creating config files for nontechnical people.
     
    lovethetrade likes this.
  10. d08

    d08

    "Wizards" have been tried for a long time. They work for basic strategies but you almost always need something more custom and then you need to write code/script.
     
    #10     Nov 28, 2019
    ET180 and lovethetrade like this.