How to Run a Python Script 24/7 | on a Schedule in the Cloud [GCP Part III]

preview_player
Показать описание
In this video we are automating the execution of Python scripts to be independent from our Operating System using the Google Cloud Platform (GCP).

Examples and further explanations on the syntax of cronjobs:

Please watch this video beforehand to set up a Linux VM and install Python on it:

Let me know if you have any questions! :-)

#Python #Cloud #GCP
Рекомендации по теме
Комментарии
Автор

So this is were we run those btc trading strategies scripts ? If we want the bot to look at the market 24/7? If so can you show me a vid you made were you go over everything, like make trading bot then run it live in the cloud with some fake money or something?

raoulmohan
Автор

Hi, you should try to connect to jupyter notebook on vm from your computer. :) i would like to see more about scheduling scripts with libraryies like airflow or sth like that

maciejsergiel
Автор

Maybe I'm just special, but the first time I tried this a few weeks ago (on a GCP VM) I had to change the permissions for my directory where I had my script in order for the log file to work. Drove me nuts for quite a while before I figured it out.

ed-salinas-
Автор

Thank you so much! You're awesome.

darkcss
Автор

Can you make a video on calculate Williams fractal
entry time and exit time
pleze

RijulChauhanRA
Автор

Hello teacher, how are you? Each video is better than the previous one! When I run the python hello.py >> output.txt command in the crontab, the result is an empty output.txt file. I do not know what is happening. By the way I am running the VM on a digital ocean droplet.
Thank you for your kind answers

ludwigmatheus
Автор

Hi Algovibes! How to store API keys in python script while deploying it to google cloud?

sachinbhagat
Автор

Hello, I am trying to recreate the stock recommendation system on the VM. I am getting the following error:

AttributeError: 'DataFrame' object has no attribute 'TABLE_NAME'

Any idea why? thanks :)

onestocktrader
Автор

how to delete saved files for python and how to upload a python file /project from pc to server.

pushkarajchillal
Автор

My project contains several files and I need to run more than one file at the same time. Is this possible on Google Cloud? And my files contain a while loop when I run it for the first time. Will it keep running forever?

alaaismail
Автор

can crontab do like 1 second intervals?

HighFidelityFox
Автор

Hi, thanks for your tutorials on Trading Bot, it helped me a lot. Can you help me understand if (a) it is safe to use Binance account on any cloud 24x7 & which are the safest platform (b) & is personal android mobile can me an alternative to run the code 24x7. if yes how can we do this ? thanks a lot for your help.

kamleshdatt
Автор

Hi

Can you make a video on stocks patterns( Triangle, head and shoulder, double bottom top, etc...) thanks

lucksimi
Автор

the text file is local or in the cloud? Thanks

maciekpaciarski
Автор

Hi Algovibes. Your video was very impressive thanks. I would like to know how to save informations from the nano file.txt to my windows pc. I did not see that information in this video. Please assist

jimmytshikaya
Автор

and please make video how to run algo trading script on cloud on linux

pushkarajchillal
Автор

Nice video!! Thanks!! I'm building a python Script that trades with binance, internally the Script runs with a socket and follows a strategy, the script runs once, but keep running forever. Is crontab the best way to keep it running in a VM? I've tried with docker and with a terminal, and none of this options was good for me.

javiersandoval
Автор

Thanks bro god bless 🌷..how can I contact u I have some query

mangeshw