Peter Lai

Results 241 comments of Peter Lai

@alistera17 Can you upgrade ccxt and call again?

@danielgroen It works for me. Were your positions opened on the testnet or mainnet?

@danielgroen The dafault environment is mainnet. You can call `setSandboxMode` to switch.

@Bomper Do those types mean: ``` exchange_deposit // withdrawal transaction from coinbase to other exchange => withdraw pro_withdrawal // crypto deposit (to coinbase from coinbasepro) => deposit ``` Also, if...

Hi @druphliu, That's already available through `NewApiTradingStatusService()`.

@druphliu Could you upgrade to the latest commit? The function was added on April 23. However we don't release a new version yet. @carlosmiei May I ask when the next...

Hi @gaardiolor `decimalToPrecision` is a unified method in the exchange, but you'll need to set the precision mode manually when using this function. I suggest using `amountToPrecision` or `priceToPrecision` for...

@gaardiolor That's a good idea, but I think we still need to normalize the price to significant digits first, then adjust the decimal places. Otherwise, the server would return the...

Hi @gaardiolor, I try to send the `FTM/USDC:USDC` order with 6 decimal places (MAX_DECIMAL - szDecimal, which is 6 - 0) with modified `priceToPrecision`, eg. `n hyperliquid createOrder FTM/USDC:USDC limit...