You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: