Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants