Gendo90 / Crypto-Historical-Prices

An ETL project that compiles historical cryptocurrency prices from online sources into one SQL database
MIT License
31 stars 7 forks source link

Why close price in previous minute does not equal price on the next minutes #2

Open khoinp1012 opened 1 month ago

khoinp1012 commented 1 month ago

Hello, From your data, I understand:

Gendo90 commented 1 month ago

Could you give an example where this price difference is very large? It seems like it is similar for most of the data - and in the past, especially with stock/Wall Street trading, different trading algorithms can cause large amounts of automatic trades to trigger given certain conditions, with transaction speed a priority because fractions of a second can make profits significantly more or even prevent a loss (when competing against other automated trading algorithms). That is why you sometimes see "flash crashes" and there are proposals to lay upgraded fiber-optic cables across the Atlantic to reduce the internet latency between NYC and Europe!

Gendo90 commented 1 month ago

Also, some of the data was sourced from Kaggle for the earlier dates - so I did not collect that data here and just used it as a foundation for the dataset, because I believe the Coinbase APIs only provide data for crypto prices a few years back, not more, and I did not want to reinvent the wheel!

https://github.com/Gendo90/Crypto-Historical-Prices?tab=readme-ov-file#extract-data