休息为了更好的理清思路

in steemit •  4 months ago

BTC的拉升是从昨天晚上开始的,昨晚上我睡很晚,看着它拉升,破25000,传说中的一币换一别墅好像要实现了,但那都是梦,steem的价格不仅没有上涨,反而P网下跌13%,而B网最高拉升20%,又砸回去了,第一次测试了用blocktrades, 速度很快,不错,只是它的转换价格你没法把握.




BTC走到这个位置,存币的人都很高兴,BTC期货的价格到了28419,创了历史新高,中午小赌一次,在28000这个位置开了个空单,止损设到了30000,许多人在这个位置可能不敢赌,我拿3000元看成空气, 不会在意它一时的涨跌了,这就是期货市场上的心态,一跌,一涨,动来动去很容易亏损,不动在止损范围内,随它怎么去跑



小赌怡情,大赌伤心,不是伤身,容易心脏病, 不建议你们都来赌.


从赚20%到输只用时不到1小时,如果有人认为这赌的太大了,10倍,20倍杠杆,风险好大,那真是想错了,BTC相对于我下面说的外汇市场那风险小的多.

另外一件事情的起因

昨晚上和费大师在聊外汇策略的事,大师们让我跑一段历史回测的数据看实际的报表, 之前也测过,但都不是在周末, 周末外汇市场是休息, 我用程序开始读取数据,读最后四个高低点时,发现怎么做都不对, 这四个点位在平时都是正常的

这是程序输出的4个数据,但对应K线去寻找,怎么找都没有找到这四根线

USDJPY,M5: S1 = 110.217
USDJPY,M5: S2 = 109.915
USDJPY,M5: S3 = 109.964
USDJPY,M5: S4 = 109.823

程序代码读取的是最后四个点


显示的是 2007/8/11 22:00 , 109.042, 和上面的数据根本就对不上 ,只好从头到尾来逐行设断点来调试, 断点调试也得不到正确的结果,打印输出的数据就是和实际不一样,问题到底出在哪里, 一时间找不出原因, 难道非得周一开市运行后才能得到正确数据,或者历史调用的数据不对,不应该呀.

中午休息迷糊了30分钟左右,给这些数据,加上时间输出,找到了问题.


原来是前些天修改过调范围设成了 2017.4.24-2017.4.25, 把K线拉到这一段







和上面的数据对上了,问题解决了,用了4个小时。

这是个很小的问题,但对开发人员很容易范错误,不经易间修改了调试参数,带来不必要的麻烦,结论:只要是程序上的事情,只要花时间都能解决,多休息能更好的理清思路.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  trending

厉害厉害,最近btc大行情,一哥敢抓回调也是有魄力。

·

昨天这个单子,空的位置在高点,差不多2000点,今天又涨回了

·
·

这个回调不好抓,搞不好就是爆仓。等回调之后再进一波跟趋势的不知道会不会赚钱。

一兄好厲害。

·

老了,记性不太好 :) 以后动数据前都得做标记了,瞎折腾

外汇期货真的需要强大的心理
佩服一哥

·

机器人在跑,没有压力 :)

昨晚很多機械人在工作,看著幾千幾千粒btc的交易,光看也刺激。

對,有時候簡單的bug可能花上很多時間都不能解決,這時候或許要休息一下,可能突然就想到了

原來投資是如此專業的,怪不得賺這麼多~

那个blocktrades的手续费怎么这么高,一个比特币换成bitCNY要抽成1000元

哇!好厉害~谢谢分享^^

對,投資永遠都要抱著一種「輸光了也無所謂」的心態!

看到有不少人做合约。自己不懂也不敢去试。哪里有这方面的内容可以研究的?谢谢

·

这需要一个过程,需要自己去学习

·
·

那是一定的。只是如果有什么资料介绍的话很感恩!

English Translation (Google Translate) :

BTC pulled up from last night, last night I slept late, watching it pulled up, broken 25000, the legendary one dollar for a villa seems to be realized, but that is a dream, steem price Not only did not rise, but P network fell 13%, while the B network pulled up 20%, and smashed back, the first test with blocktrades, very fast, yes, but it can not grasp the conversion price.

BTC went to this position, the coins are very happy, BTC futures prices to 28419, a record high, noon bet once, in the 28000 this position opened an empty single, stop set to 30000, many people in the This position may not bet, I take 3000 yuan as the air, do not care about it for a while ups and downs, and this is the futures market mentality, a fall, a rise, moving to move is easy to lose, Stop within the range, how to run with it

Little gambling love, big bet on the sad, not hurt, easy heart disease, do not recommend you all to bet.

From 20% to lose only less than 1 hour when used, if someone thinks that this bet is too big, 10 times, 20 times the leverage, the risk is great, it is really wrong, BTC relative to the foreign exchange market that I said below The risk is much smaller.

The cause of another thing
Last night and the cost of master chatting foreign exchange strategy, the masters let me run a history of the measured data to see the actual report, before the test, but not at the weekend, the weekend foreign exchange market is a break, I use the program to start Read the data, read the last four high and low points, find out how to do not right, these four points in normal is normal

This is the program output of the four data, but the corresponding K line to find, how to find these four lines did not find

USDJPY, M5: S1 = 110.217
USDJPY, M5: S2 = 109.915
USDJPY, M5: S3 = 109.964
USDJPY, M5: S4 = 109.823

The program code reads the last four points

The show is the 2007/8/11 22:00, 109.042, and the above data is simply not on, had to start from the beginning to the end of a line breakpoint to debug, breakpoint debugging also get the correct results, print output The data is not the same as the actual situation, where the problem lies in the end, for a time to find out the reasons, do not have to run on Monday to get the correct data, or the history of the data call is wrong, should not die

Noon break confused about 30 minutes, to these data, coupled with the time output, find the problem.

The original is a few days ago to adjust the adjustment range set to 2017.4.24-2017.4.25, the K line to this paragraph

And the above data on the problem, solved, with 4 hours.

This is a very small problem, but the developer is easy to Fan error, not easy to modify the debugging parameters, bring unnecessary trouble, the conclusion: as long as the program is the matter, as long as the time can be resolved, more rest Can better sort out ideas.

你能幫助我。為什麼每一個崗位,我總是有點付款。請幫我交一次。

https://steemit.com/blog/@ata27/strange-experiment-swapping-human-body-it-works-2017812t192123919z

thx for sharing

Interesting :)

Great post !!!
Upvoted and followed !!!!


Enlightenment highly anticipated by steem users, thanks @myfirst for the post, may be useful for all users of steemit in the world.

Steemit advanced and became number one in the World

I am Steemit novice from Indonesia. I am still confused how to set some text on the post. I hope there are people who can help and guide me. thanks.
# Greetings from the son of aceh @munamaqfirah

Your voting will force your voice to give me strength. thanks.

我看你是用手机上网的,请问你是用哪个APP开STEEM呢?

Upozorenje ⚠ 21.08. Uvode vanredno stanje, svijet se sprema za katastrofu kakvu nismo vidjeli 99 godina.
Više na ▶ ▶ ▶ http://viahold.com/2DOC
By: Nermin Black Redzic ©

thank you

Exclusive post, carry on dude.

I like Your postings

Great article. You deserve a vote. Please check my blog.

好厲害, 賭那部份還懂, 到到後面就有看沒懂了...

长期来说我很看好btc,我觉得它是数字货币世界、数字经济体里面的美元。

Congratulations @myfirst! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published a post every day of the week

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

i did'nt understand your language..
but i upvoted you for your post :)