macrochen / cb Goto Github PK
View Code? Open in Web Editor NEW用python程序辅助做可转债投资
用python程序辅助做可转债投资
问题
打开可转债回测页面会提示如下错误
sqlite3.OperationalError
sqlite3.OperationalError: no such table: cb_backtest_data
File "/Users/libsu/Library/Python/3.8/lib/python/site-packages/flask/app.py", line 2088, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/libsu/Library/Python/3.8/lib/python/site-packages/flask/app.py", line 2073, in wsgi_app
response = self.handle_exception(e)
File "/Users/libsu/Library/Python/3.8/lib/python/site-packages/flask/app.py", line 2070, in wsgi_app
response = self.full_dispatch_request()
File "/Users/libsu/Library/Python/3.8/lib/python/site-packages/flask/app.py", line 1515, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/Users/libsu/Library/Python/3.8/lib/python/site-packages/flask/app.py", line 1513, in full_dispatch_request
rv = self.dispatch_request()
File "/Users/libsu/Library/Python/3.8/lib/python/site-packages/flask/app.py", line 1499, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/Users/libsu/Library/Mobile Documents/com~apple~CloudDocs/code/cb/routers.py", line 753, in good_year_back_test_view
content = backtest.test_utils.get_back_test_data("good_year_back_test")
File "/Users/libsu/Library/Mobile Documents/com~apple~CloudDocs/code/cb/backtest/test_utils.py", line 144, in get_back_test_data
cur.execute("select data from cb_backtest_data where name=:name", {"name": name})
sqlite3.OperationalError: no such table: cb_backtest_data
请问你会把这个上线吗?
大佬,能写个简单的使用说明吗?非常感谢!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.