Bitcoin Forum
May 09, 2024, 06:53:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 [8]
141  Bitcoin / Project Development / Re: Looking for trading bot developer. "master slave bot" on: May 23, 2018, 09:08:20 AM
Hello, at the assumption that you did not toggle the default "disallow newbie PM's" I will reply here.

Are you looking for a fancy, animation-filled web interface or will something simple, but working, be acceptable?

I should definitely be able to help you, prefer to keep it simple though if you expect me to do it alone. Smiley

I code Python, with flask as web-framework.

Hit me up and we can discuss details.
142  Economy / Service Announcements / Re: Cryptopia Cryptocurrency Platform Services and Development on: May 21, 2018, 01:52:53 PM
--snip--

I managed to do it through Curl and really got frustrated. Turns out the guy who wrote the python implmentation i use literally hardcoded the call to return
Code:
result[0]
Jesus, why would you make a call getting all this data and then just throw away 99% of the data in the same function..

I am literally laughing my ass off at this.. What a crazy turn of events, when you said you had the same issue momentarily i was 100% certain that it was a fault of cryptopia (sorry cryptopia support, im an asshole) and in my troubleshooting, i never thought of the simplest cause possible...

I will suggest the change through github on the implementation i use. I mean, why not let people do
Code:
get_balance()[0]

I thank you for your time though alal. I can't tell you how glad i am to finally get over this ridiculous problem.
143  Economy / Service Announcements / Re: Cryptopia Cryptocurrency Platform Services and Development on: May 21, 2018, 12:38:08 PM
Please let me know when/if it starts working for you again. I am trying a couple times everyday to receive all balances ; still same issue over and over. Only getting  $PAC balance.

Private API is working fine right now. Try to test your implementation of API calls. If it steel does not work then probably you should look problem on your side (wrong json format, incorrect computation of authentication header etc)

This is the endpoint (url) i send the post request to:
https://www.cryptopia.co.nz/Api/GetBalance

Following is all the different post parameters i have tried sending:
Code:
{}
Code:
{'Currency' : ''}
Code:
{'Currency' : None}
Code:
{'Currency' : '', 'CurrencyId' : ''}
Code:
{'Currency' : None, 'CurrencyId' : None}

Authentication is NOT the issue, or every other private API call would fail as well.
Post parameters must also be handled appropriately by my implementation since cancelling a trade (with order_id as post parameter) works just fine. And most of my attempts at getting all balances "work" in the way that they do not throw an error ;
They just don't work as intended, only returning $PAC balance rather than entire balance dictionary.

Can you let me know how your api call looks like?

edit: keep in mind, making the call with following post parameter:
Code:
{'Currency' : 'LTC'}

Will return only my Litecoin balance perfectly fine, and same with any other currency passed along.
144  Economy / Service Announcements / Re: Cryptopia Cryptocurrency Platform Services and Development on: May 21, 2018, 11:38:16 AM
--snip--
UPDATE: Cryptopia API has glitches during couple last weeks, your issue can be provoked by experiments of Cryptopia team. I have got today same behavior of GetBalance as you. CancelTrade broken too.

Please let me know when/if it starts working for you again. I am trying a couple times everyday to receive all balances ; still same issue over and over. Only getting  $PAC balance.

Also trying to get their supports attention, but they refuse to test the API and obviously don't know of any maintenance/development going on on the API since they keep saying "refer to our docs".

It's getting frustrating, not having been able to use a simple API call properly for almost 2 weeks now.

Way 2 go cryptopia Sad
145  Alternate cryptocurrencies / Speculation (Altcoins) / Re: How to arbitrage by holding on multiple exchanges? on: May 20, 2018, 04:51:03 PM
-snipped-
Ok, so say it is lower buy price on exchange 1 than exchange 2 AND exhange 2 has a higher sell price than i bought it initially there. I then buy dash at ex1 and sell my dash on ex2. I make a profit.

I now have dash on exchange 1 and no dash at exchange 2. I now have to wait for ex 1 to have higher sell price - and also have higher sell price than the buyprice was - than ex 2 have buy price. Ex 2 also have to have lower buy price than the sell price was when i bought it.

At this point why do i "arbitrage" at all? Why wouldnt i just do the much simpler buy low sell high? Am i missing something here?
-snipped-

This is entirely possible, in fact, I am running a bot that does this. You do not make it clear in your post, so i'll do it. This is really only possible through API automation. Attempting it manually will almost certainly result in missed trades.

There are also problems with the technique.

Firstly, since rebalancing between exchanges will incur withdrawal fees you either:

1. Rebalance "naturally" by waiting for the right market condition (might miss trades before markets turns in exchanges)
2. Wait till profits exceed costs of rebalancing (often you can minimize costs by i.e buy x currency with cheap withdraw fees)

Then there is also the issue of missing out on counter trades where your options are to let the order sit till met, or trade it off for a loss, possibly break-even if lucky.

missing out on the first trade is fine, just skip; partial fills are a different story.

In regards to "why do arbitrage at all":

By doing arbitrage, you trade on orders available in the orderbooks and thus (assuming you succesfully can execute the trades) remove the element of speculation ; if you "buy low sell high" you have to wait for the low/high to come, if it ever comes.

I encourage you to try it out if you have any coding capabilities, it's a great project and will yield profitable opportunities. How often, and how big profits i'll let you find out on your own.

note: I hope you or others will find this useful, i felt bad you had no replies for so long. Smiley

best regards,
146  Other / Beginners & Help / Re: Is it bitcoin haram? on: May 20, 2018, 12:13:33 PM
Correct me if i am wrong but "haram" refers to something forbidden by muslim religion. i.e it is considered "haram" to drink alcohol/smoke.

Why would Bitcoin possibly be considered haram?

Then again, receiving interest is also considered haram by muslim religion so i guess their might be some tricky implication if you REALLY wanted there to be.

My 2 cents in this matter ; don't ask, just do. If you are interested in Bitcoin, do not hold back.
147  Other / Beginners & Help / Re: how to cash btc on: May 20, 2018, 12:05:21 PM
If it's a one-time cashing, make an account on localbitcoins and hook up with a buyer near your location.

If you just got into BTC mining, or for other reasons are gonna sell more BTC in the future then i highly recommend getting a crypto-funded debit card.

If you just google it, you should find quite a few providers. You might not like what you see regarding fees, but it really is not too bad considering the fees of other options as well. Cashing BTC is (almost) never without a premium in price.

Another option would be to make a thread here on the forum, but be very careful about trusting people. Always use an E-scrow when dealing with people directly online.

148  Economy / Service Announcements / Re: Cryptopia Cryptocurrency Platform Services and Development on: May 20, 2018, 11:37:49 AM

UPDATE: Cryptopia API has glitches during couple last weeks, your issue can be provoked by experiments of Cryptopia team. I have got today same behavior of GetBalance as you. CancelTrade broken too.

Sorry, but I am glad to not be alone with this issue. I have heard back from cryptopia support three times.

All three times I am told to check their API documentation and that you "just" dont send any parameters to get all balances.

So for the fourth time, I know rejected the "solution" on their support page and await some useful information.

Since you encountered same issue, it's 90% a problem on their end, right??

Lets pressure Cryptopia a bit, so they don't slack around telling people they have no API issues when its a goddamn shit-show making trading bots with their API.
149  Economy / Scam Accusations / Re: YobiCodes scam at www.yobit.net on: May 19, 2018, 03:11:43 PM
I use yobit frequently, and find it hard to believe yobit has anything to do with your money dissappearing.

Are you certain you did not follow any links prior to the incident, or downloaded anything sketchy?

I am sorry to say this, but your money is most likely long gone if the code statuses says "activated".

Maybe yobit should add a delay to yobicode claims, so that the creator of the code can cancel it before activation finalizes.

It wouldnt be surprising if this feature is used more frequently by hackers stealing money, than legitimate use-cases.
150  Economy / Services / Re: +++ Automated reCAPTCHA Solving for $19.50 Only +++ on: May 19, 2018, 02:16:31 PM
19.50 $ for 1000, 100 or 1 recaptcha solved?

Site loading indefinitely for me. Is this your service, or are you just sharing the word for free? Smiley

2captcha remains my go-to service for captcha solving.
151  Other / Archival / Re: Hire me to defend your case for 0.02BTC! on: May 17, 2018, 11:01:11 PM
Quote
disclaimer: you are paying me for my time, not for my ability to remove your red tags, I don't have any control over trust network, I could only point out abuse of power, this fee is for my time.

*proceeds to advertise as red tag removal service in signature*

me: Niceeeee...
152  Economy / Service Announcements / Re: Cryptopia Cryptocurrency Platform Services and Development on: May 17, 2018, 10:44:51 PM
Check request that you are trying to send to the server. If you want get all balances you should send POST request without parameters in JSON part. BUT JSON PART MUST BE PRESENTED. I mean If you want get your BTC balance it should be : {Currency: "BTC"}, if you want get all balances it should be : {}. I'm almost sure you got Bad Request response because of missed JSON part.

-snipped-

And "look at the documentation" pretty right advice. Do not neglect it.

So you are able to retrieve all balances? Is your programming language also Python?

I really, really thought that you just gave me the solution, since i actually did remove post parameters entirely in my own 'tweaking' attempts, instead of passing an empty dictionary as the post parameters.

However, i just tested your suggestion and it yielded same result as passing an empty string as the parameter. I received the balance of $PAC, and only $PAC balance.

I do have both BTC and ETH in my balance currently, so its not the case that there is no balances to fetch.

Also, the documentation on the getbalance call is as follows, regarding the parameters:
Code:
Currency: (optional) The currency symbol of the balance to return e.g. 'DOT' (not required if 'CurrencyId' supplied)
CurrencyId: (optional)  The Cryptopia currency identifier of the balance to return e.g. '2' (not required if 'Currency' supplied)

I interpret this as follows: Currency parameter OR CurrencyId parameter is required. Do you disagree?
153  Economy / Service Announcements / Re: Cryptopia Cryptocurrency Platform Services and Development on: May 17, 2018, 03:23:06 PM
Hey cryptopians and officials!

I was wondering if anyone can tell me how i get all my balances with API, and not just a single balance.

Currently I am using this implementation of the API and it only has this method
Code:
get_balance(coin)

I contacted support about it, and got a very generic "look at the documentation" response. Which i have.. Now, waiting for the follow-up reply of my slightly more aggressive update, i thought i'd consult here.

I have tried modifying the implementation to not take the coin parameter (formally known as 'Currency' parameter in post request to cryptopia server) so that it doesn't take any specific coin parameter and sends it along as the 'Currency' but rather leaves out the post parameter entirely. This results in a Bad Request response.

I have tried passing 'None' as the coin parameter, and also tried passing an empty string as 'Currency' parameter. Both of which acts somewhat weird, in that they return the balances only for $PAC currency. I assume because it's the first currency alphabetically.

Anyone know how to do it, or have suggestions to what i could try ; it would be greatly appreciated.
Pages: « 1 2 3 4 5 6 7 [8]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!