1
Follow
8
Followers
Tutoriel : Applicable à - Commandes avec uniquement l'option [Quantité], mais pas l'option [Valeur USDT]
Created 2022-03-01 12:28:52 Updated 2022-03-01 12:35:17
3
1258
Tutoriel : Applicable à - Commandes avec uniquement l'option [Quantité], mais pas l'option [Valeur USDT]
Numéro unique suivant = valeur de l'USDT de l'ouverture de la position en plus du prix actuel, en unités de moindre variation avec précision de l'échange
Le minimum de variation de précision: par exemple, le nombre d'ouvertures est de 1.315, alors le minimum de variation est le nombre minuscule = 3
def transform_num(trade_usdt, price, num_precision):
return round(trade_usdt / price, num_precision)
num = transform_num (valeur en USDT, prix actuel, réserver le chiffre minuscule)
Voici un exemple de code en Python pour référence.
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

