i am confused that why size is required? in other words i just want to buy $100 worth BTC at any point of time without worrying about how much it is in BTC.
i tried to omit size but that fails with error. what is the right way to just buy worth of X USD equivalent BTC.
i see to buy the params need to be like
const buyParams = { 'side': 'buy', 'price': '100.00', // USD size: '1', // BTC 'product_id': 'BTC-USD', 'type': 'market' };
i am confused that why size is required? in other words i just want to buy $100 worth BTC at any point of time without worrying about how much it is in BTC.
i tried to omit size but that fails with error. what is the right way to just buy worth of X USD equivalent BTC.