Blog

ChatGPT: intelligence?

When you test chatGPT, response is amazing. But it still do what data tells it? Open question is very slow response, which indicates it will search deeply it’s knowledge base to try finding answer. But most of time, open question is not good performance. Example, in English, kg and g unit conversion is encoded. But…

chatGpt: hot chariot, do you really worry?

OpenAI released chatgpt, a strong AI backed chatbot. You can ask anything. After some test, the sentence and paragraph is fluent, at least from my view, a non-native speaker. But almost all fact based question, chatgpt answer is wrong in fact. Yes, it is fluent. Here is some examples in Chinese. Example 1: Me: 邓小平是谁?…

How to configure Visual Studio Code for C/C++

Visual studio code is a good IDE for code developer, e.g. I am previously coding C++/C using visual studio in Window. But after I move into linux/mac os, I need to find a IDE (free). If you are a geek, maybe you like VI. But for me, I am familiar with IDE. Visual studio code…

How to save HTML to image

As I discussed in How to embed matplotlib figure in html, sometime the return from different third-party tools are HTML. In order to merge different analysis into one, I use image as a media. How to covert html to image? Then you can save HTML to image Here is an example to show merged image of…

How to embed matplotlib figure in html

Sometime, when we use third-party tool, which may provide visualization using matplotlib to plot figure and visualize the results. It is ok if we only use this tool. However, if we want to integrate these figures with other tools. The figures cannot be used. For example, I use backtrader to do backtest and visualize the…

Issue of module not found in Python 3.10

After upgrading python from Python 3.8 to 3.10, modules look installed in virtual environment previously, but cannot import. It will report e.g. module not found numpy, module not found pandas Try uninstall install version and install again like Still same error when e.g. import numpy Solution:

Christmas coming to orchard road

All Christmas decorations ready to show in the orchard road. Shops welcome first normal Christmas after 3-year Covid. Hope everything will be normal soon in the world. So I can back to home town to gather with old father and mother.

It works to copy custom HTML into post.

The post is to test whether custom HTML can work in wordpress. Unfortunately, only table display and figure cannot. Share strategy backtest report and predicted signal. Not so correct, but ok as reference. TQQQpredict openpredict closepredict highpredict lowSignal2022-10-2521.3622.0822.0721.06buy2022-10-2622.4622.5523.1422.06buy Key Performance Metrics MetricStrategy Risk-Free Rate0.0% Time in Market74.0% Cumulative Return48.62% CAGR﹪17.1% Sharpe0.98 Prob. Sharpe Ratio93.65% Smart…

How to create long-short strategy using backtrader

In the last post How to build machine learning model to generate trading signal, I share the general processing flow to apply machine learning based signal prediction to create a long strategy. Now I will share how to create a long-short strategy using backtrader to improve the trading performance. In the following, I will discuss four…

Loading…

Something went wrong. Please refresh the page and/or try again.


Follow My Blog

Get new content delivered directly to your inbox.