Stage 1, day 14:
plugging the trading black box with live data is a little bit longer than expected.
Saturday evening, I draw on the back of a sheet a small Object-Oriented design showing all the various components. Lets call this methodology divide and conquer. I did wrap the concept that I did discover while writing the prototype into nice objects. It makes the code easier to understand and extensible by having created abstractions and is hiding a lot of small details.
The only remaining task will be to write a derived class that simply add markers on the graph to show where and when the black box is opening and closing trading positions...
Around dinner time, I got another seg fault. This one was satisfying to solve. It did happen in one of the oldest module that I created for that project. The header comment says that I started it on December 7 last month.
I thought that it was finally 100% correct but I was wrong. I made some assumptions about the input coming from a WebSocket that proved to be incorrect. It could be some corner case situation that may happen maybe once per week or maybe less often. I'm quite happy to have seen it. It did allow me to modify the function in which the problem did occur and I believe that the end result is a better function. This function is very important in the system. It must be called any number of times between 15 to 30 times per second.
The fix is in and running for the last hour without any new problems.
Bitcoin trading is busy tonight. At the end of the afternoon and for the most part of today, the market was pretty quiet with the price at around $8100.
Now in a matter of 1 hour or less, the price did bump up by at least $300.... This makes me even more eager to complete my first operational system ASAP....
Last time bitcoin price has been that volatile was when Iran sent its missiles.... I wonder what is triggering this activity tonight... I haven't seen any news possibly explaining the current move...
Update: I did some quick math about my goal. Preliminary results is showing that a realist yield might be around 0.75%. In my simulation, I used a $200 trading budget. That is probably what I'll use when the system goes live until my confidence level into the viability in the system increase.
With that budget, as I wrote somewhere on page 2, I think, this gives peanuts. Few bucks at the end of the day.... That is a lot of work for just few bucks...
That being said, I did some math. What would be the required daily volume at 0.75% yield to earn $10K per day....
It is north of $100K... That sounds huge, but when you put it in BTC, it is just 10 trades with one coin.... Said that way, this sounds totally doable!
plugging the trading black box with live data is a little bit longer than expected.
Saturday evening, I draw on the back of a sheet a small Object-Oriented design showing all the various components. Lets call this methodology divide and conquer. I did wrap the concept that I did discover while writing the prototype into nice objects. It makes the code easier to understand and extensible by having created abstractions and is hiding a lot of small details.
The only remaining task will be to write a derived class that simply add markers on the graph to show where and when the black box is opening and closing trading positions...
Around dinner time, I got another seg fault. This one was satisfying to solve. It did happen in one of the oldest module that I created for that project. The header comment says that I started it on December 7 last month.
I thought that it was finally 100% correct but I was wrong. I made some assumptions about the input coming from a WebSocket that proved to be incorrect. It could be some corner case situation that may happen maybe once per week or maybe less often. I'm quite happy to have seen it. It did allow me to modify the function in which the problem did occur and I believe that the end result is a better function. This function is very important in the system. It must be called any number of times between 15 to 30 times per second.
The fix is in and running for the last hour without any new problems.
Bitcoin trading is busy tonight. At the end of the afternoon and for the most part of today, the market was pretty quiet with the price at around $8100.
Now in a matter of 1 hour or less, the price did bump up by at least $300.... This makes me even more eager to complete my first operational system ASAP....
Last time bitcoin price has been that volatile was when Iran sent its missiles.... I wonder what is triggering this activity tonight... I haven't seen any news possibly explaining the current move...
Update: I did some quick math about my goal. Preliminary results is showing that a realist yield might be around 0.75%. In my simulation, I used a $200 trading budget. That is probably what I'll use when the system goes live until my confidence level into the viability in the system increase.
With that budget, as I wrote somewhere on page 2, I think, this gives peanuts. Few bucks at the end of the day.... That is a lot of work for just few bucks...
That being said, I did some math. What would be the required daily volume at 0.75% yield to earn $10K per day....
It is north of $100K... That sounds huge, but when you put it in BTC, it is just 10 trades with one coin.... Said that way, this sounds totally doable!