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 값, 현재 가격, 소수점을 유지)
참고로 아래는 파이썬 코드 예제입니다.
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

