Skip to content

A Cryptocurrency ticker python script for the Omega Onion

Notifications You must be signed in to change notification settings

umma08/crypto-ticker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crypto-ticker

This is a crypto-ticker for the OmegaOnion

There are some files and explanations to follow in more detail, with respect to setting up the OmegaOnion.

The program allows the Omega to utilise the Coinmarket Cap API. At the moment it displays four cryptocurrnecies, their ticker symbol, current EUR price, and the % change for the last 24 hours.

/etc/crontabs

The following line this must be added to /etc/crontabs.

It runs the script every three minutes (every minute that is divisible by three)

*/3 * * * * python /root/btc-flash/btcFlash.py

Ensure that a # follows the command on the line below in the crontabs file. Otherwise it will not run

/etc/rc.local

The following commands must be placed in this file. It loads the program on startup.

python /root/btc-flash/oled-start.py

sleep 8

python /root/btc-flash/btcFlash.py

exit 0

Remember that the correct permissions must be given to the script.

These commands are seen below this section

setting correct permissions

chmod +x /root/btc-flash/oled-start.py

chmod +x /root/btc-flash/btcFlash.py

About

A Cryptocurrency ticker python script for the Omega Onion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages