Skip to content

Commit

Permalink
[Script] Add more output
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Jan 23, 2016
1 parent d4e9bfc commit ebf1990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/exchange-simpleticker-stats/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ class Config():
wallet_user = ""
wallet_password = ""
witness_url = "ws://10.0.0.16:8090/"
# witness_url = "ws://testnet.bitshares.eu/ws"
witness_user = ""
witness_password = ""

watch_markets = ["USD_BTS", "CNY_BTS", "GOLD_BTS", "SILVER_BTS", "EUR_BTS", "BTC_BTS"]
# watch_markets = ["PEG.RANDOM_TEST"]
market_separator = "_"
account = "xeroc"

Expand All @@ -29,7 +31,7 @@ class Config():

print("\n%s" % a)
print("=" * len(a))
print(" - Last Trade Premium: %+7.3f%%" % premium)
print(" - Last Trade Premium: %+7.3f%% (%f)" % (premium, ticker[a]["last"]))
print(" - Ask Order Premium: %+7.3f%%" % premium_bid)
print(" - Bid Order Premium: %+7.3f%%" % premium_ask)
print(" - Spread: %+7.3f%%" % spread)
Expand Down

0 comments on commit ebf1990

Please sign in to comment.