Bitcoin Forum
May 14, 2024, 02:28:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: -  (Read 898 times)
johnsmithx (OP)
Hero Member
*****
Offline Offline

Activity: 589
Merit: 507

I don't buy nor sell anything here and never will.


View Profile
-
May 15, 2017, 09:06:10 AM
Last edit: September 08, 2017, 11:28:35 AM by johnsmithx
 #1

-

My list of 43(+3) reviewed Bitcoin forks | You don't have to download the pre-fork blockchain again for each fork! | Beware of fraudulent AWS accounts sellers and dangerous edu AWS codes! + My personal list of legit sellers and scammers | Never publicly reveal your btc addresses, ownership or any other details and stay very far away from anybody who asks you to! | The general rule of safe buying is: if the seller is a newbie, with no reputation, with no topic nor trust feedback, offering no vouches and/or selling from a locked or self-moderated topic and unwilling to go first or use escrow => AVOID. Always check the trust feedback first and make sure that you have enabled "Show untrusted feedback by default" in "Profile / Forum Profile Information".
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715653703
Hero Member
*
Offline Offline

Posts: 1715653703

View Profile Personal Message (Offline)

Ignore
1715653703
Reply with quote  #2

1715653703
Report to moderator
1715653703
Hero Member
*
Offline Offline

Posts: 1715653703

View Profile Personal Message (Offline)

Ignore
1715653703
Reply with quote  #2

1715653703
Report to moderator
1715653703
Hero Member
*
Offline Offline

Posts: 1715653703

View Profile Personal Message (Offline)

Ignore
1715653703
Reply with quote  #2

1715653703
Report to moderator
dustcoins23
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 01, 2017, 05:46:26 PM
 #2

Hey, thanks for posting this by the way.
Was wondering how you figured out the amount available in account balances using kraken's api 'Balance'.
Daemon_Hell
Jr. Member
*
Offline Offline

Activity: 90
Merit: 3


View Profile WWW
August 01, 2017, 06:00:12 PM
 #3

Hey, thanks for posting this by the way.
Was wondering how you figured out the amount available in account balances using kraken's api 'Balance'.

From what I see - he did not. Only way to get true available balance - use 'balance' endpoint and subtract volume of open orders.
dustcoins23
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 01, 2017, 06:08:48 PM
 #4

There's an api call called 'WithdrawInfo' and he used it.

then he used available = float(withdrawinfo['limit'])

I'm such an idiot!
I've been on kraken's API page for days looking for just that! And I didn't see it, I was looking for 'balances on hold' or something dumb. Thanks for your reply.
dustcoins23
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 01, 2017, 06:14:49 PM
 #5

Hey, thanks for posting this by the way.
Was wondering how you figured out the amount available in account balances using kraken's api 'Balance'.

From what I see - he did not. Only way to get true available balance - use 'balance' endpoint and subtract volume of open orders.


I had a heck of a time trying to get volume of all open orders using a for loop so i gave up but now that i've found method, 'WithdrawInfo' we're all good. Smiley
dustcoins23
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
August 02, 2017, 02:54:21 AM
 #6

One last question: is there a way to get your USD avail balance?

I have a script running that keeps trying to buy when I have no USD avail bal and I want to put a condition if USDAvail > 0: buy.
Any thoughts?
AgoraLive
Full Member
***
Offline Offline

Activity: 221
Merit: 100



View Profile
August 10, 2017, 10:56:32 AM
 #7

I'm looking at this script because I am trying to get this working using PHP, but.....

Where do you specify which wallet address you with to withdraw your funds to?
altfund
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile WWW
September 07, 2017, 08:22:03 PM
 #8

I'm looking at this script because I am trying to get this working using PHP, but.....

Where do you specify which wallet address you with to withdraw your funds to?

It's clearly written in the OP. You need to familiarize yourself with the Kraken API first.

The Kraken API is somewhat unique in that withdrawal addresses cannot be provided via it. You must add the address and name it via the Kraken web interface, and the name used in this setup is what you need for the `withdrawalkey` variable within the script.

Familiarizing yourself w/ the API documentation will not help other than to point you in this direction as ambiguously as in the OP. Just setup withdrawal via the web UI, you will see how it is supposed to work.

@OP: Useful script, thanks for sharing!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!