Skip to content

Setting require to use cash accounts. #5

@gaviles

Description

@gaviles

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions