alpacahq / alpacahq/alpaca-trade-api-go
GetAssetsRequest.AssetClass should be type AssetClass (instead of string)
Ouverte
v4
- Langage dominant
- Go
- Étoiles
- 429
- Forks
- 118
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
There is already an [`AssetClass`](https://github.com/alpacahq/alpaca-trade-api-go/blob/7d20c8f30eaaf64619c4bd23b9855dd04dcccd35/alpaca/entities.go#L144) type, so it's just a matter of using it.
That is, change this:
```go
type GetAssetsRequest struct {
Status string
AssetClass string
Exchange string
}
```
To this:
```go
type GetAssetsRequest struct {
Status string
AssetClass AssetClass
Exchange string
}
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.