jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
July 27, 2014, 04:16:34 AM |
|
I got a bit carried away and wrote another 1000 new lines of code... I just wanted things to be as good as possible, so after I got the relatively easy parsing in of the data that is being logged by yesterday's exchange_data, I had to figure out how to update in realtime the various contract pairs (BTCD/BTC is a contract).
OK, so making a new thread not so big of a deal, but we have historical data and new data and I dont want to have separate code paths for doing mostly the same thing, eg. updating the internal price data structures.
The we have the issue of multiple exchanges with a separate but clearly related data stream, so each contract pair has one set of price data for each exchange and one that is a combination of all of them.
Now, how to combine the data? Also, how to display the data? I dont like having to keep switching timeframes when looking at prices, so I coded a variable time scale. What that means is that the closer you are to now, the faster the timeframe and the farther away you are the slower. I tried to make a linearly compounding timescale so hopefully it will be a smooth compressing of past data. This way, with one page you can see everything from the last minutes to the last days (and even weeks)
OK, so each exchange will necessarily have a different timescale, at least theoretically, so I have to recalibrate the summary graphs to take this into account.
Separately, a lot of price changes are noise and I want to smooth out as much of that as possible so you can see the important price changes. To do this, I use what are called splines. These are handy little guys that create a smooth curve fitted line to a set of data points. Of course, the raw data needs to be processed to a form appropriate for splining. I didnt get a change to put in noise filters, just using some basic averaging for now. Oh, yes, I also create a BAR for each pixel. my bar is more than just open close high and low, it has 16 total fields including those. This will be handy later when querying the privacyServer for price data, I figured might as well do it right from the beginning.
Using some arbitrary weights I assigned to each field and using a 1/(timedist^2) weighing for each spline reference point, I create what I hope are a nice importance weighted and time synchronized inputs for the splining.
With a spline you can query it and get the value, slope even accel at any given point in time. Of course it is just an interpolation, but it lets you draw smooth lines for the entire period. [It is even possible to extrapolate, but that is best waited until I put in my SVM predictors]. So, of course, now we can much more easily combine all the exchanges data as the spline outputs can be for any time period
And all of this in a relatively clean control flow to automatically generate .jpg files that will deliver the right one based on the HTML on the :7777 page.
Anyway, that's what I coded today and about to debug. Probably will take me till tomorrow to get this debugged, but then it is nice framework for hooking in the simple tradebots. Oh, I also am dynamically merging all orderbooks into a single one so all that bookkeeping stuff is coming along.
James
|
|
|
|
Azeh (OP)
|
|
July 27, 2014, 05:04:01 AM |
|
|
|
|
|
japandrew73
|
|
July 27, 2014, 06:10:35 AM |
|
Wow this is so legit! fuck yatime to buy in again
|
|
|
|
Cornett
|
|
July 27, 2014, 06:54:21 AM |
|
Awesome! This feature will be popular
|
|
|
|
Darkoth89
|
|
July 27, 2014, 07:55:16 AM |
|
Have been lurking this thread for a while now. I've bought a decent amount of btcd that are currently staking and the more I read, the more I'm glad i did.. This new betting feature sounds amazing! Keep up the great work guys!
|
|
|
|
xtent
|
|
July 27, 2014, 08:16:01 AM |
|
400 scam cryptocurrencies and you ladies think this one is any different. LOL Maybe it is. Why release a coin and then build it? Why not code it and then release? A little common sense goes a long way.
What's with the bots trading on Cryptsy anyway? Is that supporting the price while you code or is it price fixing while you stall? Time will tell.
Sorry if I'm a bit skeptical, been burned too many times to count to trust a faceless name especially a former Forex trader. Oh wait I forgot Instantdex is going to be the next JP morgan, or something like that. Where have i heard that one before? LOL We'll see.
I don't trust this coin is not another huge disaster waiting to happen. I completely expect that this coin will collapse at any minute. A lot of people may be getting ready to lose a lot of money if this turns out to be a scam. Even if it's not a scam the price could crash at any minute due to incompetence. Buyer beware.
Everyone remember when Obama tried to convince everyone he was like Jesus? "...contrary to popular opinion I was not born in a manger..." yada yada Well that turned out not to be true also.
Bitcoindark is going above DRK. It's going to be in the top ten on Coinmarketcap. etc. etc. Empty promises.
Just code the damn coin and release it like Satoshi did. Save the empty promises for someone who gives a crap.
I believed when bitcoindark come out it don't even have a dev. bitcoindark don't have in house dev it give out bounty for it. It is just crazy if you ask and wondered so many people get burned! What the fuck did you just say? BTCwriter, please take writer out of you name. I look through your posts and you are far from a writer. Take some English classes please, you sound fucking retarded when I read your posts. P.S. You are far from a writer, sorry to burst your bubble Drunk, I make more sense than you, shit I am typing well drunk.
|
|
|
|
cointrader83
|
|
July 27, 2014, 08:17:32 AM |
|
Good news here, I just bought some BTCD back
|
|
|
|
timmyd
|
|
July 27, 2014, 09:27:43 AM |
|
I heard that staking 5000 btcd will make you 1btc per day. Is this correct?
|
|
|
|
bitkokos
|
|
July 27, 2014, 09:48:56 AM |
|
I heard that staking 5000 btcd will make you 1btc per day. Is this correct?
what else did you hear?
|
O_o
|
|
|
timmyd
|
|
July 27, 2014, 09:52:36 AM |
|
That pigs fly lmao
|
|
|
|
martinyin
|
|
July 27, 2014, 10:07:56 AM |
|
I heard that staking 5000 btcd will make you 1btc per day. Is this correct?
5000 BTCD will get you 1 BTCD if you stake them properly.
|
Am I spamming? Report me!
|
|
|
timmyd
|
|
July 27, 2014, 10:12:50 AM |
|
I heard that staking 5000 btcd will make you 1btc per day. Is this correct?
5000 BTCD will get you 1 BTCD if you stake them properly. Thats the confusion there 1BTCD not BTC haha
|
|
|
|
jeezy
Legendary
Offline
Activity: 1237
Merit: 1010
|
|
July 27, 2014, 10:14:15 AM |
|
I heard that staking 5000 btcd will make you 1btc per day. Is this correct?
5000 BTCD will get you 1 BTCD if you stake them properly. Clarify on the "stake them properly part" please
|
|
|
|
martinyin
|
|
July 27, 2014, 10:22:52 AM |
|
I heard that staking 5000 btcd will make you 1btc per day. Is this correct?
5000 BTCD will get you 1 BTCD if you stake them properly. Clarify on the "stake them properly part" please Big James's post: How to maximize your staking income
The staking is a bit tricky. After you wait for the coins to start staking, you will notice that when you do get a "mining" tx coming in, then your power is reduced temporarily. I havent dug into all the details, but the following is a practical way to minimize the downtime.
You need to make N addresses, make sure to backup the wallet after you do this as this generates new private keys, so an old backup wont have them all.
Make sure you enable the "display coin control" option in preferences
Now comes the tricky part. Most of you probably have all your precious in a single address. This means that whenever you get a new block, you have to wait. So, we need to spread the balance evenly to the N addresses. To do this, you need to control the inputs, so do a send to your first new address and to do this you need to click the inputs button on the send dialog.
Select your big account as the input. Now when you send you will have to wait a block or two until your big address gets the change.
Keep doing this until all your addresses have approx the same number of coins.
You will have to wait a while before they kick into gear, but when they do, what happens is that only a fraction of your power goes offline when you get a block!
So if you split into 10 addresses, you lose 10% power for a bit. Not sure the full recovery time, but it seems to take a few hours, so the optimum number of addresses is based on how long on average you will get a block. Of course, if you have the time and patience to do this, you could just split it up into 100 accts and then only 1% goes into recovery phase at a time, but that is only worth it if you are a BTCD whale
James
|
Am I spamming? Report me!
|
|
|
jl777
Legendary
Offline
Activity: 1176
Merit: 1134
|
|
July 27, 2014, 10:44:07 AM |
|
Well, I had to disable some parts, but the basic display is working! This is just from half a day's data and just the basic, price, slope and slope of slope displayed in green, purple, blue I dont like having to keep switching timescales, so I have a variable timescale implemented. It starts out at one minute per pixel (rightmost) and gets longer and longer as you go to the left. This way you can see the entire dataset, but still see the most recent price movements. I also dont like the big delays that standard SMA and even EMA have, you cant see it on this chart as I removed the raw data, but it is essentially random noise away from the green line. Once there is enough data gathered, then it will be possible to do much better. I have dozens of different types of signals that I can generate. The most important are my SVM predictors that achieved ~85% accurate predictions for 2 hours ahead forex, just as I discovered crypto. So I never got a chance to use them to full advantage. I am now able to automatically gather data from NXT AE, bter, poloniex, mintpal, cryptsy and bittrex for any pair they support. All this is integrated into InstantDEX and I will have API calls so you can retrieve data for specific timeframes. It even automatically updates in realtime as the data comes in, all via the localhost :7777 page Now that the data is coming in and looking decent, I can finally implement the simple tradebot logic. Once that works, then the first use case I want to implement is an autoconvert BTCD -> BTC bridge. So it is looking like by next weekend it should be possible to trade via InstantDEX on testnet and autoconvert BTCD -> BTC. Somewhere in there I need to decentralize the storage of the price data so as long as one person is gathering the data, the network can have access to it. James
|
|
|
|
threecats
|
|
July 27, 2014, 12:29:57 PM |
|
Impressive!
|
|
|
|
sdersdf2
|
|
July 27, 2014, 12:57:18 PM |
|
Well, I had to disable some parts, but the basic display is working! This is just from half a day's data and just the basic, price, slope and slope of slope displayed in green, purple, blue I dont like having to keep switching timescales, so I have a variable timescale implemented. It starts out at one minute per pixel (rightmost) and gets longer and longer as you go to the left. This way you can see the entire dataset, but still see the most recent price movements. I also dont like the big delays that standard SMA and even EMA have, you cant see it on this chart as I removed the raw data, but it is essentially random noise away from the green line. Once there is enough data gathered, then it will be possible to do much better. I have dozens of different types of signals that I can generate. The most important are my SVM predictors that achieved ~85% accurate predictions for 2 hours ahead forex, just as I discovered crypto. So I never got a chance to use them to full advantage. I am now able to automatically gather data from NXT AE, bter, poloniex, mintpal, cryptsy and bittrex for any pair they support. All this is integrated into InstantDEX and I will have API calls so you can retrieve data for specific timeframes. It even automatically updates in realtime as the data comes in, all via the localhost :7777 page Now that the data is coming in and looking decent, I can finally implement the simple tradebot logic. Once that works, then the first use case I want to implement is an autoconvert BTCD -> BTC bridge. So it is looking like by next weekend it should be possible to trade via InstantDEX on testnet and autoconvert BTCD -> BTC. Somewhere in there I need to decentralize the storage of the price data so as long as one person is gathering the data, the network can have access to it. James Might be helpful to provide a brief, jargon-free TDLR summary of what this would mean for an average user (for the non-techies among us).
|
|
|
|
clovis A.
Legendary
Offline
Activity: 1206
Merit: 1000
|
|
July 27, 2014, 03:11:57 PM |
|
I'm so thankful for the lack of patience in the market, hence the cheap coins . Gotta love it!!
|
. |
| .
| . |
| s i a
| . |
| .
| . |
| .
| . |
| .
| . |
| .
| . |
| .
Cloud storage is about to change Are you ready?
|
|
|
|
stlcoin
Newbie
Offline
Activity: 63
Merit: 0
|
|
July 27, 2014, 04:35:18 PM |
|
Any recommendations of which pool to use, have a few S1 like to run?
|
|
|
|
crazyearner
Legendary
Offline
Activity: 1820
Merit: 1001
|
|
July 27, 2014, 04:48:16 PM |
|
Any recommendations of which pool to use, have a few S1 like to run?
I been using http://btcd.xpool.ca/ without any problems but the problem I see is that I generaly do not think its worth mining on a multipool unless can add considerably more coins to the kitty to mine on. I generally mine about 4 to 6BTCD daily with 700GH or so but to be honest looking at conversions better to mine other coins and then buy up BTCD
|
|
|
|
|