Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running each strategy on a different sub-account #9

Open
CharlesFr opened this issue Nov 14, 2021 · 2 comments
Open

Running each strategy on a different sub-account #9

CharlesFr opened this issue Nov 14, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@CharlesFr
Copy link
Collaborator

Add the ability to pass sub-account names from the strategy in order to trade them on separate sub-accounts.

This is primarily to make PnL calculations more manageable. Also provides isolation between strategies for better risk mitigation.

@CharlesFr CharlesFr added the enhancement New feature or request label Nov 14, 2021
@atkinson
Copy link
Owner

atkinson commented Nov 16, 2021

Nice - This means that Strategy will need the following:

a) The name of the sub-account.
b) The env-var from which to load the API key.

The env-vars should be namespaced, e.g. FTX_KEY_SUBACCOUNT
As we currently have only one strategy, this can be done now or later.

@CharlesFr
Copy link
Collaborator Author

Would it be a bad idea to have API keys managed directly in the admin panel?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants