Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 KB | None | 0 0
  1. 5:44 PM doog(113) what do you think about me making a full BTC/LTC exhange bot?
  2. 5:45 PM doog(113) like yours, but with an orderbook
  3. 5:45 PM doog(113) so it only facilitates trades, and never runs out of coins
  4. 5:45 PM doog(113) I don't want to step on your toes, but I think it would be useful
  5. 5:57 PM RGBKey(21102) If you really think people on here could learn to use it, go ahead. But honestly, I doubt their ability to use anything like that.
  6. 5:57 PM RGBKey(21102) The only reason I made my exchange bot was because it's simple
  7. 5:58 PM RGBKey(21102) It's stateless, it only needs to know how to respond to tips, nothing more
  8. 5:58 PM RGBKey(21102) But whatever you want, go ahead. Did you see my npm package for accessing the API?
  9. 6:00 PM doog(113) I didn't look into the AP at all yet - just at the idea stage
  10. 6:00 PM RGBKey(21102) The official API documentation is at https://dev.yolodice.com/
  11. 6:00 PM doog(113) and you might be right. I like the simplicity of your bot
  12. 6:00 PM RGBKey(21102) Here's my npm package: https://www.npmjs.com/package/yolodice-api
  13. 6:00 PM RGBKey(21102) You can look through it if you want, but it's pretty simple (easy for me to say).
  14. 6:01 PM doog(113) it could be as simple as: "first they have to pm the bot a number; it's the price they want; then if they send any LTC or BTC, that's considered an order"
  15. 6:01 PM RGBKey(21102) Just provide it your API key (which is a Bitcoin private key), and it will connect and log in
  16. 6:01 PM doog(113) if they send a tip without having said a number first, it gets sent back. or it could even be considered a market order
  17. 6:01 PM RGBKey(21102) Trust me, I don't think it's possible to underestimate a lot of the people here. Sure there are some that would be able to use it, but who knows.
  18. 6:01 PM doog(113) ie. it gets whatever the best offered price is
  19. 6:02 PM RGBKey(21102) That just sounds like it will end up in a lot of complaining
  20. 6:02 PM doog(113) that's the same everywhere I think. a general dumbing down of the population
  21. 6:02 PM RGBKey(21102) Spare order book and market order leads to a buy of LTC for a very high price
  22. 6:02 PM doog(113) sparce?
  23. 6:02 PM doog(113) yeah
  24. 6:02 PM RGBKey(21102) Sparse, yeah
  25. 6:02 PM doog(113) that already happens on exchanges of course - but order book here is likely to be much thinner
  26. 6:03 PM RGBKey(21102) Yeah, that's what I was trying to say.
  27. 6:03 PM RGBKey(21102) A very niche website, with a very small crowd of people that would be able to use such a market with proficiency.
  28. 6:03 PM doog(113) yeah. I just know that when I was looking to buy LTC for BTC to play this contest, I couldn't find an easy way
  29. 6:04 PM doog(113) I tried WIX, but my account is on a 3 day withdrawal lock
  30. 6:04 PM RGBKey(21102) And you were totally right, I could integrate my exchange bot with an exchange and have it buy when I sell, to make sure I'm never losing money due to shifting markets and such, but I'm worried about KYC, and having to trade thousands and thousands of dollars back and forth
  31. 6:04 PM doog(113) I tried bitfinex, but new accounts have to wait 5 days to withdraw
  32. 6:04 PM doog(113) eventually binance worked for me - but they have a 2BTC per day limit too
  33. 6:04 PM RGBKey(21102) I don't want the IRS to come knocking and expect me to pay hundreds in capital gains tax. Living in the US isn't fun
  34. 6:04 PM doog(113) exactly
  35. 6:05 PM doog(113) that's why a bot that works entirely via PM here is better
  36. 6:05 PM doog(113) you're not even holding any coins - ethan holds them all
  37. 6:05 PM doog(113) it's all off-chain
  38. 6:05 PM RGBKey(21102) Right
  39. 6:05 PM RGBKey(21102) I'm fine with how my bot works. I worry that if it were any more complicated than just tipping a certain user, nobody would want to learn to use it
  40. 6:06 PM RGBKey(21102) If you want to try this though go ahead, you don't need my permission
  41. 6:06 PM RGBKey(21102) You would need Ethan's though
  42. 6:06 PM doog(113) I like how it works too - except that it didn't work for me... i wanted LTC and you didn't have any...
  43. 6:06 PM doog(113) that's the problem I was wanting to solve
  44. 6:06 PM RGBKey(21102) API keys by default cannot be granted chat and tip permissions by the user, ethan has to do it manually
  45. 6:06 PM doog(113) I see
  46. 6:06 PM RGBKey(21102) Now you could technically change the connection logic to use a websocket instead of the standard TLS connection, but then it's not as stable
  47. 6:07 PM RGBKey(21102) And I'm not sure Ethan would appreciate that sort of back approach
  48. 6:07 PM doog(113) back?
  49. 6:07 PM RGBKey(21102) And yeah, I'd love to fund the exchange bot again
  50. 6:07 PM doog(113) oh, the ws thing
  51. 6:07 PM RGBKey(21102) Yeah
  52. 6:08 PM RGBKey(21102) I'd love to fund it again, but I don't want to keep pushing ~$1,500 through an exchange so people can buy all my LTC again. Sure, I make a little in fees but the extra worry that someone's gonna come after me for taxes isn't worth it anymore. It's not something I considered when I was writing the bot
  53. 6:08 PM RGBKey(21102) Which didn't take that long because I was able to modify @AM80675BOT's code to do it pretty easily
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement