Closed Komnomnomnom closed 11 years ago
This is turning out to be a bit complicated unfortunately, because the algoParams attribute in the C++ API uses a shared_ptr
shared_ptr< std::vector< shared_ptr<TagValue> > > algoParams;
I'm still investigating if SWIG can properly generate a Python wrapper for this.
Latest master code should now support this. See updated placeorder.py
example.
Received via Email.
I have been successfully using swigibpy for a while but I now I would like to place an Algo order and I am not sure how to pass the TagValue list to algoParams property of Order Class
I have tried the following:
Tried:
Tried:
and seems to go ok, but when placing the order I get: "Algo attributes validation failed: 'Max Percentage' is invalid: value is required" So obviously, the attributes are not being set ..