alpacahq / alpacahq/alpaca-py

[Bug]: GetOptionContractsRequest.strike_price_lte is of type str, should be float

Open
#514 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.5k
Forks
398
Avg merge
1d 16h
Merged PRs (30d)
6

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### Current Behavior

[Bug]: GetOptionContractsRequest.strike_price_lte is of type str, should be float

### Expected Behavior

[Bug]: GetOptionContractsRequest.strike_price_lte is of type str, should be float

### SDK Version I encountered this issue in

alpaca-py==0.30.3

### Steps To Reproduce

```markdown
Review the links I put below
```

### Filled out the Steps to Reproduce section?

- [X] I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

### Anything else?

https://github.com/alpacahq/alpaca-py/blob/master/alpaca/trading/requests.py#L510-L511

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.