How to send Bitcoin > $1 on Coinbase? - coinbase-api

When I tried to send $1 equivalent of Bitcoin using the Coinbase API I get this error:
ClientError [ValidationError]: Amount is below the minimum (0.0001 BTC) required to send on-blockchain.
How is it possible to enable microtransactions with Bitcoin? I want users to be able to trade in game items under 1 dollar (Coinbase's daily limit per user). I understand this restriction is due to transaction fees, but I know apps exist like Bitcoin Blast, where users are regularly awarded miniscule amounts of Bitcoin.
How do you think they do it? What could be a solution for using microtransactions with Coinbase API?

A lot of those apps would tell the users they have earned Bitcoin but require the user to have x amount of Bitcoin before being able to withdraw, with the threshold above the 0.0001 BTC minimum transaction requirement.
I think Robinhood does something similar where you can buy $1 of BTC on Robinhood but you don't have access to the crypto's wallet address. This is because Robinhood owns all your crypto and you're just trading the spot price. They made a large investment in crypto awhile ago and they hold that as collateral allowing users to buy and sell BTC for $1 without paying transaction fees because users are not trading BTC on the blockchain, they are trading Robinhood's supply of crypto.
You could do something similar as well, people can spend $1 worth of BTC on a game item but they're just trading the spot price of BTC and the transaction takes place in your game's digital ledger rather than Bitcoins' blockchain.
If you want your users to withdraw crypto, someone is going to have to pay that fee. You can either pay the fee yourself, have the user pay the fee, or do something like Robinhood where you can only deposit/withdraw in cash but users can exchange that cash for crypto that they don't get wallet access to.

Related

in stock trading how to masure quantity of stock

I am working on stock market analysis and prediction using machine learning methods, especially with reinforcement learning. I am trying to predict short, long and flat. (buy, hold, sell) . (any suggestion or material is appreciated),
currently, I am giving historical data into my agent and agent predict buy, sell or hold signal.
my question is how to measure stock quantity. e.g. if my model gives a buy signal, how to measure how much stock I should buy.
I think that should be a variable in your model. It may depend on how strong the buy signal is and it will probably depend on how many assets you have available to buy stocks. An individual will most likely not have the assets on hand to buy stocks that Berkshire Hathaway would. It is interesting to note that if large purchases are being made by Berkshire Hathaway the price actually changes when people find out or even if they suspect. That is a dynamic that you could ignore for smaller purchases.

API wrong WITHDRAWAL Fee

I'm developing a application to monitor Transactions on Coinbase. I developed my interface to ease of use. I don't know what I'm doing wrong, but all my withdrawals are with wrong Fee's. I what to give to the user the real fee of a withdrawal, but if I use the accounts/:account_id:/transactions no fee is available to the withdrawal, I have to call again with the resource url, but then I get the fee under network, and this value is only from the network gas fee. Who can I get the full fee?
For example, I transferred 0,54938902 ETH from coinbase to another exanger, according to the API the fee was 0.00103950 ETH, but in reality the fee was 0.00259477 ETH, because 0.54679425 ETH was the actual value to enter at destination.
Thank You
Never mind, all is good, the problem is that this particular destination exchange charges deposit fee...

Can I need any type of license for strategy game website?

I am developer and owner of a online strategy game website (like travian.com).
Game Scenario:
Game have map where player creates cities then build buildings and recruits troops and attack other players cities.
I am willing to sell golds (golds refers to selling item) which provide points to players.
Can I need any type of license.
If needed, where can I get it?
And how much will cost it?
There is no license. However, once you make money from whatever you do, you will need to pay taxes. And tax laws can be complicated. You should get a lawyer who can explain your country's laws.

Where to find free or paid database of European postal addresses?

I'm searching for database for delivery service. Delivery rate calculates based on ZIP code. The only good product I found is geopostcodes.com, is there any more? E.g. geonames.org is good but contains not enough data.
How about this free solution http://download.geonames.org/export/zip/.

Changing Currency on Site

I will be selling products on my site in GBP, however I would like an option for my customers to change currency to dollars and euros. This I know how to do but is there anyway to automatically fetch the data (currency rates) without manually changing it each day.
Also.
To avoid people tampering with the data on PayPal,which means that people can change the price to 1p. I put a security function:
if the price = fixed price then transaction approved.
However as the currency well keep changing is there anyway to get around that as well.
It's a bit of a tricky one.
If you accept payment in other currencies, you firstly have to show the price in that currency; this is not available as a feed or web service from PayPal (as far as I know). There are other feeds which provide this (Google is your friend - "currency conversion feed"), but they will never be exactly the same as PayPal.
The second issue is that - once you have taken payment in that currency - you don't know exactly how much you're going to get back in Pounds - say the sale happens today, but you only withdraw the money next week. The exchange rate could have shifted in that time, making your sale worth less in GBP. This risk could easily eat up your profits - especially in times of financial volatility.
The third issue is that currency conversion costs money - depending on volume and method, somewhere between 2 and 5%.
So, unless you're selling products with a very high margin, I'd be very nervous about taking payment in other currencies unless you can spend in those currencies too; if you can spend the money in foreign currencies, you don't have to pay for the conversion, and you are less exposed to the currency risk.
You can call out to a currency exchange web service.
I would suggest checking with your bank (whoever is behind your e-commerce site), as they may have a free tool for this.
Here is an example from a bank in New York -- it's a web service that will give you the exchange rate for any given date in xml format: http://www.ny.frb.org/markets/pilotfx.html
There is also the Google Finance API
http://code.google.com/apis/finance/docs/2.0/reference.html
This service is not free (I don't think), but looks pretty slick, and gives A LOT of infmormation via web service: http://www.xignite.com/forex/web-service/2000106.html

Resources