Define common interface for account and security providers #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Every account provider (eg questrade, crypto currency wallet, computershare, etc) should have a common set of READ only based operations to determine the account balance or securities contained within the account.
This should make adding integrations much more streamlined.
Each provider should have a Configure() method which attempts to configure the provider using environment variables. If the configuration is successful, then the provider is used otherwise it is not used. The Configure method should contain some sanity checking on minimum viable configuration and if the threshold is not met then the configuration will not be successful.
Each provider should also have a GetBalance() method provides a total account balance for that provider with the implementation details abstracted away.
Added in
7284545571