Saturday 1 April 2017

Whaleclub api opening a turbo position

Im trying to test opening a turbo position in the whaleclub api

http://docs.whaleclub.co/

and so far I have

wc.newTurboPosition({
direction: 'short',
market: 'BTC-USD',
type: '1min',
size: (1 * 1e8)/100 
}).then(console.log);

using this client library

https://github.com/askmike/whaleclub

I can open a regular position fine using

wc.newPosition({
direction: 'long',
market: 'BTC-USD',
leverage: 10,
size: 1 * 1e8, // 1 btc
}).then(console.log);

nothing shows up in my log either

so not sure why its not working for the turbo position and I tried changing the size too since the turbo market has .1 btc limit but that didnt work either. I am very new at this and thank you in advance



via AK0101

No comments:

Post a Comment