Skip to content

Orders not placed in gdax even though the script says it did #2

@Lasterie

Description

@Lasterie

Hi!

Love the script. I got buy orders working, but sell orders won't execute:

Wednesday, Aug 09, 2017 at 02:44:52 PM UTC || TWEET MATCHED || xxxxxxxxx
Wednesday, Aug 09, 2017 at 02:44:52 PM UTC || Available to trade: {{notzero}} LTC, {{notzero}}  ETH, {{notzero}} BTC, {{notzero}}  EUR
Wednesday, Aug 09, 2017 at 02:44:52 PM UTC || PLACING ORDER
{
    "size": "0.001",
    "type": "market",
    "side": "sell",
    "product_id": "BTC-EUR"
}
Wednesday, Aug 09, 2017 at 02:44:52 PM UTC || One of {"price", "funds", "size"} is zero! Order not placed.

This is the relevant part of the config:

    {
     	'handles' : ['edited'],
        'condition' : '"edited',
        'orders' : [
            { 
              	'side' : 'sell',
                'type' : 'market',
                'product_id' : 'BTC-EUR',
                'size' : '{available[BTC]}*0.01'
            }
	]
    }

Can anyone point me in the right direction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions