Coding With Brett
Coding With Brett
  • 122
  • 423 706
Does Buying the ETF Dogs Outperform the S&P500?
The Dogs of the Dow is a proven long term investment strategy for outperforming the market. But does it work with Exchange Traded Funds instead of individual stocks? The results will surprise you!
00:00 - Dogs of the Dow strategy
00:40 - ETF dogs strategy
03:00 - Backtesting
05:30 - 2024's ETF dogs
07:42 - Inverse dogs
My Dogs of the ETF Universe strategy in full: www.etfsectordata.com/Dogs/
ETF dogs interactive backtesting tool: www.etfsectordata.com/DogsTool/
My strategy is somewhat different to the original strategy. Instead of screening stocks for the 10 highest yielders, I simply bought the 3 worst performing ETFs of the year, then held them throughout the following year. I then rotated into the next 3 dogs. The results were pretty spectacular. I scored a massive hit by being long China in 2024. An ETF full of meme stonks soared for me in 2023. The best dog was Turkey - up a stunning 91.6% in 2022. Some flopped, but overall the strategy returned 169% in just 3 years.
Warning: my site is new and I also need to backtest the strategy to see how it performed before 2022. My site also only lists 105 ETFs. Although I've covered most investible countries and stock sectors, I still need to add fixed income and some other sectors.
In this video I also ran the same methodology on the inverse dogs (i.e. buying the 3 best performing ETFs each year) to see if momentum is a winning strategy.
Incidentally this strategy could also be used with investment accounts where you only have a limited selection of investment choices such as mutual funds.
Dogs of the Dow: www.dogsofthedow.com/
Disclaimer: this video is for entertainment purposes only and is not financial advice.
มุมมอง: 13

วีดีโอ

