ranaroussi / qtpylib

QTPyLib, Pythonic Algorithmic Trading
http://qtpylib.io
Apache License 2.0
2.16k stars 513 forks source link

[BUG] #172

Open datatalking opened 3 years ago

datatalking commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

  1. Get Market Data

To get started, you need to first create a Blotter script: Why are we creating anothe blotter script when there is already one in the qtpylib file as indictated by calling the blotter method via ''' from qtpylib.blotter ''' Then there is also multiple existing blotter files

  1. /qtpylib/blotter.py
  2. /example/blotter.py

Are these duplicates we should depricate or perhaps do the instructions indicate use the blotter script vs actually make a new one?

To Reproduce Steps to reproduce the behavior:

  1. Reading from step 1 of the instructions from README.rst Screenshots Screen Shot 2021-08-05 at 4 56 24 PM

Desktop (please complete the following information):

Additional context It installed just fine via git clone. Now the instructions say to recreate a file that is already in two different places. Which one do I use or do i need to make a third?

datatalking commented 3 years ago

Ok on further review i've found the blotter.py file that instruction step number 1 says should be created is seemingly alread in qtpylib/examples/blotter.py. Should we adjust the README.rst to reflect this, I could create a pull request if this is an acceptable solution.