Bitfinex counter-measurement and counter-measurement currency units are inconsistent

Author: wangwlb, Created: 2017-10-17 17:36:36, Updated:

Bitfinex has purchased 5666.401 2.0163 {Time:1508133664600,High:5666.301,Low:5666.299,"

Bitfinex has purchased 5668.7152 0.0995 {High:38338.6149,Low:35854.46,}

The first line is the result of the retest, the information in the log is in dollars; the third line is the actual result, the log information is clearly in RMB. The difference in pricing leads to a distortion of MACD values -- the retrospective and the actual are roughly 6-7 times worse than the reference exchange rate.

Can you tell me how to unify the prices?


More

The Little DreamThis is due to the exchange rate. The actual exchange rate that should be displayed on the trading log is the dollar, but the price in the policy code is set, and the price parameters that are entered are RMB. So how do you set the underlying conversion rate? If you want to disable the conversion, that is, display the original price of the exchange, you can call exchange.Set ExchangeRate ((1)).

wangwlbTest results of the same strategy