We can already get all the markets, bids etc. But there is no API for being able to get one's own (or someone else's) holdings! Which is surprising!
I'd use it to make these features:
1) Display my portfolio's daily total change, % change, regret, etc.
2) Personal calendar of when markets I'm involved in will close
etc.
api link: https://docs.manifold.markets/api
They added https://docs.manifold.markets/api#get-v0marketmarketidpositions which partially solves your problem, as long as you track the markets you care about.
Still no way to find all the markets that are part of your portfolio except iterating them all.
@NoaNabeshima Thanks! Yeah I dumped all markets to a spreadsheet today but it's not very useful since I can't cross it with my holdings.
I also want to make a "similarity" UI to people whose profile I view - like this embed:
https://docs.google.com/document/d/1N7WA-V_Kzi6hH03s93cmxuH_Z8RU4b-aJ5WJ350AYZ8/edit
Idk how this interacts with limit orders and non-binary markets
@NoaNabeshima good stuff. Yeah it's pretty straightforward. I would probably just exclude non-binary markets.
@NoaNabeshima cool, got it. I should be able to at least manually run profile similarity scores now. I wonder what kind of metrics to use
maybe sum(intersecting_markets which go same direction) / those which don't go the same direction?
without worrying about weighting at first.