Mining difficulty can be seen this BTC.com as in this image found here
You can also use MACD an RSI which results prediction for bearish or bullish condition.
Free trading books https://quantlabs.net/
or learn algo trading https://quantlabs.net/dvd
I found this block parser Github project whch is in Rust
This difficulty can be tied to thisNOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!