Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
42babffe
Commit
42babffe
authored
Sep 04, 2019
by
linj
Committed by
vipwzw
Sep 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update trade autotest
parent
9389c46c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
trade.toml
plugin/dapp/trade/autotest/trade.toml
+4
-4
No files found.
plugin/dapp/trade/autotest/trade.toml
View file @
42babffe
...
...
@@ -59,7 +59,7 @@ dep = ["tokenFinish", "btyToTrade"]
#token sell case
[[SellCase]]
id
=
"tokenSell1"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 10 -s TS -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 10 -s TS -
e token --price_exec coins --price_symbol bty -
k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
from
=
"12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
amount
=
"10"
checkItem
=
[
"balance"
,
"frozen"
]
...
...
@@ -68,7 +68,7 @@ dep = ["tokenToTrade"]
[[SellCase]]
id
=
"tokenSell2"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 1 -s TS -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 1 -s TS
-e token --price_exec coins --price_symbol bty
-k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
from
=
"12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
amount
=
"1"
checkItem
=
[
"balance"
,
"frozen"
]
...
...
@@ -77,7 +77,7 @@ dep = ["tokenToTrade"]
[[SellCase]]
id
=
"tokenSell3"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 10 -s TS -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 10 -s TS
-e token --price_exec coins --price_symbol bty
-k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
from
=
"12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
amount
=
"10"
checkItem
=
[
"balance"
,
"frozen"
]
...
...
@@ -87,7 +87,7 @@ dep = ["tokenToTrade"]
#no balance
[[SellCase]]
id
=
"failSell"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 100 -s TS -k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
command
=
"send trade sell -f 0.01 -m 100 -p 0.01 -t 100 -s TS
-e token --price_exec coins --price_symbol bty
-k 12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
from
=
"12qyocayNF7Lv6C9qW4avxs2E7U41fKSfv"
amount
=
"100"
checkItem
=
[
"balance"
,
"frozen"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment