Documentation
¶
Index ¶
Constants ¶
View Source
const CACHE_CALENDAR = "calendar"
View Source
const CACHE_SCRIPT_BY_HASH = "script.by.hash"
View Source
const CACHE_SCRIPT_BY_NAME = "script.by.name"
View Source
const CACHE_STOCK_CODE = "stock.code"
View Source
const CACHE_STOCK_KHISTORY = "stock.khistory"
View Source
const CACHE_STOCK_KHISTORY_FLAT = "stock.khistory.flat"
View Source
const CACHE_STOCK_KHISTORY_MONTH = "stock.khistory.month"
View Source
const CACHE_STOCK_KHISTORY_WEEK = "stock.khistory.week"
View Source
const CACHE_STOCK_SNAPSHOT = "stock.snapshot"
View Source
const CACHE_TIMESTAMP = "timestamp"
View Source
const CHINA = "ch"
View Source
const DAO_MAIN = "main"
View Source
const DB_CALENDAR = "calendar"
View Source
const DB_COMMON = "common"
View Source
const DB_DEFAULT = "def"
View Source
const DB_HISTORY = "history"
View Source
const DB_PROFILE = "profile"
View Source
const GROUP_SCRIPT = "script"
View Source
const HONGKONG = "hk"
View Source
const MODE_DAEMON = "daemon"
View Source
const MODE_MASTER = "master"
View Source
const MODE_MOCKEE = "mockee"
View Source
const SERVICE_SYNC = "sync"
View Source
const SHANGHAI = "sh"
View Source
const SHENZHEN = "sz"
View Source
const STARTUP = "su"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShowResponse ¶
type ShowResponse struct {
Showapi_res_error string
Showapi_res_id string
Showapi_res_code int
Showapi_res_body ShowResponseBody
}
type ShowResponseBody ¶
type StockInfo ¶
type StockInfo struct {
Name string
OpenPrice string
ClosePrice string
NowPrice string
TodayMax string
TodayMin string
TradeNum string
TraceAmount string
Buy1_n string
Buy1_m string
Buy2_n string
Buy2_m string
Buy3_n string
Buy3_m string
Buy4_n string
Buy4_m string
Buy5_n string
Buy6_m string
Sell1_n string
Sell1_m string
Sell2_n string
Sell2_m string
Sell3_n string
Sell3_m string
Sell4_n string
Sell4_m string
Sell5_n string
Sell5_m string
Date string
Time string
Diff_money string
Diff_rate string
Swing string
Turnover string
Pe string
Pb string
Highlimit string
Downlimit string
All_value string
Circulation_value string
Currcapital string
Totalcapital string
Max52 string
Min52 string
AppointRate string
AppointDiff string
State int
}
Click to show internal directories.
Click to hide internal directories.