Writting an algorithm in C++

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

  1. Hello everyone,

    I would like to develop an algorithm in C++ that would analyses stocks price and volume behavior in a single time frame (from 9:30am to 9:33am for example), with a pre-market volume of 50K for the last 250 days and in case of RSI 70, short the position or RSI 30 then buy the position. Is that even possible?

    Thanks for a lot for your help!
     
  2. it is possible, not hard at all
     
    zenmaster likes this.
  3. Girija

    Girija

    why not? when there is a will anything is possible
     
    zenmaster likes this.
  4. 2rosy

    2rosy

    a few lines in python. more lines in c++
     
    Russell Shuffle, sef88 and zenmaster like this.
  5. wrbtrader

    wrbtrader

    You can also backtest this prior to any real money on the line.

    wrbtrader
     
    zenmaster likes this.
  6. Thanks a lot you all!
     
  7. socool

    socool

    You could try backtesting.
     
  8. I always use node js if I can. Benchmarks show that it performs much better than python and C#/C++ in situations with large amounts of data and with a large number of operations. Your four conditions calls for a few simple lines of code anyways. To cover all bases, you would also need to consider conditions for exits, profit targets and time decay.
     
    zenmaster likes this.
  9. Thanks Erv. Not sure I can run through a platform developed in c++. What you think?
     
  10. you create a DLL and call it into your platforms compiler.
     
    #10     Nov 3, 2020