-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QUESTION]: Using the IOptionContract interface #739
Comments
@cdeMonkey Sorry for the delayed answer, I was on vacation last week. I hope you've already figured out that SDK has the var key = new SecretKey("...", "...");
using var client = Environments.Live.GetAlpacaOptionsDataClient(key);
var trades= await client.ListLatestTradesAsync(new LatestOptionsDataRequest(["AAPL241220C00300000"]));
Console.WriteLine(trades["AAPL241220C00300000"]); You can also use the |
Is there an existing issue for this?
What is your question?
Hi, how can I get the current Asset Price of an options Contract? I can only see the last close price which is a day behind.
Anything else?
No response
The text was updated successfully, but these errors were encountered: