Alice.square_off_position() is not working…!
Does anyone have a solution for it ?
information :
I am using pya3 new API but there is no mention regarding square off position. but API it self contains calls for a square-off definition.
yes, i know that placing a counter order can square off the position but there is no order type retrieving field so trouble to place the order or have to use fix order type with each and every order.
is any way apart of the counter order place, it would be great help
Link for Pya3 : GitHub - jerokpradeep/pya3
This type off error will be occurred when the particular script is not in position.
1 Like
Squareoff function in api has stopped working suddenly this week. Using postman i tried to check the result of this api call manually and found that the call returns an EMPTY repsonse ie neither gives error not gives success in return…something must have changed in the API func published by AB but i have not been able to spot what is that change. I have raised a ticket fo this but it’s been 2 full days and no revert yet.
Now Square Off Position is working properly, Kindly recheck once.