michaelchu / optopsy

A nimble options backtesting library for Python
https://github.com/michaelchu/optopsy/wiki
GNU General Public License v3.0
1k stars 160 forks source link

SPX singles examples generates empty output #61

Closed monological closed 6 months ago

monological commented 9 months ago

I updated the script to point to './data/sample_spx_data.csv' since './data/Sample_SPX_20151001_to_20151030.csv' doesn't exist.

Then I ran it and it gave me the following empty output.

python3 spx_singles_example.py

Statistics for SPX long calls from 2015-10-01 to 2015-10-30

| index   | count   | mean   | std   | min   | 25%   | 50%   | 75%   | max   |
|---------|---------|--------|-------|-------|-------|-------|-------|-------|
Program Executed in 0.0
michaelchu commented 7 months ago

Hi, sorry for the late reply, are you still having this problem?

hoangnm commented 2 months ago

Same for me. It shows the empty output.