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
Currently, the following objects of the AlgoBullsAPI class are not linked to the Strategy Code:
_key__backtesting
_key__papertrading
_key__realtrading
The first time any method of AlgoBulls API is called, these keys are fetched and cached for the corresponding strategy code. However, if the methods are called again for a different strategy code, instead of using a key corresponding to them, the cached keys are used which results in incorrect execution.
The solution to this problem is simple: Link the cached keys to Strategy Code. Fetch cached keys only if the strategy code matches, else, fetch the key from the server.
The text was updated successfully, but these errors were encountered:
Currently, the following objects of the AlgoBullsAPI class are not linked to the Strategy Code:
The first time any method of AlgoBulls API is called, these keys are fetched and cached for the corresponding strategy code. However, if the methods are called again for a different strategy code, instead of using a key corresponding to them, the cached keys are used which results in incorrect execution.
The solution to this problem is simple: Link the cached keys to Strategy Code. Fetch cached keys only if the strategy code matches, else, fetch the key from the server.
The text was updated successfully, but these errors were encountered: