1
Follow
8
Followers
チュートリアル: 適用対象 - [数量] オプションのみがあり、[USDT 値] オプションがない注文
Created 2022-03-01 12:28:52 Updated 2022-03-01 12:35:17
3
1258
チュートリアル: 適用対象 - [数量] オプションのみがあり、[USDT 値] オプションがない注文
下の単数 = 取引先の精度最小の変動単位で,現在の価格を除いた USDT 値
精度最小変数単位:例えば,開口数が1.315である場合,最小変数単位は小数値=3
def transform_num(trade_usdt, price, num_precision):
return round(trade_usdt / price, num_precision)
num = transform_num (USDTの値,現在の価格,小数点を保持する)
これはPythonのコードサンプルで,参考にしてください.
Related Recommendations
Built-In Function_Cross Analysis and InstructionsHow to Specify Different Versions of Data for the Rented Strategy by Its Rental Code MetadataAdvanced Tutorial for FMZ Quant platform Strategy WritingElementary Tutorial for FMZ Quant platform Strategy WritingGet Started with FMZ Quant PlatformSECURITY BUGI keep getting error: Exchange_GetAccount: Invalid ContractTypeWe have an incredibly profitable market making algorithm for sideways markets on Bitmex - but need expert to help eliminate wait times during downward volatility in the marketError with deribitLimitations of the backtesting engine

