Pages:
Author

Topic: Win Bitcoin this July with Coinsecure [For Devs Mainly] (Read 6862 times)

newbie
Activity: 28
Merit: 0
Sent coins to ani4444 and gowron. Waiting for IIIIIHIIIII's address.

Terrific, received. That's my first bitcoin transaction. Mission accomplished Smiley
newbie
Activity: 28
Merit: 0
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
Sent coins to ani4444 and gowron. Waiting for IIIIIHIIIII's address.
If anyone is in Mumbai over this weekend, there is a pretty cool blockchain hackathon at the BSE building.
newbie
Activity: 55
Merit: 0
Lemme know whats ur id that u using for livenet api and I will drop the fee to 0%

Thanks, sent PM.
sr. member
Activity: 378
Merit: 250
Congrats guys !!
newbie
Activity: 28
Merit: 0
1. The Strategist
2. WhatBot
3. Coinsecure Capital Gains

All the entries were awesome. techguy, blew our mind with the concept and possibilities on clients.
There could have been 3 winners and here they are.

Will make payouts as soon as. Do send in BTC addresses from your posting account.

Super. Here you go: 1Mm83DJnWza2CsAmNmTjJu2DR2YFQRGBDv
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
1. The Strategist
2. WhatBot
3. Coinsecure Capital Gains

All the entries were awesome. techguy, blew our mind with the concept and possibilities on clients.
There could have been 3 winners and here they are.

Will make payouts as soon as. Do send in BTC addresses from your posting account.

Thanks a lot, this is awesome.
My bitcoin address is 1Aswr8vXivfate2vbKKtZHtLisFAVFfqqe

Lemme know whats ur id that u using for livenet api and I will drop the fee to 0%
newbie
Activity: 55
Merit: 0
1. The Strategist
2. WhatBot
3. Coinsecure Capital Gains

All the entries were awesome. techguy, blew our mind with the concept and possibilities on clients.
There could have been 3 winners and here they are.

Will make payouts as soon as. Do send in BTC addresses from your posting account.

Thanks a lot, this is awesome.
My bitcoin address is 1Aswr8vXivfate2vbKKtZHtLisFAVFfqqe
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
1. The Strategist
2. WhatBot
3. Coinsecure Capital Gains

All the entries were awesome. techguy, blew our mind with the concept and possibilities on clients.
There could have been 3 winners and here they are.

Will make payouts as soon as. Do send in BTC addresses from your posting account.
member
Activity: 69
Merit: 10
Bot core running on telegram. Have every command that WhatBot has now (coinsecure,market...etc). We can take the core part to slack,IRC,Twitter etc


Doing recharge via IRC (*_*)
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
Will announce results by today or tomorrow at the latest.
member
Activity: 69
Merit: 10
Re the one by  IIIIIHIIIII, how is the recharge actually done? Could you elaborate on the backend? (Very interesting idea btw)

It uses bitrefill.com api to do recharge.

When you command the bot to do a recharge.
- Bot places the order on bitrefill.com and gets the deposit address and the amount of btc required.
- Then bot calls shapeshift.io api with btc deposit address and btc amount we retrieved from bitrefill.com.
- shapeshift.io then give us a doge address and amount of doge required  to get the btc amount we passed it.
- Then the bot checks if the user tipbot account have doge > required doge.
- if he/she does have required doge, then the bot withdraws that amount of doge from his/her tipbot account to the shapeshift.io address which then sends btc to the bitrefill.com deposit address.
- bitrefill.com gets the btc and sends the recharge.
legendary
Activity: 1001
Merit: 1004
Re the one by  IIIIIHIIIII, how is the recharge actually done? Could you elaborate on the backend? (Very interesting idea btw)
member
Activity: 69
Merit: 10
Bot now also allow you to do mobile recharge via whatsapp.



Edit : coinsecure Withdraw api method will be nice for this. People will be able to use their coinsecure.in btc balance to pay for recharge. for it uses tipbot balance.
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
Love this one Smiley
newbie
Activity: 55
Merit: 0
"theStrategist" bot

Bot Details: The Bot is based on Coinsecure Testnet and an API from https://coinsecureis.cool/api is required to trade with the bot. It supports the following strategies:

Vanila Mode Place simple buy and sell orders.

Ghost Mode Orders placed are not shown on the Coinsecure exchange.The bot monitors the orders on the exchange and when it sees that the user order can be executed, it places the order on the exchange.

MeFirst Mode It is useful when you want to guard against users who prevent execution of your order by placing their order just lower/higher than yours. Eg: You placed a buy order at rate Rs.20000 now another user places buy order at Rs.20001 then his order is executed before yours. To prevent this the bot takes the base rate and a difference.The bot will place the order at base rate and then monitor for any other order placed in difference from base rate and in case of another order the bot will cancel the previous order and place a new order better than that of the other user.In previous example the bot will place an order at rate Rs. 20001.01 and keep on increasing till the difference which is the upper limit

Rainbow Mode It can be used to break the order into smaller orders of increasing/decreasing rate.Eg: If you place a sell order of 1 BTC at Rs.20000,set incement at Rs.10 and split into 5 orders, the bot will place 5 orders starting at .2 BTC for Rs.20000, then .2 BTC at Rs.20010 and so on.

SIP Mode This mode allows you to place order which will be executed at interval of input minutes.

Range Mode This mode allows user to place two order one buy and other sell.The bot will buy bitcoin at the lower buy price and sell bitcoins at higher sell price. Buy and sell orders are executed in order.It can be useful in case you expect the bitcoin price to fluctuate in a range .Eg: If the bitcoin price is fluctuation between Rs.20000 and Rs.19000, the bot will buy at Rs.19000 and sell at Rs.20000

Price Mode Price mode can be used to protect the user in case of large drop in bitcoin price or book profit in case of steep rise in price.If the condition for price order is met, then all the orders of the user is cancelled and a buy/sell order is placed for all the bitcoins in user account.

Executable Jar: https://www.dropbox.com/s/dcnnmosc0oj3s1m/theStrategist.jar?dl=0

Source: https://github.com/ani4444/theStrategist

https://i.imgur.com/mWiRAMh.png



https://i.imgur.com/AJ3qIQm.png
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!
The hackathon ends tonight at 12.
Will announce winners by the 28th.
newbie
Activity: 28
Merit: 0
Rewriting a lot of the API UI, integrating it a bit tighter into the proxy app.
Fixed response codes, etc.
Added some more methods.

:+1:
legendary
Activity: 1890
Merit: 1000
Landscaping Bitcoin for India!

That will not be correct. To correctly calculate your CG, your sells need to be matched in FIFO order. If you ignore some transactions in either buy or sell, your setoffs will not be true. You will get some number out the tool, but it will not be in keeping with accounting principles.

I would agree with this. The CG should be calculated on the basis of how much funds comes into the account and how much goes out, rather than how much was traded.
While user balance can be calculated as a one time. The Api does not show historical data for the same as yet and that is very much needed to know the trail.

Rewriting a lot of the API UI, integrating it a bit tighter into the proxy app.
Fixed response codes, etc.
Added some more methods.

Looks like, it will take longer to roll out though. Hopefully early next week.
newbie
Activity: 28
Merit: 0
How about this suggestion?

(example for coins)
Wallet balance = x
your computed balance = y
then deposits/withdrawals = x-y = d

Do the same for fiat
Then you compute your capital gains using y, ignoring d. Will that work?

That will not be correct. To correctly calculate your CG, your sells need to be matched in FIFO order. If you ignore some transactions in either buy or sell, your setoffs will not be true. You will get some number out the tool, but it will not be in keeping with accounting principles. Ideally this should include *all* your bitcoin transactions - because your computing CG for *you* not for your activity on one exchange. It is for this reason that many stock trading / portfolio apps allow you to manually add "transactions" to your portfolio in the view (distinct from the transactions that happened on the exchange)

EDIT: tested with the "test" key. Here's what the UI looks like (for others):

Try a different date range. There are transactions from 2014-01-01 to 2015-06-30
Pages:
Jump to: