Tag Archives: simpler

tensorflow machine learning standard option for algo trading but there is simpler options

tensorflow machine learning standard option for algo trading but there is simpler options


Various links below show simple ways to use linear regression with R Squared. It then evolves into using SciKitLean Python Package which is relatively simple but could be effective if you are just after R Square to measure strength of the trend.




This next link offers a look the complicated TensorFlow Model Library from Google. This is the definite standard defacto in the financial industry. I know this when I saw samples used by high end HFT shops with their workshops for the Newsweek AI conference in NYC last Nov.

Set stock data target with https://medium.com/mlreview/a-simple-deep-learning-model-for-stock-price-prediction-using-tensorflow-30505541d877 <– TensorFlow complex but offers many options

I will also say that TensorFlow offer the most choice. See below a tip below from someone in my private Telegram group. This could save you loads of time instead of wasting time by going down rabbit holes.

For crypto use, https://dashee87.github.io/deep%20learning/python/predicting-cryptocurrency-prices-with-deep-learning/

Note that this uses Keras which obviously simpler than TensorFlow. I would probably move towards TF as I get deeper into this.

Here is that useful tip:

My quick-fire tips: in general I’ve had more success constantly-retraining the ML models (every day in your case) as opposed to the usual train/test/validate method. Either that, or use ML models that are specifically designed to capture the time-varying properties of time series (these models can usually be updated in an online fashion). Never used raw prices as inputs—there is so much autocorrelation in the features that the predicted price will just end up being the last close. Instead use returns (I prefer logarithmic returns over simple returns, but it doesn’t make much difference).

Try to use a target that is directly related to the outcome of a potential trade. If that is too complicated, try having separate targets for direction and volatility. I prefer regression algos to classifiers. If possible, require that your model predicts opposite scenarios for both a long and short trade; e.g. it predicts a long trade will make money *AND* a short trade will lose money, and vice-versa. Avoid neural networks when you’re just starting out – there are too many hyperparameters to tune. Ensemble methods are fantastic, and can be very profitable

Here is my conclusion:

If you are like me just trying to figure out general trend through LSR and R-square, I tend to use these for now. As a result, I may use the SciKitLearn example for simplicity but stop there. I really don’t want to go down the various rabbit holes to experiment with more complex ML libraries. I see no reason compared to the recent sub minute study/reseach/playing around experiment at the sub minute level I started back in Dec which became a time waster with no results.


For those keeping track, if you don’t want to use Python with TensorFlow there is a simpler C++ option



This is the simplest so far but which started this whole level of research


You can see how simple stuff turns complex


Williams % and Stochastics most reliable Matlab technical indicator

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Simpler architecture for my algo automated trading system

Simpler architecture for my algo automated trading system

This is a 30 minute video I blab about the simplified architecture. I also demo the 3 apps that are bringing this together. Download this PDF from here.after simulator architectuer

I recent posted about the simulator here. 

Original architecture here

Remember the some of the code is posted for my Quant Elite members! 

Join my FREE newsletter to learn how I advance this system 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

R models developed, more advanced and simpler than Matlab. Surprised? I am

How to develop an R model, algo, or strategy for HFT? More advanced,simpler, freer than Matlab. Surprised? I am

Hi  there

I have started researching which R packages (like Matlab toolboxes) are adequate for model, algo, and strategy development. Surprisingly, there are some good ones despite the ones I have found that were duds. Nonetheless, you will find I am quickly finding R source code samples that mimics the metrics and models I talk about in my Algo Course introduced a few weeks ago. Consider this Phase 2 of the course. I choose R because it is open source and is a zero dollar investment for you as opposed to thousands with Matlab. Also, my R development and tools appear to be even better than my Matlab environment. I can also develop remotely even on my Ipad.

So what happens now? I am also building a new infrastructure which will populate a large Redis (NOSQL database) cluster for further market data analysis. I already detailed this on my Youtube channel at Youtube.com/quantlabs. As I work on my models, it appears that I will quickly be implementing a paper trading mode phase. I am also hooked up with my favorite LMAX and IQFeed for data. Let’s see where this goes. Get access to the Premium Member section now:

See the benefits here:


See the Membership benefits here:



PS. Check out my new R blog at quantlabs.net/r-blog for more of my progress in R.



NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!