url 필요 없어서 뻄
This commit is contained in:
@@ -59,13 +59,11 @@ namespace BitgetAPI.WebService
|
||||
// 웹 전송 타입 지정
|
||||
var webConType = CommonProperty.WebConnectionType.GET;
|
||||
|
||||
if(postData.Length > 0) webConType = CommonProperty.WebConnectionType.POST;
|
||||
if (postData.Length > 0) webConType = CommonProperty.WebConnectionType.POST;
|
||||
|
||||
// 1. WebRequest 객체 형성 및 HttpWebRequest 로 형변환
|
||||
// 2. 거래소에 따른 헤더 파일 처리(POST 일 경우만 지정함)
|
||||
|
||||
if (string.IsNullOrEmpty(url))
|
||||
{
|
||||
switch (exchangeWebReqType)
|
||||
{
|
||||
#region Upbit
|
||||
@@ -90,9 +88,7 @@ namespace BitgetAPI.WebService
|
||||
break;
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
else wReq = (HttpWebRequest)WebRequest.Create(new Uri(url));
|
||||
|
||||
// GET, POST 구분
|
||||
switch (webConType)
|
||||
@@ -1239,7 +1235,7 @@ namespace BitgetAPI.WebService
|
||||
{
|
||||
candleData.WebSocketUpdate = true;
|
||||
lastCandleData.Close = candleData.Open;
|
||||
if(lastCandleData.High < lastCandleData.Close)
|
||||
if (lastCandleData.High < lastCandleData.Close)
|
||||
{
|
||||
lastCandleData.High = lastCandleData.Close;
|
||||
}
|
||||
@@ -1251,7 +1247,7 @@ namespace BitgetAPI.WebService
|
||||
dt = dt.AddSeconds(dt.Second * -1);
|
||||
dt = dt.AddMilliseconds(dt.Millisecond * -1);
|
||||
|
||||
if((int)mCandleTimeType > 60)
|
||||
if ((int)mCandleTimeType > 60)
|
||||
{
|
||||
dt = dt.AddMinutes(dt.Minute * -1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user