Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1_zh-hk #41

Open
wants to merge 915 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
915 commits
Select commit Hold shift + click to select a range
401fc72
Update index.html.md
fanguangpingathuobi Aug 3, 2020
cb5e773
Update index.html.md
fanguangpingathuobi Aug 4, 2020
3ee8d1a
Add FAQ for http 405 error
eynzhang Aug 4, 2020
408fb12
Fix incorrect comment for low-high value
eynzhang Aug 4, 2020
fa154e0
Update index.html.md
fanguangpingathuobi Aug 5, 2020
b200d93
Fix data type
eynzhang Aug 6, 2020
2435626
Merge branch 'v1_cn' of https://github.com/huobiapi/docs into v1_cn
eynzhang Aug 6, 2020
89a9e72
Update index.html.md
fanguangpingathuobi Aug 10, 2020
bcff03b
Update index.html.md
fanguangpingathuobi Aug 11, 2020
88cb2c0
Update index.html.md
fanguangpingathuobi Aug 11, 2020
adca012
Update index.html.md
fanguangpingathuobi Aug 11, 2020
3dde25e
Update index.html.md
fanguangpingathuobi Aug 11, 2020
27d8857
Update index.html.md
fanguangpingathuobi Aug 11, 2020
eaf4172
Update index.html.md
fanguangpingathuobi Aug 12, 2020
f211555
Update index.html.md
fanguangpingathuobi Aug 12, 2020
c334af2
Update index.html.md
fanguangpingathuobi Aug 12, 2020
3146467
Update index.html.md
fanguangpingathuobi Aug 12, 2020
2052e78
Add allowed chars for client-order-id
eynzhang Aug 12, 2020
571fadf
Update index.html.md
eynzhang Aug 12, 2020
9444a0f
Update according to latest implementation
eynzhang Aug 13, 2020
f6e00ab
Update index.html.md
fanguangpingathuobi Aug 13, 2020
fe40ac2
Update index.html.md
fanguangpingathuobi Aug 13, 2020
0b066a2
Update index.html.md
eynzhang Aug 18, 2020
e497d2c
Update index.html.md
fanguangpingathuobi Aug 20, 2020
75cb374
Update index.html.md
fanguangpingathuobi Aug 21, 2020
b4cf006
Update index.html.md
fanguangpingathuobi Aug 21, 2020
70ecc6c
Merge branch 'master' into v1_cn
eynzhang Aug 24, 2020
b44c53a
Update index.html.md
eynzhang Aug 25, 2020
49b61f5
Remove out dated testnet document
eynzhang Aug 25, 2020
05ebc09
Update index.html.md
fanguangpingathuobi Sep 1, 2020
3de2fe3
Update index.html.md
fanguangpingathuobi Sep 1, 2020
c10c492
Update index.html.md
eynzhang Sep 3, 2020
44f1acd
Update index.html.md
eynzhang Sep 9, 2020
ad32f3f
Update index.html.md
eynzhang Sep 9, 2020
928affe
Update index.html.md
eynzhang Sep 9, 2020
c3257da
Update contact email
eynzhang Sep 11, 2020
7e0925e
Update index.html.md
eynzhang Sep 11, 2020
2263b49
Add detailed error code for Market and Wallet API
eynzhang Sep 14, 2020
73a859b
Update index.html.md
eynzhang Sep 14, 2020
af24bd7
Change curl request to earlier place in Market Rest API to align with…
eynzhang Sep 14, 2020
c663365
Ajust code sample position for Wallet API
eynzhang Sep 14, 2020
7775ea7
Adjust code sample position for SubUser API
eynzhang Sep 14, 2020
82d60de
Refine code sample style for Order API
eynzhang Sep 14, 2020
1b51772
Adjust code sample for Margin API
eynzhang Sep 14, 2020
838658a
Update error code table header
eynzhang Sep 16, 2020
7587a5f
Add error code for Algo Order
eynzhang Sep 16, 2020
97d23fc
Remove duplicated source description
eynzhang Sep 17, 2020
6b2b9f4
Update index.html.md
eynzhang Sep 17, 2020
70da8d0
Add isolated margin search order default size
eynzhang Sep 18, 2020
b3bbfdf
Refine JSON example position for market websocket
eynzhang Sep 18, 2020
d26a25a
Remove unnecessary update exmaple in INTRODUCTION section as it will …
eynzhang Sep 18, 2020
723e788
Update index.html.md
eynzhang Sep 18, 2020
13e9529
Remove pull response as it is available in each endpoint
eynzhang Sep 18, 2020
1e9cfc9
Update index.html.md
eynzhang Sep 23, 2020
3ad3082
Update index.html.md
eynzhang Sep 23, 2020
e646580
Update index.html.md
eynzhang Sep 23, 2020
bef7f8d
Update index.html.md
eynzhang Sep 23, 2020
7e02d67
Update index.html.md
eynzhang Sep 24, 2020
6580ea0
Update index.html.md
eynzhang Sep 24, 2020
d2e897f
Add error code for Account Rest APIs
eynzhang Sep 27, 2020
ce712a5
Update index.html.md
eynzhang Sep 27, 2020
dfb5f2c
Add error code description for Trading Rest API
eynzhang Sep 27, 2020
d577257
Add error code for SubUser APIs
eynzhang Sep 27, 2020
eb91722
Add error code for isolated margin account
eynzhang Sep 27, 2020
d5377a4
Add error code for cross margin account
eynzhang Sep 27, 2020
aa0bd4b
Add error code for C2C API
eynzhang Sep 27, 2020
95b36b7
Remove duplicated error code
eynzhang Sep 27, 2020
4e07fe7
Update index.html.md
eynzhang Sep 27, 2020
697e588
Add error code for Market WebSocket
eynzhang Sep 27, 2020
1bf0f24
Add error code for websocket v2
eynzhang Sep 27, 2020
3b6174d
Add obsolete for websocket v1
eynzhang Sep 27, 2020
8a7b51d
Add error code for ETF APIs
eynzhang Sep 27, 2020
1bb93b2
Remove old error code for ETF swap-in-out
eynzhang Sep 27, 2020
0ca3492
Add error code for ETP APIs
eynzhang Sep 27, 2020
0af4bce
Update index.html.md
eynzhang Sep 27, 2020
733b86a
Change error code position for Stable coin
eynzhang Sep 27, 2020
2ffb982
Move Tech support to earlier place
eynzhang Sep 29, 2020
5401aa9
Add general repayment endpoints
eynzhang Oct 10, 2020
61f8cd8
Update index.html.md
eynzhang Oct 10, 2020
8cc2be1
Update index.html.md
eynzhang Oct 12, 2020
fb004a8
Add line break in change log
eynzhang Oct 12, 2020
2adbbc3
Refine error code description
eynzhang Oct 13, 2020
38b289a
Add introduction for Reference Data APIs
eynzhang Oct 14, 2020
f56ca2b
Update index.html.md
eynzhang Oct 16, 2020
15e4ec0
Add account id for order creation event
eynzhang Oct 16, 2020
2148c3f
Update index.html.md
eynzhang Oct 16, 2020
4f211ed
Merge branch 'master' into v1_cn
eynzhang Oct 21, 2020
e57411f
Add 本位
eynzhang Oct 21, 2020
2bfe5e4
Change general margin APIs to cross margin
eynzhang Oct 22, 2020
bddf943
Update QQ group
eynzhang Oct 23, 2020
00b19d9
Add description for account states
eynzhang Nov 10, 2020
cd469d9
Update index.html.md
eynzhang Nov 13, 2020
7985259
Update index.html.md
eynzhang Nov 13, 2020
8cdedf9
Update error code
eynzhang Nov 13, 2020
87fc3a6
Fix data sample and update account and error code
eynzhang Nov 19, 2020
3c7d238
add withdraw 2fa info
eynzhang Nov 20, 2020
b1f1ffd
add more info for ws v2 signature
eynzhang Nov 20, 2020
7ce8147
Add desc for account update regarding contract
eynzhang Nov 23, 2020
652203f
Update index.html.md
eynzhang Nov 24, 2020
53d3667
Update index.html.md
momocao Nov 26, 2020
c7582d3
Merge pull request #26 from huobiapi/momo-patch-1-1
eynzhang Nov 27, 2020
d736760
Update index.html.md
eynzhang Nov 27, 2020
f3f8f33
Add new field for order update
eynzhang Nov 30, 2020
4b615fc
Add desc for client order id
eynzhang Nov 30, 2020
3812c10
Add more desc for client-order-id
eynzhang Nov 30, 2020
1ffbc40
Update index.html.md
momocao Dec 2, 2020
1421f9a
Merge pull request #29 from huobiapi/momo-patch-1
momocao Dec 2, 2020
f154c86
Revert "Merge pull request #29 from huobiapi/momo-patch-1"
eynzhang Dec 2, 2020
0506e50
Update index.html.md
momocao Dec 2, 2020
3ef75a6
Merge pull request #30 from huobiapi/momo-patch-1-1
momocao Dec 2, 2020
f2fc8ca
Fix error code table
eynzhang Dec 8, 2020
e56de9c
Update websocket v2 error code description
eynzhang Dec 10, 2020
d9fa42e
Update matchresult created-at description
eynzhang Dec 10, 2020
e6bc6e7
Update cancel behavior
eynzhang Dec 10, 2020
2d2304a
Update index.html.md
eynzhang Dec 10, 2020
6829e77
Update market rest API FAQ
eynzhang Dec 16, 2020
b64b00a
Merge branch 'master' into v1_cn
eynzhang Dec 16, 2020
05eb3a2
Update index.html.md
eynzhang Dec 16, 2020
0c62ccb
Update Wallet API FAQ
eynzhang Dec 16, 2020
b4a6060
Update index.html.md
momocao Dec 16, 2020
408a604
Update index.html.md
momocao Dec 16, 2020
1f14776
Merge pull request #32 from huobiapi/momo-patch-1-3
momocao Dec 16, 2020
abe2375
Update index.html.md
momocao Dec 17, 2020
22c72ac
Update Margin APIs FAQ
eynzhang Dec 18, 2020
c6f4890
Update Order API FAQ
eynzhang Dec 18, 2020
3e93632
Update Account API Error code position
eynzhang Dec 21, 2020
674eaaa
Update FAQ
eynzhang Dec 21, 2020
5dccba3
Update index.html.md
momocao Dec 21, 2020
fcd344e
Merge pull request #35 from huobiapi/momo-patch-1-5-2
momocao Dec 21, 2020
de8ae18
Update index.html.md
momocao Dec 21, 2020
063b4f0
Update index.html.md
momocao Dec 21, 2020
4211c37
Merge pull request #37 from huobiapi/momo-patch-1-7
momocao Dec 21, 2020
8c15e18
Merge pull request #36 from huobiapi/momo-patch-1-6-3
momocao Dec 21, 2020
b803b2c
Merge pull request #33 from huobiapi/momo-patch-1-4
eynzhang Dec 24, 2020
8f73206
Update Algo Order Error Code position
eynzhang Dec 24, 2020
3f32a5a
Update stable-coin error code position
eynzhang Dec 24, 2020
3b35b22
Update c2c error code position
eynzhang Dec 24, 2020
1e74a97
Update market websocket error code position
eynzhang Dec 24, 2020
4c5fbb2
Update websocket v2 error code position
eynzhang Dec 24, 2020
6190d73
Update ETF error code position
eynzhang Dec 24, 2020
28beccf
Update ETP error code position
eynzhang Dec 24, 2020
a4ca748
Update sub user error code position
eynzhang Dec 24, 2020
acc432d
Remove useless order state
eynzhang Dec 30, 2020
9290b0c
更新订单查询中手续费说明
eynzhang Dec 30, 2020
702d68f
Update FAQ
eynzhang Dec 30, 2020
a9e6bb1
Add description for withdraw address query
eynzhang Dec 30, 2020
8a2fb5c
Update index.html.md
eynzhang Dec 30, 2020
ed2cf19
Update signature error FAQ
eynzhang Dec 30, 2020
392a1a4
Update Introduction and Contact us
eynzhang Dec 31, 2020
46214b2
Update index.html.md
eynzhang Dec 31, 2020
7348df2
etp long
momocao Dec 31, 2020
a115ee8
Update index.html.md
eynzhang Dec 31, 2020
fa4340c
Merge branch 'v1_cn' of https://github.com/huobiapi/docs into v1_cn
eynzhang Dec 31, 2020
0348560
Move Contact position and Add API Explorer
eynzhang Dec 31, 2020
5d425a5
mode=2
momocao Jan 5, 2021
1df400b
Update index.html.md
eynzhang Jan 5, 2021
c168e7f
mode2
momocao Jan 5, 2021
3f1c1c0
Update order related description for type/state/source
eynzhang Jan 6, 2021
d71fa3a
Update index.html.md
eynzhang Jan 6, 2021
d5c1f23
deadman
momocao Jan 8, 2021
7161e1d
dead man
momocao Jan 8, 2021
afb413b
Update deposite status description
eynzhang Jan 12, 2021
2326c63
Update openOrders state
eynzhang Jan 13, 2021
dec8948
Update v1 offline notice
eynzhang Jan 14, 2021
bf09009
Update index.html.md
eynzhang Jan 14, 2021
cb1faec
Add desc for cancel client-order-id
eynzhang Jan 15, 2021
eccc4a5
Update open orders description
eynzhang Jan 18, 2021
26bb2a4
etp和start time
momocao Jan 19, 2021
a61bd52
Merge branch 'v1_cn' of https://github.com/huobiapi/docs into v1_cn
momocao Jan 19, 2021
4812399
types
momocao Jan 22, 2021
082150d
Add tx-hash description
eynzhang Jan 26, 2021
ee1a113
通用接口
momocao Feb 1, 2021
d35cd2d
Update index.html.md
LeeSherwin Feb 2, 2021
2bbc29a
Update index.html.md
LeeSherwin Feb 2, 2021
b73d98c
Update general FAQ and order FAQ
eynzhang Feb 3, 2021
3a3e917
Update index.html.md
eynzhang Feb 3, 2021
1c152a3
Update index.html.md
eynzhang Feb 5, 2021
4edc55d
Update margin account types
eynzhang Feb 5, 2021
9b63909
Update index.html.md
eynzhang Feb 5, 2021
f2b3999
Remove websocket v1 body
eynzhang Feb 9, 2021
426aa84
Update index.html.md
eynzhang Mar 1, 2021
4389b20
account and order websocket v1 offline
eynzhang Mar 1, 2021
b7e55a1
母子手续费抵扣
momocao Mar 1, 2021
b5fb7d7
Update index.html.md
momocao Mar 1, 2021
cf3e083
fix merge issue
eynzhang Mar 1, 2021
8b32f8c
Update API count
eynzhang Mar 2, 2021
6f80d85
Remove websocket v1 from document
eynzhang Mar 8, 2021
a4c4a1e
Update error code for margin account
eynzhang Mar 15, 2021
c1d905f
Update info for the Order Detail
Mar 25, 2021
e897372
delete loan for Subscribe Account Change
Mar 25, 2021
bda6fb7
modify Description for Timestamp
Mar 30, 2021
eac99a1
delete hb10
momocao Apr 1, 2021
5191724
types
momocao Apr 1, 2021
1a40d73
delete cross for Repayment Record Reference
Apr 12, 2021
1b65b58
modify css
Apr 15, 2021
3e62a45
modify ratelimit
Apr 15, 2021
1afd300
modify ratelimit
Apr 15, 2021
b4b4b24
add client-order-id for v1/subuser/account
Apr 19, 2021
812c555
add client-order-id for v1/subuser/account
Apr 19, 2021
138dea3
modify execAmt description
Apr 25, 2021
6f0ed95
modify execAmt description
Apr 25, 2021
1848593
etp
momocao May 12, 2021
0be8ca2
etp
momocao May 12, 2021
b0bff4c
Update index.html.md
momocao May 13, 2021
c5758f9
transfer
momocao May 13, 2021
0a50c16
error
momocao May 27, 2021
674db4b
modify amount\price description
May 28, 2021
d5c66e0
client oid
momocao Jun 4, 2021
8b3e9d8
modif within 8 hours
Jun 23, 2021
3fd47be
add cms link
Jun 24, 2021
321d49d
add cms link
Jun 25, 2021
5ce393b
add cms link
Jun 25, 2021
a1df665
add symbol for submitcancel
Jul 16, 2021
c676722
modify Get Account History Description
Jul 20, 2021
8a4b71b
modify Get Account History Description
Jul 20, 2021
83a3cda
modify Get Account History Description
Jul 23, 2021
220f68a
*Hidden option contract
fuwei6056 Jul 23, 2021
b3dc3f7
Merge remote-tracking branch 'origin/v1_cn' into v1_cn
fuwei6056 Jul 23, 2021
c0b6b46
*Hidden option contract
fuwei6056 Jul 23, 2021
9e9dbbe
400档
momocao Jul 26, 2021
c0b312f
ticker
momocao Jul 29, 2021
8a9970a
modify order state Description
Jul 29, 2021
8234ea6
modify order state Description
Jul 29, 2021
2e9918b
modify order state Description
Jul 29, 2021
a2f3aa6
margin
momocao Jul 30, 2021
7be9f71
Merge branch 'v1_cn' of https://github.com/huobiapi/docs into v1_cn
momocao Jul 30, 2021
3731004
ticker1
momocao Jul 30, 2021
f458354
remove start-date end-date
Aug 5, 2021
14de4d7
Update index.html.md
huobi-hk Aug 11, 2021
c4c91bd
Update index.html.md
huobi-hk Aug 11, 2021
eb9cd62
Create test
huobi-hk Aug 17, 2021
545a9d2
Update index.html.md
huobi-hk Aug 17, 2021
64d8552
Update deploy.sh
huobi-hk Aug 18, 2021
57e7f6b
Update test
huobi-hk Aug 18, 2021
aaaf0f3
Update layout.erb
huobi-hk Aug 18, 2021
5ba522d
Update layout.erb
huobi-hk Aug 18, 2021
73afd62
Update layout.erb
huobi-hk Aug 18, 2021
2e0808a
Rename logo.svg to logo_bak.svg
huobi-hk Aug 18, 2021
7a68027
Add files via upload
huobi-hk Aug 18, 2021
e958fb9
Add files via upload
huobi-hk Aug 18, 2021
759d3dd
Update layout.erb
huobi-hk Aug 18, 2021
d3d8280
Update layout.erb
huobi-hk Aug 18, 2021
8a6b146
Update layout.erb
huobi-hk Aug 18, 2021
61d5030
Update layout.erb
huobi-hk Aug 18, 2021
eefba91
Update layout.erb
huobi-hk Aug 18, 2021
0bae726
Update layout.erb
huobi-hk Aug 18, 2021
17713b3
Update layout.erb
huobi-hk Aug 18, 2021
0ff6968
Update layout.erb
huobi-hk Aug 18, 2021
d96ade2
Update layout.erb
huobi-hk Aug 18, 2021
a33a289
Update test
huobi-hk Aug 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ branches:
- coin_margined_swap_en
- usdt_swap_cn
- usdt_swap_en
- option_cn
- option_en
# - option_cn
# - option_en

cache: bundler

script:
script:
- ./deploy.sh
10 changes: 5 additions & 5 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ parse_args() {
if [ -e ".env" ]; then
source .env
fi
#
#
check_version_lang
# Parse arg flags
# If something is exposed as an environment variable, set/overwrite it
Expand Down Expand Up @@ -99,7 +99,7 @@ check_version_lang() {
#
language=$(echo $branch | rev | cut -d '_' -f 1 | rev)
version=$(echo $branch | cut -d '_' -f 1)

if [[ $version =~ ^v[0-9]$ ]] ; then
version=${version:1}
else
Expand Down Expand Up @@ -162,7 +162,7 @@ main() {
# fi

# check if deploy_branch exists locally
if git show-ref --verify --quiet "refs/heads/$deploy_branch"; then
if git show-ref --verify --quiet "refs/heads/$deploy_branch"; then
if git ls-remote --exit-code $repo "refs/heads/$deploy_branch" ; then
# deploy_branch exists in $repo; make sure we have the latest version

Expand Down Expand Up @@ -228,7 +228,7 @@ commit+push() {
if [ $GH_TOKEN ]; then
# deploy by Travis CI
# add github token
repo="https://"$GH_TOKEN"@github.com/huobiapi/docs.git"
repo="https://"$GH_TOKEN"@github.com/huobi-hk/docs.git"
git remote add origin-pages $repo
git push --quiet origin-pages $deploy_branch
else
Expand Down Expand Up @@ -288,7 +288,7 @@ if [[ -n "$source_only" ]]; then
echo "source only"
run_build
elif [[ -n "$push_only" ]]; then
echo "push only"
echo "push only"
main
else
echo "source and push"
Expand Down
Binary file modified source/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 7 additions & 28 deletions source/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading