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

Setting require to use cash accounts. #5

Open
4 tasks done
gaviles opened this issue Jul 26, 2022 · 1 comment
Open
4 tasks done

Setting require to use cash accounts. #5

gaviles opened this issue Jul 26, 2022 · 1 comment

Comments

@gaviles
Copy link
Member

gaviles commented Jul 26, 2022

Expected Behavior

Maybe we should add an Account Type field to the live deployer incase members don't call SetBrokerageModel in their project. When I deployed with Bitfinex, it wasn't recognizing my positions. @Martin-Molinero found out its because the default account type is margin and my Bitfinex account is a cash account.

Actual Behavior

Requres user to know and set his account type in code
SetBrokerageModel(BrokerageName.Bitfinex, AccountType.Cash)

Potential Solution

Add a configurable brokerage settings that we can make part of the deployment wizard to configure the account type.

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues
  • I have provided detailed steps to reproduce the issue
@gaviles
Copy link
Member Author

gaviles commented Jul 26, 2022

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

No branches or pull requests

1 participant