Skip to content

Script to monitor a list of BTC wallet balances in near real time using Electrumx.

License

Notifications You must be signed in to change notification settings

Adamb83/Monitor-BTC-Wallet-Balances-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitor-BTC-Wallet-Balances

Script to monitor a list of BTC wallet balances in near real time using Electrumx server.

To run this script you must be hosting your own Bitcoin node with an Electrumx server connected, the BTC node must have completed its intitial block download about 650gb atm, and electrumx must be completed it syncing and built it's databases. SSD's are required for this, one for node and one for Electrumx.

This script is used to monitor wallet addresses, the addresses must be converted to scripthash. I've included examples of an input csv of wallet addresses with their scripthash and the output csv of monitored balances.

I made this little project as a way to get BTC wallet activity without paying for an API from influential wallets, exchanges etc, with the end goal of creating a machine learning project where I combine this wallet activity with BTC price activity (historical aswell) to create buy/sell alerts. Using an overfitted swing trading strategy to train a model.. I don't expect to create a god level trading bot, but hoping to undertand more about machine learning and Tensorflow, later on..

This is very early days, I don't know if my approach will work very well, as electrumx server might not be fast enough registering the wallet activity... I will add a timestamp to record the delay from txn time to updated csv time.

See it running here https://www.youtube.com/watch?v=GL0DgHYPNDs It's painfully slow and timing out in the video as it is subscribed to 1240 wallet addresses and Electrumx db is on a hdd soon to be a ssd which should run much faster..

About

Script to monitor a list of BTC wallet balances in near real time using Electrumx.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages