I am planning to run futuapi in a server that long-living, isit recommended to reuse context objects such as OpenSecTradeContext?
or should we create a new object everytime we want to use the apis such as place_order()?
It seems that there are some setup overhead when instantiating the class and it seems that the OpenSecTradeContext will also hog up a port as mentioned in the docs.
Hi all,
I am planning to run futuapi in a server that long-living, isit recommended to reuse context objects such as OpenSecTradeContext? or should we create a new object everytime we want to use the apis such as place_order()?
It seems that there are some setup overhead when instantiating the class and it seems that the OpenSecTradeContext will also hog up a port as mentioned in the docs.