12-31-2020, 05:55 AM
Cycle 20 (v2 cycle #2), day 3:
Still a lot of dreams. I don't remember all the details but it seems like it is the review of some events of the past day with some weird twists in how it is treated.
My trading server did exhibit a very weird behavior yesterday. It produced a result different by 1 pip from the expected result. I have looked at the code, created a new test program to reproduce the issue. There is nothing that I did try that did find the reason for this weird behavior.
I have nailed down to one possible explanation but I don't like it. The code select a method of calculating fee based if 2 floating point variables are initialized. AFAIK, they cant not be initialized but the result given is as-if they weren't. My server is a VM. A "HW" failure could have made the program misevaluate the condition. I'm very skeptical that this is the case as I have never seen proof of that possible but I cannot think of anything else right now.
I did modify a little bit the code around the location of this problem including a trace if the unexpected method of calculating is used. I have to let go this issue now unless it happens again.
My sleeping is a bit unregular in the last few days. I made a nap. When I did wake up. I wasn't fully awake. I went at the computer to see how the markets were. I saw a very fast XBT selloff, I did try to ride it with a short position but that is the type of sell-of that revert back very quickly, it is quite possible that if you enter it when it is about to end, this is going to be a losing trade. I'm not overly too concerned about this possibility because I only trade a very small amount until, I'm more confident to make consisten profits. The problem because I was not 100% awake when I created the trade, I forgot to include an extra 0 in the trade volume and this made me trade 10x more than what I intended. I lost the trade and this made me lost about $50 bucks.
I need to improve my trade dialog box so that it is initialized with good default values making it close to impossible for me to make such errors.
On the bright side, this did boost my 30 days trading volume which is making me closer to the next fee bracket which my ARB strategy could benefit...
Still a lot of dreams. I don't remember all the details but it seems like it is the review of some events of the past day with some weird twists in how it is treated.
My trading server did exhibit a very weird behavior yesterday. It produced a result different by 1 pip from the expected result. I have looked at the code, created a new test program to reproduce the issue. There is nothing that I did try that did find the reason for this weird behavior.
I have nailed down to one possible explanation but I don't like it. The code select a method of calculating fee based if 2 floating point variables are initialized. AFAIK, they cant not be initialized but the result given is as-if they weren't. My server is a VM. A "HW" failure could have made the program misevaluate the condition. I'm very skeptical that this is the case as I have never seen proof of that possible but I cannot think of anything else right now.
I did modify a little bit the code around the location of this problem including a trace if the unexpected method of calculating is used. I have to let go this issue now unless it happens again.
My sleeping is a bit unregular in the last few days. I made a nap. When I did wake up. I wasn't fully awake. I went at the computer to see how the markets were. I saw a very fast XBT selloff, I did try to ride it with a short position but that is the type of sell-of that revert back very quickly, it is quite possible that if you enter it when it is about to end, this is going to be a losing trade. I'm not overly too concerned about this possibility because I only trade a very small amount until, I'm more confident to make consisten profits. The problem because I was not 100% awake when I created the trade, I forgot to include an extra 0 in the trade volume and this made me trade 10x more than what I intended. I lost the trade and this made me lost about $50 bucks.
I need to improve my trade dialog box so that it is initialized with good default values making it close to impossible for me to make such errors.
On the bright side, this did boost my 30 days trading volume which is making me closer to the next fee bracket which my ARB strategy could benefit...