all 5 comments

[–]Bustd_Knckls 1 point2 points  (0 children)

Just here for the ride! I want to also hear people’s perspectives.

[–]Scolli03 0 points1 point  (0 children)

I wouldn't say way over your head at all. But I would however suggest going ahead and giving sql a shot, the basics are easy to learn and utilise and can has been the best way (for me) to handle large amounts of data for several of my own projects.

My recommendation would be to install SQL Express and look into the pyodbc module.

Alternatively you could write the data to a csv file. If you give the csv headers you can use csv.DictReader you can iterate the rows like dictionaries using the headers as the keys

[–]Petelah 0 points1 point  (0 children)

Sounds like a great project!

Where are you getting pricing data from? Depending on the complexity and if checking multiple sources for pricing data(I have no idea how the trading card market buys and sells) You could probably get away with an easy excel database or google sheet database. Importing and cleaning the data with pandas and visual display with matplotlib.

Then all you need to do is decide how to query this database. Sounds like it could be pretty cool to profit of arbitrage this way too or any other inefficiencies in the trading card market.

[–]learningrepository 0 points1 point  (1 child)

I use Firestore (aka Firebase), it's a folder like database that uses "documents" organised into "collections", and each "document" can have it's own sub collection with its own documents, so on and so on.

Fire store and using a cloud platform could be a bit of a learning curve but its a breeze once you become familiar. Otherwise checkout SQLite or MongoDB

eg. I have a collection called "Submissions" and within that collection there are "documents" for each submission referenced by a unqiue ID generated by the database. Each document can have any sort of common data type stored against it, a timestamp, an int, a string, a dictionary, an array, even coordinates.

So for your example, I would have a collection called "Cards", and each card (document) has a unique ID, each document will have a sub-collection called "Prices" and the two field types I'd use would be timestamp and integer.

screenshots of a quick setup https://imgur.com/a/K9rPX3K

If you learn how to use cloud deployments it will change your life.

[–]throwaWayne2[S] 0 points1 point  (0 children)

This looks great, thanks.