[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/biz/ - Business & Finance

Search:


View post   

>> No.13518193 [View]
File: 162 KB, 1498x919, 1548354837893.png [View same] [iqdb] [saucenao] [google]
13518193

>>13518075
>You'll no doubt spend it all on that heroin slam again and die.
There are worse ways to go but I have a rare talent. I can walk away and never think about it again. It's like a natural born stoicism. Sounds like bullshit but it's my superpower.
>>13518143
I don't want to go too deep but I'll leave you with this. It's the main function in my chart creating script that actually generates the candles from the raw data. So it makes the candle for the current hour and when the next hour starts up, it starts on a new candle, and so on. If there are gaps in the hours, and it's making a crypto chart, it just creates a candle that is the close tick of whatever the most recent candle is. Stock charts obviously don't work this way since stocks only trade a few hours on week days so you can't fill up the off hours with crap. Some people find that algorithm to be a little tricky so if you are trying to write your own, here is some inspiration.

Navigation
View posts[+24][+48][+96]