Skip to content

trading size must be an integer #5

Description

@chunlexiong

Thanks for the very nice tutorial notebook. I have learned a lot from it.

It is very good for beginners to capture the basic idea. However, when I think in a more practical point of view, I notice that one important thing has been ignored in the strategy: most likely the price ratio is not an integer. But in the strategy, you use the ratio as the number of contracts/shares to trade for S2. We cannot trade a portion of contract or share, can we?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions