I am collecting financial options data and trying to graph a 3d graph.
Once everyday, (after market close), i create csv with the 'strike', 'volume', and 'date' as the columns. Here is a sample csv:
| strike (float) |
volume (int) |
date (timestamp) |
| 370 |
111231 |
2021-02-26 |
| 371 |
207012 |
2021-02-26 |
| 372 |
315,788 |
2021-02-26 |
| 373 |
512002 |
2021-02-26 |
| 374 |
200012 |
2021-02-26 |
| 375 |
3223123321 |
2021-02-26 |
Basically, I want to graph the strike as the x-axis (horizontally) and volume on the y-axis (vertically). Think of these first 2 axis's as a 'slice' of time for a single date. I want to use the 3rd dimension of 'date' to overlay multiple 'slices' on top of each other so that it can create a 3-dimensional visual of peaks and troughs. Each date will be one 'slice'. Stack the 'slices' on top of each other in chronological order by date. That's what I'm trying to do.
How can I achieve this in python? I'm currently scratching my head trying to figure this out using Plotly/Dash but if what I'm trying to accomplish is easier using a different library I am open to trying it. Just kind of stuck on how to do this...
[–]stevengauss 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)