QuantConnect / QuantConnect/Lean

Adjust Symbol Properties For Alpaca Crypto

Open
#8,227 0 comments 0 reactions 1 assignee View on GitHub

@Romazes is already working on this.

Since Jul 24, 2024.

bug depth
Dominant language
C#
Stars
21.7k
Forks
5.3k
Avg merge
2d 22h
Merged PRs (30d)
34

Description

Expected Behavior
  • Alpaca crypto symbol properties are accurate
Actual Behavior
  • Alpaca crypto brokerage is using coinbase market and it's SPDB properties but alpaca symbol properties are slightly different, it has a smaller lot size for example
Potential Solution
  • Explore using the Alpaca Brokerage Model instance to adjust the symbol properties of the crypto assets to be precise. Maybe we could do this on the GetBuyingPowerModel call since we are given the security and it's done once
Reproducing the Problem

N/A

System Information

N/A

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

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.