2시간 3시간봉 추가

This commit is contained in:
kyh
2024-10-31 10:46:24 +09:00
parent ce79a8ac7b
commit 32d24ea61a
5 changed files with 45 additions and 15 deletions

View File

@@ -24,6 +24,7 @@ using DevExpress.XtraEditors.Filtering;
using DevExpress.XtraExport.Xls;
using DevExpress.Utils.Filtering.Internal;
using System.Collections.Specialized;
using Serilog;
namespace BitgetAPI.WebService
{
@@ -207,6 +208,12 @@ namespace BitgetAPI.WebService
case CommonProperty.MCandleTimeType.H1:
timespan_add = new System.TimeSpan(1, 0, 0);
break;
case CommonProperty.MCandleTimeType.H2:
timespan_add = new System.TimeSpan(2, 0, 0);
break;
case CommonProperty.MCandleTimeType.H3:
timespan_add = new System.TimeSpan(3, 0, 0);
break;
case CommonProperty.MCandleTimeType.H4:
timespan_add = new System.TimeSpan(4, 0, 0);
break;
@@ -304,7 +311,7 @@ namespace BitgetAPI.WebService
using (var reader = new StreamReader(Response.GetResponseStream()))
{
var sRespBodyData = reader.ReadToEnd();
Console.WriteLine(sRespBodyData);
Log.Error(webEx, sRespBodyData);
//return (JObject.Parse(sRespBodyData));
}
}