amor71 / LiuAlgoTrader

Framework for algorithmic trading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

improve architecture: externalize account from strategy

amor71 opened this issue · comments

Is your feature request related to a problem? Please describe.
Currently, the account_id is handled within the strategy. This means that certain checks, such as if enough balance exists for trade, can only be done internally per strategy. Need to improve architecture and move this to the framework.

Describe the solution you'd like
change architecture a big, make account-id mandatory, expose externally, and have the framework handle checks & transactions.

Stale issue message