- BinaryRage DB 로그 추가

This commit is contained in:
2016-08-02 02:03:22 +09:00
parent a5783ad90f
commit d41130fcdd
13 changed files with 227 additions and 150 deletions

View File

@@ -265,7 +265,7 @@ namespace upper_limit_crawler
f5MASlope.ToString("0.00%"),
WatchItem.m_iHighestPrice);
ULUtil.TraceCSV("트레일링 매도", OwnItem.m_strCodeName, iCurPrice, iCurPrice - OwnItem.m_iUnitBEP, fProfitRate.ToString("0.00%"), f5MASlope.ToString("0.00%"), WatchItem.m_iHighestPrice);
m_DataMgr.AddAskLog(strCode, WatchItem.m_strCodeName, iTime, iCurPrice, float.NaN, false, iProfit, fProfitRate);
m_DataMgr.AddAskLog(strCode, WatchItem.m_strCodeName, iTime, iCurPrice, f5MASlope, false, iProfit, fProfitRate);
}
}
@@ -322,6 +322,7 @@ namespace upper_limit_crawler
foreach(ListViewItem item in lvBalance.SelectedItems)
{
ULUtil.Trace("[{0}] 수동 매도", item.SubItems[chName.Index].Text);
ULUtil.TraceCSV(ULUtil.GetCurTimeInt(), "수동 매도", item.SubItems[chName.Index], item.SubItems[chCurPrice.Index], item.SubItems[chProfitRate.Index]);
string strCode = item.SubItems[chCode.Index].Text;
int iCnt = int.Parse(item.SubItems[chBalance.Index].Text);
@@ -334,6 +335,7 @@ namespace upper_limit_crawler
foreach (ListViewItem item in lvBalance.Items)
{
ULUtil.Trace("[{0}] 모두 청산", item.SubItems[chName.Index].Text);
ULUtil.TraceCSV(ULUtil.GetCurTimeInt(), "모두 청산", item.SubItems[chName.Index], item.SubItems[chCurPrice.Index], item.SubItems[chProfitRate.Index]);
string strCode = item.SubItems[chCode.Index].Text;
int iCnt = int.Parse(item.SubItems[chBalance.Index].Text);