Writting an algorithm in C++

Discussion in 'App Development' started by zenmaster, Sep 2, 2020.

  1. sef88

    sef88

    For low frequency strategy, it makes more sense to use python.
     
    #11     Nov 8, 2020
  2. zenlot

    zenlot

    Do you happen to have links to those benchmarks?
     
    #12     Nov 8, 2020
  3. gonna throw my two cents in here for python if all you're doing in local modeling/forecasting. Super easy and it's plenty fast (I use it on a 5000 stock universe every weekend...)

    Google "python rsi". You'll find a Stack Overflow solution that does exactly what you're looking for.
     
    #13     Nov 14, 2020
  4. d08

    d08

    nodeJS is written in C/C++ so that's impossible. Most of the benchmarks are faulty to begin with. When done properly, C/C++ is magnitudes faster. Python is slower but no-one really uses native python for any larger datasets, modules are used which implement C/C++ underneath.
     
    #14     Nov 14, 2020
  5. 931

    931

    Amen.
     
    #15     Nov 22, 2020
  6. windwave

    windwave

    Definitely possible and if you are familiar with c++ then why not stick with it.
     
    #16     Nov 22, 2020
  7. There is just no reason to not use NumPy. There is no point in comparing "python vs C++". Your implementation in C++ is not going to be faster than NumPy.

    That doesn't even touch on the ecosystem you are then getting for free.
     
    #17     Jan 2, 2021
    sef88 likes this.