| Q&A 게시판 | HOME > Q&A 게시판 |
작성자 :
큰상
작성일 : 2021-05-12 09:38:02
조회수 : 290
spot 확인요청드립니다.
수고하십니다.
YT
condition1 = stime == 215600;
if MarketPosition == 0 and condition1 then {
Buy("매수진입1");
}
SPOT
Onstart
var ChartSet = new ReqChartItem("006","KRW","BTC",1,CHART_PERIOD_MINUTE,600,CHART_REQCOUNT_BAR,false,false);
var SystemSet = new SystemInfo("COIN_Spot_test", YL_TYPE_NORMAL, null, null, null);
Main.ReqChartEx(ChartSet,SystemSet);
//신호발생
function Main_OnRiseSignal(ChartEx, Signal)
{
var d = new Date();
var HHMMSS = d.getHours()*10000+d.getMinutes()*100+d.getSeconds();
Main.MessageList("매수주문",HHMMSS ,"코드 :", Main.GetOrderCode(Signal.code));
YT
condition1 = stime == 215600;
if MarketPosition == 0 and condition1 then {
Buy("매수진입1");
}
SPOT
Onstart
var ChartSet = new ReqChartItem("006","KRW","BTC",1,CHART_PERIOD_MINUTE,600,CHART_REQCOUNT_BAR,false,false);
var SystemSet = new SystemInfo("COIN_Spot_test", YL_TYPE_NORMAL, null, null, null);
Main.ReqChartEx(ChartSet,SystemSet);
//신호발생
function Main_OnRiseSignal(ChartEx, Signal)
{
var d = new Date();
var HHMMSS = d.getHours()*10000+d.getMinutes()*100+d.getSeconds();
Main.MessageList("매수주문",HHMMSS ,"코드 :", Main.GetOrderCode(Signal.code));
