-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manually setting capital for has errors with parquet #1317
Comments
I think I overcame this error by creating a blank __global_capital.parquet file and next running interactive_update_capital_manual() |
That works, thank you. |
I also copied the blank file and renamed it for the system name that I was trying to use, as that error occurred next. |
I have the same issue BUT having created the file : Still get the following error
perhaps is someone can please show the basic df from _global_capital.parquet - then I can create it and try that instead. |
Hi Rory, Were you able to resolve this issue? I am running into the same problem in master. |
I have created an empty file under data parquet, and ran the interactive manual capital update and then tried the transfer again, now getting the following error. It seems the transfer to parquet script is not working in master branch.
|
Yeah I did manage to, the long way around, from the csv backup files for capital, I created a parquet files put those into the directory and it worked. |
I'm trying to get a production system going that, at least at first, I intend to use to generate orders and manually inter them into IB. I also plan to enter the capital manually until I get things further setup/integrated with IB.
when I run the interactive_update_capital_manual() function with no previous capital set (and not pulling it from IB), I get an error when it tries to delete the __global_capital.parquet file that doesn't yet exist.
I worked around this by editing capital.py to add a try: except surrounding the delete command on or about 190, figuring that this workaround would allow me to at least proceed enough to get orders.
However, I found the RETURN for EXIT doesn't work at the menu, it just loops back to the menu.
After exiting this, I attempted to run the update_system_backtest() function, and get the following errors:
Any ideas how to get around this one? It is very possible that I've missed a step somewhere that would setup the capital values in parquet correctly, but I haven't found anything yet.
The text was updated successfully, but these errors were encountered: