AngelOne 1.0.10
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package AngelOne --version 1.0.10
NuGet\Install-Package AngelOne -Version 1.0.10
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AngelOne" Version="1.0.10" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AngelOne --version 1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AngelOne, 1.0.10"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AngelOne as a Cake Addin #addin nuget:?package=AngelOne&version=1.0.10 // Install AngelOne as a Cake Tool #tool nuget:?package=AngelOne&version=1.0.10
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
AngelOne smartAPI
This is C# wrapper for smartAPI from AngelOne.
You can download the nuget package from here. https://www.nuget.org/packages/AngelOne
Demo
Added demo code for the wrapper here.
Usage/Examples
var smartApi = new SmartApi();
var loginResult = await smartApi.Login("K123456", "1234", "YOUR AUTHENTICATOR KEY", "API KEY");
if (loginResult)
{
//we are in business here, we can start making the calls to smartAPI now.
var orderBook = await smartApi.GetOrderBook();
var holdings = await smartApi.GetAllHoldings();
}
Websocket Streaming is now supported
var tokenList = new List<string> { "13868", "17438", "14366", "11915" };
var obj = new WebsocketStreaming();
obj.RequestData = new WebStreamingRequestInfo
{
exchange = StreamingExchangeType.NSE,
tokens = tokenList
};
obj.OnPriceUpdate += Obj_OnPriceUpdate;
await obj.StartAsync();
private void Obj_OnPriceUpdate(WebStreamResponseInfo response)
{
Debug.WriteLine($"{DateTime.Now.TimeOfDay.ToString()} Message update for {response.token}, ltp is {response.ltp} at {response.exchangeTimeStamp} for exchnage {response.exchangeType}");
}
For now these methods are supported.
Supported Methods
- GetInstrumentList
- CreateGTTOrder
- GetGTTOrderList
- GetHistoricalData
- GetPosition
- GetHolding
- GetAllHoldings
- CancelOrder
- GetOrderBook
- GetLtp
- GetMultipleSymbolLtp
- GetMultipleSymbolOHLC
- GetMultipleSymbolFullLtp
- Place Order
- Modify Order
- Get Trade Book
- Get Individual Order Data
- CancelGTTOrder
- GetProfile
- GetFundsAndMargins
Roadmap
Make it fully compatible with the smartAPI.
Bringing all methods over here.
Support
For support, email manvindersingh@outlook.com I'll try to get back to you ASAP.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.