eFriendOpenAPI 1.0.8

There is a newer version of this package available.
See the version list below for details.
dotnet add package eFriendOpenAPI --version 1.0.8                
NuGet\Install-Package eFriendOpenAPI -Version 1.0.8                
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="eFriendOpenAPI" Version="1.0.8" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add eFriendOpenAPI --version 1.0.8                
#r "nuget: eFriendOpenAPI, 1.0.8"                
#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 eFriendOpenAPI as a Cake Addin
#addin nuget:?package=eFriendOpenAPI&version=1.0.8

// Install eFriendOpenAPI as a Cake Tool
#tool nuget:?package=eFriendOpenAPI&version=1.0.8                

KIS (eFriend Expert)

NuGet version

C# - eFriend Expert OCX 예제를 .NET Core/5+ Console App에서 사용하는 방법 ; https://www.sysnet.pe.kr/2/0/13482

Usage instructions

Initialize Client object with appkey, appsecret and account

// Install-Package eFriendOpenAPI

(string appKey, string secretKey, string account) = (...);
bool isVTS = false; // true: 모의 Domain, false: 실전 Domain

eFriendClient client = new eFriendClient(isVTS, appKey, secretKey, account);

Call API

국내주식주문

주식잔고조회 (/uapi/domestic-stock/v1/trading/inquire-balance)
var array = await client.주식잔고조회();

foreach (주식잔고조회DTO dto in array)
{
    Console.WriteLine($"\t{dto}");
}

국내주식시세

주식현재가 시세 (/uapi/domestic-stock/v1/quotations/inquire-price)
var dto = await client.주식현재가시세("305720");
Console.WriteLine(dto);
// 출력 결과:
// (최저가: 23235) ~ (현재가: 23235) ~ (최고가: 23895), 전일 대비: -465, 호가 단위: 5, (305720, ETF)

Product 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.

Version Downloads Last updated
1.0.9 199 1/12/2024
1.0.8 152 12/23/2023
1.0.7 126 12/23/2023