Skip to content

BofSbitCode/bitcoin-price-predictor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bitcoin price predictor

predict price of bitcoin with python and tensorflow

Get dataset

You can use bitcoin2013to2022.zip in dataset folder
or orginal dataset from kaggle link : click hare for kaggle link
p.s : In kaggle dataset first you should edit dataset for using in model but drive link has already been edited. after downloding dataset put it in dataset/ or you can put it anywhere and copy the path of dataset in config.cfg baseDataSetPath

Creat your own model

Creat your own model by edit config.cfg and then run code/btcPricePredictor.py
model directory : savedModel/prediction days = modelPredictionDays/date = modelDate/name = modelNdame

Calculating the price of tomorrow

in config.cfg predictTomorrow should be "True". then you can run code/btcPricePredictor.py and see the result and see price of tomorrow in tomorrowPrice

See result

You can see the log in btcPredctionLog.log, information of model in info.json, lossplot.png, modelSummary.info and prediction plot and prediction table csv in model directory

result i got

you can see models i train in savedModel for example you can see the prediction plot of one of my model in this pic

image

see the config of this model in this link and this link

Warning ⛔ : never use this for trade, it's just study project but it can be developed for a trade bot, but it's still untrustable

About

predict price of bitcoin with python and tensorflow

Resources

License

Stars

Watchers

Forks