CYBOS Plus

[선물옵션 결제기준잔고] CpTrade.CpTd0721F

작성일
2017-05-25 오전 9:06:06
조회수
1866

  설명: 선물옵션결제기준잔고데이터를요청하고수신한다

통신종류: Request/Reply

모듈위치: CpTrade.dll

Method

object.SetInputValue(type,value)

type해당하는입력데이터를 value 값으로지정합니다

  • type: 입력데이터종류

0 - (string)계좌번호

1 - (string)상품관리구분[defaut:50]

2 - (string) 종목코드[default:""]

3 - (long) 요청건수[default:10] - 최대20

  • value: 새로지정할

value = object.GetHeaderValue(type)

type해당하는헤더데이터를반환합니다

  • type: 데이터종류

3 - (longlong)현금결제예탁액

4 - (longlong)대용결제예탁액

5 - (longlong)총결제예탁액

6 - (longlong)현금위탁증거금

7 - (longlong)대용위탁증거금

8 - (longlong)총위탁증거금

9 - (longlong)현금주문가능액

10 - (longlong)대용주문가능액

11 - (longlong)총주문가능액

12 - (longlong)현금인출가능액

13 - (longlong)대용인출가능액

14 - (longlong)총인출가능액

15 - (longlong)순위험증거금

17 - (longlong)체결분순익

18 - (longlong)미체결주문분

20 - (longlong)현금미결제예탁액

21 - (longlong)대용미결제예탁액

22 - (longlong)총미결제예탁액

23 - (longlong)현금결재순손실

24 - (longlong)총결재순손실

25 - (long) 수신개수

26- (long) 매도신규주문수량

27- (long) 매도청산주문수량

28- (long) 매수신규주문수량

29- (long) 매수청산주문수량

30- (longlong) 체결분순손실

31 - (longlong) C등급총위험증거금

32 - (longlong) C등급총위험가결산

33 - (longlong) D등급총위험증거금

34 - (longlong) D등급총위험가결산

35 - (longlong) E등급총위험증거금

36 - (longlong) E등급총위험가결산

  • 반환값: 데이터종류에해당하는

value = object.GetDataValue (Type,index)

type해당하는헤더데이터를반환합니다

  • type: 데이터종류

0 - (string) 종목코드

1 - (string) 종목명

2 - (long) 도전일잔고수량

3 - (long) 수전일잔고수량

4 - (long) 도신규체결수량

5 - (long) 수신규체결수량

6 - (long) 도현재잔고수량

7 - (long) 수현재잔고수량

8 - (long) 도미체결수량

9 - (long) 수미체결수량

10 - (long) 도청산수량

11 - (long) 수청산수량

22- (double) 옵션행사가

  • index: data index

  • 반환값: 데이터종류의 index 번째 data

 

object.BlockRequest()

hts 선물옵션결제기준잔고데이터요청.Blocking Mode

첨부파일