Tutorial: Applicable to - transactions with only binary options on the list below, binary-free USDT value binary options

Author: The BTC Currency Strategy is copied by the Currency Team, Created: 2022-03-01 12:28:52, Updated: 2022-03-01 12:35:17

Tutorial: Applicable to - transactions with only binary options on the list below, binary-free USDT value binary options

The following single number = the value of the open USDT, minus the current price, taking the smallest unit of change in the exchange's accuracy

Minimum variable of precision: For example, if the number of transactions is 1.315, then the minimum variable is decimal = 3

def transform_num(trade_usdt, price, num_precision):     return round(trade_usdt / price, num_precision)

num = transform_num ((USDT value, current price, retain decimal)

The following is an example of Python code for reference.


More

What's that?return round ((trade_usdt / price, num_precision) What do the two parameters in parentheses mean? The God of Trouble Explains

What's that?Yes, make a case and explain it.

The Little DreamI'm not sure if I'm going to be able to do it.