Some time ago we covered one architecture for a trading bot. In this note we go into more detail about the architecture for this bot and why you may want to separate your Setup Bot from your Trade Management Bot.
Firstly, a quick definition of what we mean by a Setup :
A Setup is set of market circumstances, triggers and data patterns that together tell us that we should enter a trade. This could be a long or a short trade.
For technical analysis trading, the Setup algorithm may be looking for a certain combination of indicators on candlestick…
I use the Google Drive as my shared drive across my different devices. A Macbook, a Chromebook and a Linux desktop. Whilst it is easy to set up on a Mac, Chrome and PC … on Linux it is not. There is no official Linux Google Drive app that will enable a sync to the Linux drive, so we need to set it up.
There are different ways of doing it and a number of tools. These notes use the command line tool rclone. …
My Chromebook is perfectly good coding machine, but we should make it easier for Chromebook users to get started in programming.
In early 2020, Google was reporting over 40 million users in education, using Chromebooks. This is already a significant segment using these systems.
But Chromebooks seem to be off the radar for coding and data science. It would be a great shame for us all if some young people with tech talent don’t get started on programming or data science because it’s a little too hard on a Chromebook. …
The Python “unsync” library is a very easy way to create async code. This gives a practical example of how to use on a simple trading bot.
In Python there are many valid ways of parallelising your code, including:
awaitfrom the asyncio library embedded into core Python from 3.7 onwards
@unsyncdecorator from the Python unsync library
I’ve used all the above methods on different projects and they all work fine. …
Steps for configuring VSCode to play nicely with both ESLint and Prettier for Quasar / Vue.js
Prettier formats the JS code in a nice opinionated way. However this is not fully aligned with ESLint and therefore the build fails due to ESLint errors.
There are a number of good tutorials on this for example here, but these do not work out of the box and need some tweaks for Quasar / Vue.js
… and any other useful plugin. These could include (Bracket Pair Colorizer, Sass, Vue VSCode Snippets)
Enable format on save in VSCode in this project…
How to install Node.js /NPM, Quasar / Vue.js and VS Code on Chrome OS
This is a short succinct guide, to set up a Chromebook for front-end development after a powerwash. It takes about 5 minutes.
Quasar is a powerful front-end framework for building PWA (progressive web app) applications with a Material Design look and feel, on top of the Vue.JS framework. Quasar is particularly powerful when it comes to deploying those apps as webapps, Electron apps, iOS and Android apps.
This guide focuses on what needs to be in place for Quasar front-end development. It will:
How to get up and running with Python 3.8 on your Chromebook in under 10 minutes.
From the Linux terminal app on the Chromebook:
sudo apt-get updatesudo apt-get install build-essentialsudo apt-get install libreadline-gplv2-dev libncursesw5-dev \
libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-devsudo apt-get install libffi-dev liblzma-dev
Note — If you want to use a later version just replace the version number (3.8.1) in all the next steps with the latest version number
cd /usr/srcsudo wget https://www.python.org/ftp/python/3.8.1/Python-3.8.1.tgzsudo tar xzf Python-3.8.1.tgz
cd Python-3.8.1sudo ./configure --enable-optimizationssudo make altinstall
Notes — The altinstall option leaves the original Python…
Today’s new was that Arron Banks’ account was hacked, exposing many private Twitter messages. It is reported that this was a SIM Swap attack.
What is a SIM Swap and how can it be avoided?
Someone gains access to your account without needing your password. How does it work?
Can I set up a Chromebook for software development? What do I need to install? And is it actually any good for development?
I have been playing with a Chromebook recently. I like how they are small and low power. They are also useful for taking on the road. I have been exploring how well a Chromebook works as the main development machine on the go.
This post covers the installation of the main tools to get the Chromebook ready for development.
This is a description of the trip that Harry (our German Pinscher) and myself took from London to the west coast of Greece and back.
Hopefully it will inspire some people to take this option rather than driving.
Insurance meets tech meets music. #insurtech