How to Add Library in Arduino IDE
มุมมอง 2.3K6 หลายเดือนก่อน
Here's how to add a library in the Arduino IDE, either through the library manager or from a GitHub repository's ZIP file. The same methods can be used for an Arduino Uno, Arduino Mega, ESP32, ESP8266 or any other microcontroller supported by the Arduino IDE. I also show you how to find the library source code files and examples on your computer. 00:00 - Introduction 00:13 - Add library via Ard...
Where Are Arduino Libraries Stored?
มุมมอง 8606 หลายเดือนก่อน
I thought I'd make a quick video that helps you locate Arduino libraries if you're using the Arduino IDE. Usually you can just install new libraries through the Arduino IDE, but there are a few reasons why you might need to open the folder and edit the files: 1. You need to edit a library's configuration file. You need to do this if you're using the Bodmer eSPI_TFT library. 2. You want to find ...
Fun ESP32 Project: Foul Bachelor Frog Meme Displayer (SSD1351 SPI OLED)
มุมมอง 2536 หลายเดือนก่อน
Here's how to make a fun little Foul Bachelor Frog (FBF) meme display device using an ESP32 microcontroller and an SSD1351 OLED display. It's a great beginner project and will definitely impress your emo friends. Maybe it will even help you find a girlfriend. Or possibly not. It would be easily modded to show other memes from the era when the internet was actually fun. I also made some other ad...
How to Connect DHT11/DHT22 Temperature Sensor to ESP8266
มุมมอง 5016 หลายเดือนก่อน
Here's a quick tutorial that shows you how to connect up an ESP32 microcontroller to either the DHT11 or DHT22 low cost temperature and humidity sensors. The DHT11 is cheaper but the DHT22 is a better option if you want more accurate readings. This example uses the Adafruit DHT library, which supports both the DHT11 and DHT22. 00:00 - DHT11 vs DHT22 00:44 - Connect ESP8266 to DHT sensor 02:06 -...
ESP32 Send Temperature Data to Home Assistant
มุมมอง 2.3K6 หลายเดือนก่อน
Here's how to connect an ESP32 to Home Assistant and send realtime sensor data to Home Assistant over wifi. The code will also work with the ESP8266 with minimal modifications. Be warned there's something wrong with my hardware setup, but the data sending process itself works flawlessly. 00:00 - Introduction 00:36 - Installing an MQTT Broker 02:10 - Configure Home Assistant MQTT integration 03:...
ESP32 Find and Change Wifi Mac Address
มุมมอง 1.4K6 หลายเดือนก่อน
Here's how to quickly find and then change the Wifi Mac Address of an ESP32 microcontroller. The ESP32's Mac Address is assigned at the factory, but you can change it to another Mac Address of your choosing. This is really useful if you're using Home Assistant or another Internet of Things service or you're streaming video from an ESP32 CAM. Just be aware you can't permanently change the ESP32'...
Easy ILI9341 + ESP32 LCD TFT Display Tutorial (SPI/Bodmer)
มุมมอง 7K6 หลายเดือนก่อน
Here's a quick tutorial that shows you how to get an ILI 9341 TFT LCD display working with an ESP32 using the SPI protocol and the Bodmer graphics library. The display module I'm using here is the Waveshare 2.4 inch LCD module. It features a 240x320 pixel display. 00:00 - Introduction 00:49 - Configuring the TFT_eSPI library 02:37 - Configuring the backlight 03:18 - LCD test #1: Digital Rain 04...
How to Connect DHT11/DHT22 Temperature Sensor to ESP32
มุมมอง 1.4K6 หลายเดือนก่อน
Here's a quick tutorial that shows you how to connect up an ESP32 microcontroller to either the DHT11 or DHT22 low cost temperature and humidity sensors. The DHT11 is cheaper but the DHT22 is a better option if you want more accurate readings. 00:00 - DHT11 vs DHT22 00:30 - Connecting DHT to ESP32 01:30 - Arduino DHT library 02:48 - Configure the sketch 03:26 - Code walkthrough 03:54 - DHT22 te...
How to Display Animated GIF on OLED/TFT (ESP32, Arduino, ESP8266)
มุมมอง 9K6 หลายเดือนก่อน
Here's a quick tutorial that shows you how to display an animated GIF on a OLED or TFT display using the SPI protocol. It should work on any microcontroller that is supported by the Arduino IDE. In this example no external SD card is required. All you need is a microcontroller and a OLED or TFT display that supports SPI. It's a good idea to use an ESP8266 or ESP32 for this rather than an Arduin...
Rant: Visual Studio Annoying Markup Snippet Popup in Razor/HTML
มุมมอง 656 หลายเดือนก่อน
This Markup Snippet in Visual Studio 2022 is so annoying! It keeps popping up when you're trying to write text or HTML in Visual Studio's Razor Views or maybe HTML pages too. It really slows down typing and is incredibly distracting. I really wish Microsoft would stop adding useless AI features to Visual Studio. They just get in the way of writing code! I don't know how to turn it off but maybe...
First 10 Days Being Monetized - How Much Did I Make?
มุมมอง 1957 หลายเดือนก่อน
Here's how much money my small TH-cam channel made in the first 10 days of being monetized in 2024. I mostly produce faceless coding tutorials and troubleshooting guides. I'm trying to stay within the same niche as much as possible, because that definitely helps to build an audience and help the algorithm push out your content to a wider audience. 00:00 - About my channel 00:52 - Income reveal ...
Live UK Train Departures Board (ESP32 + ePaper Display)
มุมมอง 7287 หลายเดือนก่อน
Here's how to build a train departure board using an ESP32, a Waveshare e-Paper display panel an API call to retrieve some Json data. In this particular example I've used it to display a list of departures from a specific UK train station. You could easily modify it to display departure data from another rail hub or even an airport. If you're using the display on a model railway or diorama you ...
ESP32 HTTPS: Install SSL Certificate and Retrieve Data
มุมมอง 1.6K7 หลายเดือนก่อน
Here's how to connect an ESP32 to a website using SSL and download content using https. While trivial on other operating systems and programming environments, it's actually quite complicated to get working on the ESP32. After two frustrating days I managed to get it to work. In this example I'm using the WiFiClientSecure library and code sample. This is a wrapper on top of the widely used WifiC...
How to Make a Mini Social Media Updates Display (ESP32 + Waveshare ePaper)
มุมมอง 2997 หลายเดือนก่อน
I thought I'd share this little beginner project I made using the ESP32 microcontroller and a Waveshare ePaper display. What you will learn: basic C classes, Arduino String class, randomised data including string construction, displaying of bitmaps on ePaper panels, sleep and wake up ESP32. It's a nice idea for a school or university microcontroller project. You don't have to use anime dolls - ...
How to Draw Bitmap Images on Waveshare ePaper Displays (SD Card NOT Required)
มุมมอง 1.1K7 หลายเดือนก่อน
How to Draw Bitmap Images on Waveshare ePaper Displays (SD Card NOT Required)
How to Draw Shapes on Waveshare ePaper Displays (GxEPD2)
มุมมอง 1.1K7 หลายเดือนก่อน
How to Draw Shapes on Waveshare ePaper Displays (GxEPD2)
Cool Matrix Digital Rain for ESP32/ESP8266 OLED/TFT Displays
มุมมอง 5077 หลายเดือนก่อน
Cool Matrix Digital Rain for ESP32/ESP8266 OLED/TFT Displays
ESP32 Retrieve JPEG From Web & Display on OLED/TFT
มุมมอง 1.5K7 หลายเดือนก่อน
ESP32 Retrieve JPEG From Web & Display on OLED/TFT
Easy ESP32 Waveshare ePaper Display Tutorial
มุมมอง 12K7 หลายเดือนก่อน
Easy ESP32 Waveshare ePaper Display Tutorial
Export Images From GIMP & Display on ESP32 OLED/TFT
มุมมอง 7358 หลายเดือนก่อน
Export Images From GIMP & Display on ESP32 OLED/TFT
ESP32 OLED Yoda Quote Display - Learn to Code You Must
มุมมอง 3808 หลายเดือนก่อน
ESP32 OLED Yoda Quote Display - Learn to Code You Must
Display Full Color Images on ESP32 + SSD1351 OLED
มุมมอง 3.3K8 หลายเดือนก่อน
Display Full Color Images on ESP32 SSD1351 OLED
How to Make Your Own DECO*27 It's Not a Devil Music Video
มุมมอง 3018 หลายเดือนก่อน
How to Make Your Own DECO*27 It's Not a Devil Music Video
Solved: How to Make Stickers Transparent on CapCut PC
มุมมอง 6838 หลายเดือนก่อน
Solved: How to Make Stickers Transparent on CapCut PC
Solved: Arduino IDE 'Undefined Reference to Loop'
มุมมอง 6208 หลายเดือนก่อน
Solved: Arduino IDE 'Undefined Reference to Loop'
How to Receive MQTT Messages From ESP32 Sensors in C#
มุมมอง 7088 หลายเดือนก่อน
How to Receive MQTT Messages From ESP32 Sensors in C#
I Wrote This ZX Spectrum Game in 1988 - Will it Load?
มุมมอง 1168 หลายเดือนก่อน
I Wrote This ZX Spectrum Game in 1988 - Will it Load?
PIR Sensor Troubleshooting for IoT Microcontrollers
มุมมอง 5378 หลายเดือนก่อน
PIR Sensor Troubleshooting for IoT Microcontrollers
ESP32 Wake up with PIR Motion Sensor
มุมมอง 2.6K8 หลายเดือนก่อน
ESP32 Wake up with PIR Motion Sensor

ความคิดเห็น

  • @Oldaccount405
    @Oldaccount405 2 วันที่ผ่านมา

    Good video!

  • @jarretteemaximus
    @jarretteemaximus 9 วันที่ผ่านมา

    This helped me so much it’s the only vid I could find that helped!😊

  • @NeZ3RMWA
    @NeZ3RMWA 11 วันที่ผ่านมา

    The problem for me was that i had it downloading and installing at the same time !!! Changed that to download and install after !! SOLVED IT !!

  • @Dani_Robotics
    @Dani_Robotics 13 วันที่ผ่านมา

    Great video!! Is there an option to overlay 2 images? Thnsk!

  • @bamboozledpanda1
    @bamboozledpanda1 13 วันที่ผ่านมา

    Lol mine was at 67. Thank you!

  • @thomasl.4081
    @thomasl.4081 20 วันที่ผ่านมา

    What about the 4 color (white, black, dark and light gray) Waveshare e-paper? It seems there is no easy way becaus xmp supports black/white only...

  • @MyBroadhurst
    @MyBroadhurst 25 วันที่ผ่านมา

    anyone know the pin mapping for esp8266?

  • @bearman_1826
    @bearman_1826 26 วันที่ผ่านมา

    Windows makes me wanna die everyday. Thanks for the fix!

  • @ermdurkfreestylez7625
    @ermdurkfreestylez7625 29 วันที่ผ่านมา

    Thank you

  • @thomasl.4081
    @thomasl.4081 หลายเดือนก่อน

    Thanks. But I get an error: error: 'display' was not declared in this scope; did you mean 'delay'? In the "Hello World" example a variable "display" is used first in line 48 (see 3:10 in video), but not declared. What is the problem in my case? A missing library? But I followed your instructions step by step...

  • @thomasl.4081
    @thomasl.4081 หลายเดือนก่อน

    Can you show a minimum program with header and setup to draw one pixel? My problem is to start any of these GxEPD2 examples.... Are other libraries necessary? To which pins must the cables be connected?

  • @aemaeth42
    @aemaeth42 หลายเดือนก่อน

    Muito boa a sua explicação! Excelente trabalho meu caro!

  • @zara7332
    @zara7332 หลายเดือนก่อน

    I followed the image at 2:58 to connect the wires, then after the esp32cam couldnt connect I realised that all the pins on my FTDI were mirrored compared to the image, just had to pull them out, turn 180° and now it works.

  • @Gam1ngPhase
    @Gam1ngPhase หลายเดือนก่อน

    Oh my gosh tysm! I know it would’ve annoyed me if I wouldn’t be able to get this.

  • @dagatanricamaep.5956
    @dagatanricamaep.5956 หลายเดือนก่อน

    Thank you so much for this video

  • @Tree_Chase
    @Tree_Chase หลายเดือนก่อน

    thank you! mine was at 75

  • @GILBERTATILANO-h9c
    @GILBERTATILANO-h9c หลายเดือนก่อน

    how about temperature and HUMIDITY sir?

  • @marston2413
    @marston2413 หลายเดือนก่อน

    How about for phone?

    • @codingwithbrett
      @codingwithbrett 24 วันที่ผ่านมา

      Sorry I don't know about the phone version. I only use the PC version.

  • @misteriosa6901
    @misteriosa6901 หลายเดือนก่อน

    SHT VIDEO

  • @kling0n3
    @kling0n3 หลายเดือนก่อน

    I have made the following changes in the “CameraWebServer” sample code in order to operate the Flash LED via the web interface: File “app_httpd.cpp”: #define LED_LEDC_GPIO 4 File “camera_pins.h”: #define LED_GPIO_NUM 4 Depending on the board, other pins may be required.

  • @KossuJahvetti
    @KossuJahvetti หลายเดือนก่อน

    Passing 24h now struggling with this..not excatly same setup and sensors as yours but damn shouldn't be this hard. I can see that Esp32 is connected to broker and receive messages but it doesn't recognize any new device or sensors in HA. It obviously would be easy to give up and let esphome do everything but that wouldn be any fun..

  • @Leptonite
    @Leptonite หลายเดือนก่อน

    You literally saved my final year project.

  • @dondp7500
    @dondp7500 หลายเดือนก่อน

    ty so much omg

  • @DevidasBhobe
    @DevidasBhobe 2 หลายเดือนก่อน

    That guy going crazy was oddly cathartic

  • @Sanchez9241
    @Sanchez9241 2 หลายเดือนก่อน

    how to get this aniimations from sd card if its size is bigger than arduino memory?

  • @zhenyadesilva
    @zhenyadesilva 2 หลายเดือนก่อน

    I think ESP32 internal LED blinking is there to communicate when data is written to and written from it to the serial. digitalWrite() doesn't seem be able to override that behaviour. But you can make it blink at different rates with different delays between two serial.println() commands. I was trying to replicate Blink example from Arduino uno and this was the only way I could do it.

  • @suji730
    @suji730 2 หลายเดือนก่อน

    Here i used tft7735 1.8' display (160*128) But the problem arises here i trying to show various gifs but all the emojis has bluish tones..... Here i am reading from the sd card I checked all the instructions in user setup file but all are waste of time 😢 Can you guess what the problem is? I also uncommanted the rgb,bgr orders.. Green tab, ref tab orders...all thinks

  • @TheServiceDogChannel
    @TheServiceDogChannel 2 หลายเดือนก่อน

    What would be the size for a YT short?

  • @SaddamHussain-ln5ei
    @SaddamHussain-ln5ei 2 หลายเดือนก่อน

    your videos are very unique and for sure helpful with every detail, and I wonder if you can help me a query here, can we use e-ink display as primary display connected via SPI interface, I was told that BIOS configuration needs to be changed to do so, do you have any video on how to do it all.. or can you at least point me in right direction :)

  • @veecross
    @veecross 2 หลายเดือนก่อน

    I appreciate this video!🎉 I was recording and and sound was great…all of a sudden people couldn’t hear me talking. I did a test video and changed settings in obs and it was still not how I had it. I checked my windows settings just now and it was all the way on 12 😑. Lol, thanks for the info!

  • @CasMellow
    @CasMellow 2 หลายเดือนก่อน

    Doesn’t work for me :/

  • @MarcoZedda-pu7hw
    @MarcoZedda-pu7hw 2 หลายเดือนก่อน

    I tried and tried but it doesn't work, I need help, I have a minimal Arduino R1 programmable board

  • @melonpip
    @melonpip 2 หลายเดือนก่อน

    why do you talk like that?

  • @genericuser77
    @genericuser77 2 หลายเดือนก่อน

    Hello, when compiling I get this error - please advise!! 'union arduino_event_info_t' has no member named 'disconnected'; did you mean 'eth_connected'? It is highlighting the last line here: eventID = WiFi.onEvent([](WiFiEvent_t event, WiFiEventInfo_t info) { Serial.printf( " frame_cnt: %8d, WiFi event Reason: %d , Status: %d ", frame_cnt, info.disconnected.reason, WiFi.status()); logfile.printf(" frame_cnt: %8d, WiFi event Reason: %d , Status: %d ", frame_cnt, info.disconnected.reason, WiFi.status());

  • @ShiroAisan
    @ShiroAisan 2 หลายเดือนก่อน

    They made it harder to access the templates :(

    • @codingwithbrett
      @codingwithbrett 24 วันที่ผ่านมา

      Thanks for letting us know. Chrome browser has a built in translator. I don't know if that would help.

  • @bpalmone
    @bpalmone 2 หลายเดือนก่อน

    snprintf (msg, MSG_BUFFER_SIZE, "\{\"Temperature\": %4.1f, \"Humidity\": %4.1f\}", t, h);

  • @perokokpasif
    @perokokpasif 2 หลายเดือนก่อน

    thanks , i bought esp 32 wrover ie yesterday ,using the blink from the examples doesnt work (i thot myesp was broken) but your code work 😁😁👍👍

  • @ZainDamudi
    @ZainDamudi 2 หลายเดือนก่อน

    Great, Thanks a lot - it works

  • @BeginnerDev
    @BeginnerDev 2 หลายเดือนก่อน

    Do changes need to be made to the User_Setup.h file for the TFT SPI library?

    • @rolandor9678
      @rolandor9678 12 วันที่ผ่านมา

      He doesn't mention it, but you do indeed have to modify the User_setup.h file.

    • @BeginnerDev
      @BeginnerDev 11 วันที่ผ่านมา

      @@rolandor9678 thanks

  • @BeginnerDev
    @BeginnerDev 2 หลายเดือนก่อน

    Can you provide the working code? I am having trouble getting anything to display on the display. The previous tutorial (for a static image) worked great using the adafruit gfx library. I get no error codes and my serial monitor displays "Succesfully opened gif" but the screen remains black. Please help! I should also note the following lines (in setup) never show in the serial monitor: Serial.println("ESP32 is starting up"); // initialize screen Serial.println("TFT screen intialising"); I think the issue is related to the pins? I am using 0 2 and 4 just like in your example. Or perhaps it is the User_Setup.h file. I believe we need to make changes to this file but you did not mention it in the video : (

    • @rolandor9678
      @rolandor9678 12 วันที่ผ่านมา

      You just have to modify the User_setup.h code in the section where you assign the pins using. file path: Arduino/libraries/TFT_eSPI/User_Setup.h 1.- uncomment the line: #define SSD1351_DRIVER 2.- Search the code for the section: // ###### EDIT THE PIN NUMBERS IN THE LINES FOLLOWING TO SUIT YOUR ESP8266 SETUP ###### 3.- Comment: #define TFT_MISO PIN_D6 // Automatically assigned with ESP8266 if not defined #define TFT_MOSI PIN_D7 // Automatically assigned with ESP8266 if not defined #define TFT_SCLK PIN_D5 // Automatically assigned with ESP8266 if not defined #define TFT_CS PIN_D8 // Chip select control pin D8 #define TFT_DC PIN_D3 // Data Command control pin #define TFT_RST PIN_D4 // Reset pin (could connect to NodeMCU RST, see next line) 4.- Find the part of the code: // ###### EDIT THE PIN NUMBERS IN THE LINES FOLLOWING TO SUIT YOUR ESP32 SETUP ###### 5.- Uncomment the lines: //#define TFT_MOSI 23 //#define TFT_SCLK 18 //#define TFT_CS 15 // Chip select control pin //#define TFT_DC 2 // Data Command control pin //#define TFT_RST 4 // Reset pin (could connect to RST pin) 6.- Assign the pins used in the video example: #define TFT_MOSI 23 #define TFT_SCLK 18 #define TFT_CS 0 // Chip select control pin #define TFT_DC 2 // Data Command control pin #define TFT_RST 4 // Reset pin (could connect to RST pin) 7.- Save changes and compile Arduino project

  • @NathanielAnderson
    @NathanielAnderson 2 หลายเดือนก่อน

    In my case, my work VPN was on and the background task to update Visual Studio was running 30-40 minutes without completing. Once I turned *off* my work VPN, the Visual Studio update seemed to finish quickly. Just in case this tip helps someone else. Disclaimer: Follow your workplace policy!

  • @daryl7237
    @daryl7237 2 หลายเดือนก่อน

    Hi I have a question I have a esp32 when I try to get the MAC address! It show the Mac address 00:00:00:00:00:00 do you know why?

    • @mhee4832
      @mhee4832 หลายเดือนก่อน

      me too

  • @martinkuliza
    @martinkuliza 2 หลายเดือนก่อน

    "The most difficult to get working" ?? NO.. HELL NO !! I'd give that award to the Arduino Nano ESP32 is bloody easy. I mean once you get past that step of adding the board to the IDE After that it's easy

  • @jolttsp
    @jolttsp 2 หลายเดือนก่อน

    Bless you sir. I would add a note, and maybe you said it and i missed it. There might be multiple that match yours (eg 420 400x300), dont be disheartened if it doesnt work, just go down the list. 2 of the 5 worked for me for whatever reason lol

  • @azula6878
    @azula6878 3 หลายเดือนก่อน

    Bro tysm i was extremely confused, i thought there wouldn't be a video *this* specific on my problem but i was wrong! Have a good day

    • @Gam1ngPhase
      @Gam1ngPhase หลายเดือนก่อน

      Same here!

  • @mfrancovaz
    @mfrancovaz 3 หลายเดือนก่อน

    ty!

  • @KJ7JHN
    @KJ7JHN 3 หลายเดือนก่อน

    Can i read from a memory address just the same? As an example, output from a raspberry pi is read and written to memory. The arduino loop reads the memory address over and over again and outputs to the spi oled. ??

  • @anfinndanielsen4156
    @anfinndanielsen4156 3 หลายเดือนก่อน

    This was monster helpful for me ✅️ Thanks ❤️ Sub✅️

  • @missShirminaktar
    @missShirminaktar 3 หลายเดือนก่อน

    Nice video

  • @mohamedzain9424
    @mohamedzain9424 3 หลายเดือนก่อน

    That worked thanks so much!