The signature for setParameters function ( <bound method 'SetParameters'>) as per documentation that could be found here. It says the function accepts a dictionary of <string, string>. But this snippet of code given below always produces an error that says arguments cannot be matched.

 

qb = QuantBook()

my_parameters = {
"start-date": "1/1/2020"
}
qb.SetParameters(my_parameters)
---------------------------------------------------------------------------

--------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-97-b24a6db05493> in <module> 4 "start-date": "1/1/2020" 5 } ----> 6 qb.SetParameters(my_parameters) TypeError: No method matches given arguments for SetParameters

 

Author