QuantConnect / QuantConnect/Lean

Support for Fractional Equities

Open
#7,282 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature impact-low
Dominant language
C#
Stars
21.7k
Forks
5.3k
Avg merge
2d 22h
Merged PRs (30d)
34

Description

Expected Behavior

Fractional US share support depends on the account not the asset type; whether fractional shares are supported should be governed by the brokerage model not the Symbol Properties model.

Actual Behavior

Symbol Properties controls the minimum unit for an asset.

Potential Solution
  1. Create SymbolPropertiesModel - initialized from Symbol Properties DB defaults.
  2. Override the SPM based on the brokerage model or by custom models for Security.
  3. Review/update the uses of the minimum order size to ensure mapping back to the model.
Reproducing the Problem

Run Equities algorithms and attempt to trade a fractional share.

The impact is tagged low as we do not have any brokerages that support fractional API share trading.

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how Symbol Properties supplies the minimum order unit and how Equities algorithms handle fractional-share orders. Review the proposed SymbolPropertiesModel and its brokerage or Security overrides, then verify that minimum-order-size uses map to the appropriate model and fractional equity trades work.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
fintech-quant
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.