-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
1,084 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,5 +28,9 @@ | |
* 조건검색식 호출 | ||
![](./img/run-004.png) | ||
|
||
* 차트요청 | ||
![](./img/run-005.png) | ||
|
||
* 주문요청 | ||
![](./img/run-006.png) | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 0 additions & 27 deletions
27
src/KOAStudio.Core/Converters/StokItemInfoPriceConverter.cs
This file was deleted.
Oops, something went wrong.
29 changes: 29 additions & 0 deletions
29
src/KOAStudio.Core/Converters/ValueCompareToBrushConverter.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
using System.Globalization; | ||
using System.Windows.Data; | ||
using System.Windows.Media; | ||
|
||
namespace KOAStudio.Core.Converters | ||
{ | ||
public class ValueCompareToBrushConverter : IValueConverter | ||
{ | ||
public object? Convert(object value, Type targetType, object parameter, CultureInfo culture) | ||
{ | ||
|
||
if (value is double compValue) | ||
{ | ||
if (compValue > 0) | ||
return Brushes.Red; | ||
|
||
if (compValue < 0) | ||
return Brushes.Blue; | ||
} | ||
return Brushes.Black; | ||
} | ||
|
||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) | ||
{ | ||
throw new NotSupportedException(); | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
namespace KOAStudio.Core.Models | ||
{ | ||
public class JangoItem(string 종목코드, string 종목명, bool 매도수구분, int 보유수량, double 평균단가, double 현재가, double 평가손익, string 통화코드) | ||
{ | ||
public string 종목코드 { get; } = 종목코드; | ||
public string 종목명 { get; } = 종목명; | ||
|
||
/// <summary> | ||
/// true: 매도, false: 매수 | ||
/// </summary> | ||
public bool 매도수구분 { get; set; } = 매도수구분; | ||
public int 보유수량 { get; set; } = 보유수량; | ||
public double 평균단가 { get; set; } = 평균단가; | ||
public double 현재가 { get; set; } = 현재가; | ||
public double 평가손익 { get; protected set; } = 평가손익; | ||
public string 통화코드 { get; } = 통화코드; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace KOAStudio.Core.Models | ||
{ | ||
public class MicheItem(string 종목코드, string 종목명, string 주문번호, string 원주문번호, bool 매도수구분, int 주문수량, int 미체결수량, double 주문가격, string 통화코드, string 주문시각) | ||
{ | ||
public string 종목코드 { get; } = 종목코드; | ||
public string 종목명 { get; } = 종목명; | ||
public string 주문번호 { get; } = 주문번호; | ||
public string 원주문번호 { get; set; } = 원주문번호; | ||
/// <summary> | ||
/// true: 매도, false: 매수 | ||
/// </summary> | ||
public bool 매도수구분 { get; } = 매도수구분; | ||
|
||
public int 주문수량 { get; set; } = 주문수량; | ||
public int 미체결수량 { get; set; } = 미체결수량; | ||
public double 주문가격 { get; set; } = 주문가격; | ||
public string 통화코드 { get; } = 통화코드; | ||
public string 주문시각 { get; set; } = 주문시각; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.