Binance_Min_Limit_Order_amount_library

TODO: This library give us the minimum Limit Order amount for the contract in Binance.
m_qty(n_v, m_fee, t_fee, cost, m_t)
TODO: it give us the Minimum Qty for the trading in Binance
Parameters:
n_v: TODO: min_notional_value. 5 dollar is the minimum notional amount in Binance at the moment.
m_fee: TODO: maker_fee %
t_fee: TODO: taker_fee %
cost: TODO: your investing money
m_t: TODO: if you want Limit_Order, put the "T", if you want Market_Order, put the "M" defval="M"
Returns: TODO: for the coin of binance on your chart, [min_unit,min_qty,posible_qty,fee_price]
Reference: binance.com/en/futures/trading-rules/perpetual/
Updated:
m_qty(n_v, m_fee, t_fee, cost, price)
TODO: it give us the Minimum Qty for the trading in Binance
Parameters:
n_v: TODO: min_notional_value. 5 dollar is the minimum notional amount in Binance at the moment.
m_fee: TODO: maker_fee %
t_fee: TODO: taker_fee %
cost: TODO: your investing money
price: TODO: Target price you want to trade in Limit_Order, if you want Market_Order, NaN
Returns: TODO: for the coin of binance on your chart, [min_unit,min_qty,posible_qty,fee_price]
Added:
ceil_truncate()
truncate()
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.
Penafian
Perpustakaan Pine
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda juga boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini dalam penerbitan adalah tertakluk kepada Peraturan Dalaman.