계좌정보를 받아들이기 위해 다음과 같은 수식을 썼는데, Spot이 전체적으로 'Get'함수를 인식하지 못하는 것 같습니다. 무엇을 확인해야 할까요?
스크립트
account = A1.GetBalanceETCinfo(9);
오류
TypeError: Cannot call method 'GetBalanceETCinfo' of undefined
비슷하게 종목객체에 대해서도 오류가 납니다
스크립트
종목 = 종목.GetOpenContracts();
오류
TypeError: Cannot call method 'GetOpenContracts' of undefined
답변 1
예스스탁
예스스탁 답변
2022-11-07 13:49:15
> 민현종 님이 쓴 글입니다.
> 제목 : YesSpot Reference Error 문의드립니다
> 계좌정보를 받아들이기 위해 다음과 같은 수식을 썼는데, Spot이 전체적으로 'Get'함수를 인식하지 못하는 것 같습니다. 무엇을 확인해야 할까요?
스크립트
account = A1.GetBalanceETCinfo(9);
오류
TypeError: Cannot call method 'GetBalanceETCinfo' of undefined
비슷하게 종목객체에 대해서도 오류가 납니다
스크립트
종목 = 종목.GetOpenContracts();
오류
TypeError: Cannot call method 'GetOpenContracts' of undefined