Hong Kong stocks Source software development methods

Brief Description: Hong Kong stocks software source development
Parameter name Required Type Description
IP is a string transaction server IP
Version is a string API version
YybID is integer Sales Code
AccountNo a string of securities login account
TradeAccount a string of securities trading accounts, general and login account same
JyPassword a string transaction password
port is a string communication port
TxPassword a string communication password
Category is integer indicating the type of query information, and funds 0 1 2 the same day the shares traded that day commissioned 3 4 5 shareholders may withdrawals Code
returned examples
species 0 (query funds) returns

{
"Data1":
{
"capital account": "900300002123",
"total assets": "916,189.65",
"fund balance": "916,189.65",
"funds available": "916,189.65",
"currency": "0" ,
"the desirability of funds": "888,902.35",
"reserved information": ""
} account to get data
request URL:

https://127.0.0.1/Api/QueryData
request method:

POST / GET
parameters:
}
species 1 (query share) returns

{
"DATAl":
{
"Floating P": "",
"display color": "",
"cost": "",
"Number of freeze": "",
"with reference to the profit and loss ratio (%)": "",
"sell number": "",
"non-negotiable": "",
"current price": "",
"stock code": "",
"guaranteed price": "",
"new market value": "",
"reserved information": "",
"diluted profit and loss": "",
"Securities name": "",
"the number of securities": "",
"shareholder Code": "",
"Exchange Symbol": "",
" achieve profit and loss ":" "
}
}
Class 2 (day Order) return

{
"Data1":
{
"commissioned by Category": "",
"quotations": "",
"stock code": "",
"the number of trust": "",
"commissioned by Time": "",
"freezing of funds" : "",
"commissioned by number": "",
"the number of transactions": "",
"cancellation number": "",
"price trust": "",
"reserved information": "",
"trade mark": "",
"status description": "",
"Securities name": "",
"may cancellation mark": "",
"transaction price": "",
"shareholder Code": "",
"Exchange symbol" : ""
}
}
type 3 (day Order) returns

{
"Data1":
{
"commissioned by Category": "",
"cancellation mark": "",
"stock code": "",
"commissioned by number": "",
"the number of transactions": "",
"turnover time ":" ",
" occur amount ":" ",
" reserved information ":" ",
" trading symbol ":" ",
" Securities name ":" ",
" transaction price ":" ",
" shareholder Code ": "",
"turnover number": ""
}
}
type 4 (available cancellation) returns

{
"Data1":
{
"commissioned by Category": "",
"quotations": "",
"stock code": "",
"the number of trust": "",
"commissioned by Time": "",
"freezing of funds" : "",
"commissioned by number": "",
"the number of transactions": "",
"cancellation number": "",
"price trust": "",
"reserved information": "",
"trade mark": "",
"status description": "",
"Securities name": "",
"may cancellation mark": "",
"transaction price": "",
"shareholder Code": "",
"Exchange symbol" : ""
}
}
type 5 (shareholders code) returns

{
"Data2":
{
"capital account": "80030000200123",
"shareholder name": "Joe Smith",
"margin identity": "0",
"reserved information": "",
"account type": " 0 ",
" shareholder Code ":" 0103716123 "
},
" data1 ":
{
" capital account ":" 80030000200123 ",
" shareholder name ":" Joe Smith ",
" margin identity ":" 0 ",
" reserved information ":" ",
" account type ":" 1 ",
" shareholder Code ":" A184273456 "
Hong Kong stocks Source software development methods

Guess you like

Origin blog.51cto.com/14493918/2428145