abbass2 / pyqstrat

A fast, extensible, transparent python library for backtesting quantitative strategies.
BSD 3-Clause "New" or "Revised" License
353 stars 57 forks source link

How to Debug A Strategy? #22

Closed BlackArbsCEO closed 9 months ago

BlackArbsCEO commented 3 years ago

Greetings, I've coded a strategy but no orders are taking place. I tried to use breakpoints using my pycharm (pydev) debugger but it runs without stopping at the breakpoints. Is there a better way to achieve debug pyqstrat strategies?

abbass2 commented 3 years ago

Hi,

I would put together the simplest case you can and see if you can get that to work. If you cannot, post the code for the simplest use case on this group.

Best,

Sal

On Fri, Jun 18, 2021 at 8:16 AM Brian @.***> wrote:

Greetings, I've coded a strategy but no orders are taking place. I tried to use breakpoints using my pycharm (pydev) debugger but it runs without stopping at the breakpoints. Is there a better way to achieve debug pyqstrat strategies?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/abbass2/pyqstrat/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCN2VYBJDT4DPCGEVTHHUDTTNBKNANCNFSM465VDMOQ .