[ 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.54774533 [View]
File: 234 KB, 1280x720, 1650664224237.jpg [View same] [iqdb] [saucenao] [google]
54774533

Where do you find unvaxxed, virgin, non fatty, under 24 girls? Do they exist? I'll even go to church if it means I get a wife and won't get raped financially in divorce. Where did you find your wives? Financial speaking what % of the female population is that and how do I get one?

>> No.54686233 [View]
File: 234 KB, 1280x720, 1650664224237.jpg [View same] [iqdb] [saucenao] [google]
54686233

I made this thread yesterday, but apparently at the wrong time as no one was awake. Anyone make their own programs to help them trade? I've been working on something that has helped me out, but my market data feed is extremely limited. Anyone know of a decent source for market data that isn't too expensive?

>> No.54448908 [View]
File: 234 KB, 1280x720, 1668225788621703.jpg [View same] [iqdb] [saucenao] [google]
54448908

>>54448855
This is why I covered my short last week. The retard strength behind these bounces is ridiculous. Just when you think it ought break down for a retrace, in comes the ppt green candles.

>> No.53869002 [View]
File: 234 KB, 1280x720, 1650664224237.jpg [View same] [iqdb] [saucenao] [google]
53869002

Tweaked my volume profile calculation code. Gonna write the scanner part over the next half week hopefully. Very excited to fincally use my programming knowledge to try and make me some money with less gambling involved.

>> No.52375758 [View]
File: 234 KB, 1280x720, 1650664224237.jpg [View same] [iqdb] [saucenao] [google]
52375758

>>52375493
I'm tellin' ya, vector operations are the way to go

import random
import pandas as pd

def wma(src: pd.Series, length: int):
result = []
divv = (length * (length + 1)) / 2.0
weight_fr = pd.Series(reversed(list(range(1, length + 1))))

for i in range(src.shape[0]):
slce = (src[i:i + length].reset_index())[0]
slce = slce * weight_fr
result.append(slce.sum() / divv)

return result

import time
time.process_time()
srs = pd.Series(list(random.randint(150, 300) for _ in range(2000)))

time.process_time()
asdf = wma(srs, 10)
time.process_time()

time.process_time()
asdf2 = wma(srs, 25)
time.process_time()

time.process_time()
asdf3 = wma(srs, 50)
time.process_time()

time.process_time()
asdf4 = wma(srs, 200)
time.process_time()

If i am reading the proces_time correctly it was 1.6 seconds on a 200 length.

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