alpacahq / alpaca-trade-api-csharp

C# SDK for Alpaca Trade API https://docs.alpaca.markets/
Apache License 2.0
248 stars 78 forks source link

[FEATURE]: Allow API attributes like adjustment=split #757

Open ushahx opened 2 weeks ago

ushahx commented 2 weeks ago

Is there an existing issue for this?

Is your feature request related to a problem? Please describe.

I am not able to apply attributes for market data APIs. For e.g. if I want split adjusted prices using the attribute adjustment=split, I cant do this today. There are few other APIs that are missing in the SDK like pulling all assets (stock symbols from all exchanges) and filtering based on criteria.

Describe the solution you'd like

No response

Describe alternatives you've considered

Lack of these capabilities is almost forcing me to just create my own SDK layer to call all the market data APIs.

Anything else?

No response

OlegRa commented 5 days ago

@ushahx, you can use the Adjustment property in the HistoricalBarsRequest class for years. At least version 5 supports it, and I've also backported this support to version 4.

But I see a more generic pattern in your issues. You use some outdated documentation source, or your way of exploring the API surface differs. Please briefly explain how you search for available methods, properties, etc., in API.