-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
It works with this format
$buy = $bfx->new_order('BTCUSD', 0.01 , 1.0, 'bitfinex', 'buy', 'exchange market');
but it doesn't work with this
$x = 0.01 ;
$buy = $bfx->new_order('BTCUSD', $x , 1.0, 'bitfinex', 'buy', 'exchange market');
returning error
Array ( [message] => Key amount should be a decimal string. [error] => 1 )
how can I fix it?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels