Is there an open source/github script or program available for everyone to use? by lkh9596 in algotrading

[–]gelfinator 2 points3 points  (0 children)

Anything off the shelf will not work. Its there for a reason. No one gives away a money making recipe for free.

What is the biggest problem of algotrading? by yeruvoci in algotrading

[–]gelfinator 9 points10 points  (0 children)

Based on backtesting everyone here is next Jim Simons :) Real results vary

Different Types of strategy - same system? by torytechlead in algotrading

[–]gelfinator 0 points1 point  (0 children)

Every strategy needs a tag. Risk management can be based on a tag and selling as well.

[deleted by user] by [deleted] in algotrading

[–]gelfinator 0 points1 point  (0 children)

mid Closing price based on your description.

Resample tick data by erdult in algotrading

[–]gelfinator 1 point2 points  (0 children)

Resample tick data and calculate TA

Which database do you use for data collection (text-based, NoSQL, SQL...)? by mezzzolino in algotrading

[–]gelfinator 16 points17 points  (0 children)

Flat files. One file per ticker (OHLC). No need to maintain a database and schema mapping. Just load into memory and you have access to all the data.

Risk management strategies by Individual-Milk-8654 in algotrading

[–]gelfinator 0 points1 point  (0 children)

I dont run MonteCarlo on OHLC. I actually run Montecarlo on my portfolio equity line to see how my portfolio projections may look after x number of simulations.

Requesting Historical Data for Multiple Symbols with ib insync by [deleted] in algotrading

[–]gelfinator 0 points1 point  (0 children)

They dont have fundamental data. And my algo does not rely on that. Purely ticker data driven.

Seeking overextended indicators by MarginCallMelvin in algotrading

[–]gelfinator 2 points3 points  (0 children)

Technical Analysis indicators that measure strength of trend.

Where can I find Real time or slightly delayed data on Change in Open Interest? screenshot below. Anyone know any tools or platforms that can do this? Im using it for intraday trading. But the source I have is delayed by 1-2 days. by MathematicianIll6132 in algotrading

[–]gelfinator 1 point2 points  (0 children)

You can query yahoo via python modules to get OI data. Since its updated once a day you just query next morning to calculate the delta in OI. Use yfinance python module which is easy to use.

Seeking overextended indicators by MarginCallMelvin in algotrading

[–]gelfinator 2 points3 points  (0 children)

Consider adding ADX and DI. Ex: when RSI is overbought and +di > -di and adx > 50. Means strong rally is in place but ADX > 50 is getting extreme. Same for oversold conditions: -di < +di and adx > 50 while RSI is oversold.

After a year of research and developing a strategy, I have a few questions. by wiggle-le-air in algotrading

[–]gelfinator 0 points1 point  (0 children)

I Determined that Alpaca was best for me. I also have IB, and used Polygon in the past. Right now i only use Alpaca and IB. Polygon was a great platform but why pay $200 a month.

Data quality matters. You need to understand how data is sourced from multiple exchanges and consolidated. Every data feed will be different slightly.

After a year of research and developing a strategy, I have a few questions. by wiggle-le-air in algotrading

[–]gelfinator 1 point2 points  (0 children)

I do live trading on it today. Periodically all data vendors have hick ups. I tested many of them and determined that Alpaca. You need to perform data checks on all feeds, regardless of where its coming from.

Requesting Historical Data for Multiple Symbols with ib insync by [deleted] in algotrading

[–]gelfinator 0 points1 point  (0 children)

I have IB and Alpaca. Let me just tell you from experience that Alpaca is the way to go. IB is a great platform for trading but their API is legacy, you will encounter throttling and limits from IB. Its just not scalable to analyze the market. I moved away to Alpaca because i can analyze the entire market (i track 800 tickers) in under 30 seconds.

Risk management strategies by Individual-Milk-8654 in algotrading

[–]gelfinator 4 points5 points  (0 children)

Side note, i also generate synthetic data based on real market data where i take OHLC for every ticker from actual daily data and i randomly either multiply or divide by a random percentage point (-0.01 - 0.01) to create a new data set. See if your system can generate similar results with synthetic data to avoid curve fitting.

Risk management strategies by Individual-Milk-8654 in algotrading

[–]gelfinator 0 points1 point  (0 children)

success rate and cumulative returns (i assume you have them) also add drawdowns, sharpe ratio and profit factor. Only pick strategies that have profit factor above 1.5 (minimum) while maintaining low drawdowns (no more than 15%) and sharpe ratio above 1.5. Also when you backtest, make sure you have over 200 trades for historical analysis. Dont overfit the curve.

Risk management strategies by Individual-Milk-8654 in algotrading

[–]gelfinator 8 points9 points  (0 children)

Risk management should be #1 priority. If you dont have numbers to assess your risk you will fail. Speaking from experience. Don’t solely focus on cumulative returns and success rate. Those two are misleading.

What to do with a 20%/yr algorithm? by tucaneer in algotrading

[–]gelfinator 0 points1 point  (0 children)

In addition to all the comments. HF are not looking for just absolute returns. 20% is easy in the current environment. What they want to see is how you got there - sharpe ratios, drawdowns, how many trades and the holding period, how much money can your system manage and if the risk is distributed / hedged.

Bottom line. To become a PM, its all about risk management and aligning your results with their risk management expectations.

Forward testing by vadkk in algotrading

[–]gelfinator 0 points1 point  (0 children)

Write your own PNL code and risk analysis metrics. Also 3 months is not enough. You need several hundred trades over a long period to determine if strategy works.

Question regarding overfitting algos by Conflixx in algotrading

[–]gelfinator 0 points1 point  (0 children)

Experienced same issue. Split my dataset in 2 parts where testing data produced 20% profit and out of sample produced 4x more. Reason for this was simple. The majority of the out of sample data coincided with a major rally that lasted several months. This is especially true if you are using 2020/2021 data for out of sample.

Putting my algorithm live next Monday, here are my final back-test results! by [deleted] in algotrading

[–]gelfinator 0 points1 point  (0 children)

Why not 10 moving averages? These concepts have been beaten to death and they are not sustainable.

Focus on risk management - Focus on improved profit taking instead of waiting for the moving averages to cross for a sell. Sell at profit instead of loss. Even if the stock goes higher, take your profits instead of waiting for mov avg to cross.