can used by witness now
copy as config.json, set "witness" to your witness account, run
btsprice --config config.json
{
"witness": "",
"timer_minute": 2,
"asset_list": [
"BTC", "SILVER", "GOLD", "TRY", "SGD", "HKD", "NZD", "CNY", "TCNY",
"MXN", "CAD", "CHF", "AUD", "GBP", "JPY", "EUR", "USD", "KRW"],
"cli_wallet": {
"host" : "localhost",
"port" : 8092,
"user" : "",
"passwd" : "",
"unlock" : ""
},
"price_limit": {
"common": "only update price feed when the change rate is between 1% ~ 50%",
"change_min": 1,
"change_max": 50,
"common": "spread bid price to price*(1+spread), ask price to price*(1-spread)",
"common": "excute the order book, get the real price",
"spread": 0.01,
"common": "we use the average price in this time",
"filter_minute": 30
},
"market_weight": {
"poloniex_btc": 1,
"yunbi_cny": 1,
"btc38_cny": 1,
"btc38_btc": 1,
"bter_cny": 0
},
"asset_config": {
"default": {
"core_exchange_factor": 1.01,
"maintenance_collateral_ratio": 1750,
"maximum_short_squeeze_ratio": 1100
},
"TCNY": {"maximum_short_squeeze_ratio": 1001}
}
}
support TCNY