Thursday, August 27, 2020

TD authentication

 @AMER.OAUTHAP

chromedriver

 Another way is download and unzip chromedriver and put 'chromedriver.exe' in C:\Python27\Scripts and then you need not to provide the path of driver, just

driver= webdriver.Chrome()

will work

C:\Users\greg chu\AppData\Roaming\Python\Python38\Scripts


Monday, August 17, 2020

cannot import name 'warnings' from 'matplotlib.dates'

 

cannot import name 'warnings' from 'matplotlib.dates' (C:\Users\greg chu\AppData\Local\Programs\Python\Python38\lib\site-packages\matplotlib\dates.py)


pip install matplotlib==3.2.2 --user
$ python
Python 2.7.6 (default, Jan 30 2014, 20:19:23) 
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> matplotlib.__version__
'1.1.1'

import matplotlib
matplotlib.__version__
https://community.backtrader.com/topic/981/importerror-cannot-import-name-min_per_hour-when-trying-to-plot/8

Saturday, August 15, 2020

Saturday, April 6, 2019