Skip to content

help! #3

Description

@qinxi1122

MR Scott Rome:
Firstly I got a problem when i run the backtest.py! that shows:
TypeError: can't pickle _thread.RLock objects

then i use pdb:it show that:

(Timestamp('2015-12-31 00:00:00'), 'GOGL', 5.35)

d:\quantity\pybacktester-master\backtester.py(274)backtest()
-> p.start()
(Pdb) n
TypeError: can't pickle _thread.RLock objects
d:\quantity\pybacktester-master\backtester.py(274)backtest()
-> p.start()
(Pdb) n
--Return--
d:\quantity\pybacktester-master\backtester.py(274)backtest()->None
-> p.start()
(Pdb) Traceback (most recent call last):
File "", line 1, in
File "D:\Anaconda3\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "D:\Anaconda3\lib\multiprocessing\spawn.py", line 115, in _main
self = reduction.pickle.load(from_parent)
EOFError: Ran out of input

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions