Closed bellbrant closed 1 year ago
According to the latest commit of the python version, there seems to be 2 things that need to be fixed.
ORDER_PLACE_PATH = '/_cqbe/trading/order/new'
ORDER_DELETE_PATH = '/_api/order'
placeOrder
, the key of the orderType option should be side
instead of orderType
I'll test the above things this Friday.
Tested, and it worked. BTW, the status
key in the response object has been changed to orderRequestStatus
.
Check out my fork: https://github.com/dichai1983/avanza-lib
Avanza changed their order placing servlet URI again today :( I will look into it.
Testing the new URI...
It's been fixed in my fork.
Awesome @dichai1983! Feel free to submit a PR
Late response but awesome work!!
After avanzas update i can't place any orders anymore. "Method is unallowed"
Is there something we need to add regarding placing orders?