mirror of
https://github.com/Death916/emailtrade.git
synced 2026-04-10 03:04:40 -07:00
set validate true
This commit is contained in:
parent
319eef766b
commit
4f7d59e6dd
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ def close_trade():
|
|||
sell_amount = buy_amount
|
||||
#sell_amount = balance.vol[symbol]
|
||||
|
||||
print(kraken.add_standard_order(pair=TICKER, type="sell", ordertype="market", volume=buy_amount, validate=False))
|
||||
print(kraken.add_standard_order(pair=TICKER, type="sell", ordertype="market", volume=buy_amount, validate=True))
|
||||
print("selling", sell_amount, "of", TICKER)
|
||||
hist.tradehist(
|
||||
"sold " + str(sell_amount) + " of " + TICKER+ " at " + str(sell_price)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue