A simple way to save TradingView alerts to Google Sheets
Quant Nomad Blog
by QuantNomad
2w ago
TradingView has become immensely popular among traders for its comprehensive suite of analytical tools and user-friendly interface. One of its most utilized features is the server-side alerts, which allow traders to set up notifications based on specific market conditions without the need to keep the trading terminal open. This functionality enhances trading efficiency and ensures users do not miss potential trading opportunities. While TradingView offers a robust array of features, its capabilities might not always meet all analytical needs. In such cases, traders often find it necessary to ..read more
Visit website
Consecutive Alerts from Custom TradingView Screener
Quant Nomad Blog
by QuantNomad
2w ago
Screeners are crucial tools for traders, providing a way to filter stocks and other financial instruments based on specific criteria. This allows traders to efficiently identify potential investment opportunities that align with their trading strategies. By leveraging screeners, traders can save time, focus on high-potential prospects, and make informed decisions based on data-driven analysis, enhancing their overall trading performance. TradingView, while popular among traders for its comprehensive charting tools, lacks robust options for custom screeners, limiting users’ ability to tailor sc ..read more
Visit website
Logging in Pine Script
Quant Nomad Blog
by QuantNomad
1M ago
Logging is a crucial aspect of programming, providing insights into software’s behavior during execution. It not only helps in debugging by recording events and errors, allowing developers to trace issues back to their source, but it also plays a significant role in monitoring the performance and health of applications in production. Through effective logging, programmers can understand the flow of their code, making it easier to diagnose problems, optimize performance, and ensure the reliability and stability of their applications over time. For a long time, developers working with Pine Scrip ..read more
Visit website
Buffett indicator in TradingView
Quant Nomad Blog
by QuantNomad
2M ago
The Buffet Indicator, named after the renowned investor Warren Buffett, is a financial metric used to gauge the overall valuation of the stock market relative to the economy. It is calculated by dividing the total market capitalisation of publicly traded stocks in a country by its Gross Domestic Product (GDP). Essentially, the Buffet Indicator compares the size of the stock market to the size of the economy. Warren Buffett has mentioned that this ratio can be a strong indicator of whether the stock market is overvalued, fairly valued, or undervalued compared to historical averages. A high rati ..read more
Visit website
Running Grid Optimization for Backtests in Python using vectorbt
Quant Nomad Blog
by QuantNomad
1y ago
After running backtests, many quants want to know the best parameters for their strategies. For that, you can run one of the optimization algorithms that will find the best combination of parameters to give you the best metrics you want to optimize. It’s a pretty helpful feature, and many quants use it. However, you must use it carefully because it’s pretty easy to overfit your strategy. In this article, I’ll show you how to code and run grid optimization in Python. It’s the easiest way to perform optimization. In short, we’ll create a grid of different parameters we want to try and then run a ..read more
Visit website
Downloading the entire history of the USD Yield Curve in Python
Quant Nomad Blog
by QuantNomad
1y ago
With the latest events on the market USD yield curve has become a very hot topic in all the news. Many traders want to use it in backtest and custom quantitative analysis. In this small article, I’ll show you how to download the entire history of the US Yield curve in Python just in a few lines of code. Fortunately, this data is free, and you can easily download it from the U.S. DEPARTMENT OF THE TREASURY website. When you check this website, you’ll see a table with a yield curve for 2023 in a nice table: In addition to that, you can see a link to download it as CSV and a dropdown to select t ..read more
Visit website
An easy way to sort a screener in Pine Script. How to sort a few arrays at the same time?
Quant Nomad Blog
by QuantNomad
1y ago
TradingView provides an incredibly powerful platform for traders to analyze the markets and make informed decisions. One of the most desired features of Pine Script is custom screeners. Custom screeners allow traders to quickly and easily find stocks/coins that meet their criteria. Quite often, you might want to sort the result of your customs screener. This can help you to spot stocks/coins with the biggest/smallest values of specific indicators pretty easily. In this article, I’ll show you only a few lines of code way to do that. Let’s start with the following code for a simple screener ..read more
Visit website
Why your live trading is so much worse than your Backtests?
Quant Nomad Blog
by QuantNomad
1y ago
Introduction This is the question people ask me very often. And it’s happening with both retail and institutional traders who are trying to run systematic strategies. There are quite a lot of things that can go wrong between perfect backtesting results and pure trading performance. In this article, I’m trying to cover all the reasons that are most frequent from my experience. Of course, this might not be everything, so feel free to leave comments with another case you had in your trading. Human factor Keep emotion under control. Let’s start with a human factor. If you don’t have a fully automa ..read more
Visit website
How to plot horizontal lines in Pine Script.
Quant Nomad Blog
by QuantNomad
1y ago
Pine Script is an excellent tool for creating data visualizations. It has a wide range of plotting tools that allow users to graph data in a variety of ways. With these tools, users can customize the look of the graph to their liking, as well as make adjustments to the data to get the most out of their visualizations. In this article, I’ll cover a straightforward but pretty important feature of plotting in pine script – horizontal lines. The easiest way to plot a horizontal line for the entire width of your chart is to use the plot() function. Just pass to it the value you need, and you’ll get ..read more
Visit website
Downloading the entire history of OHLC bars from Kraken with Python
Quant Nomad Blog
by QuantNomad
1y ago
Kraken is a very popular exchange. Currently, it holds 3rd place in terms of 24h volume traded. Quite a lot of people try to create systematic trading models based on Kraken’s data. Some time ago, I already published an article where I showed how to get data from Kraken. The problem is that for OHLC, you get only the last 720 bars with the standard endpoint. Fortunately, there is a hack that will allow you to download OHLC for any timeframe for the entire history. In this article, I’ll show you how you can do that. Kraken, unfortunately, has this limitation on the number of OHLCs you can get ..read more
Visit website

Follow Quant Nomad Blog on FeedSpot

Continue with Google
Continue with Apple
OR