futuretrader

u/futuretrader


r/dubaiclassifieds•

[WTB], Xbox One S or X

I'M LOOKING TO BUY

“WTB”, Xbox One S or X

Palm Jumeirah, Dubai.
Willing to pay up to 500 AED all in.
Must be fully working condition. Minimum one controller.
Capacity irrelevant.
It’s just to play Minecraft with my kids, so not sensitive to any bundles or game collections.
Quick purchase preferred and appreciated.

Will pay cash on delivery or travel to collect within immediate vicinity.

If this is post is older than 2 days while you read it, assume I have found what I wanted and no need to respond.

Thanks for reading

23

r/DubaiPetrolHeads•

Do we have an AM UAE group or something like a TG chat? I have heard quite negative things about AM main dealer so taking it straight to an independent trusted mechanic, anything I should be concerned with and pre emptively do on a v12 biturbo variant?

Any good source for parts?

10

r/dubai•

Or did I just miss something?

I have an unlimited data plan on Du, 300 AED or so per month, whatever, no issues.

But for any data-using device like an iPad or car entertainment I need a data SIM. They stopped duplicate SIMs on unlimited data plans so I dropped my wife’s tariff to the PowerPlan 225, which if memory serves came with 50GB data. Way more than she uses, so I got a duplicate for that so the kids can watch Netflix in the car.

Today her data stopped working so I log onto the dashboard and see that the data plan now only comes with 13GB, and there isn’t even a 50GB tariff to buy. Not on Du, not on Etisalat.

And unlimited data plans now start at 999Aed per month??

My question is:

2621


r/DubaiPetrolHeads•

I will preface the post by saing that I completely take ownership of it being my fault that I discover new scratches and scrapes way too late. By which time it's pointless to try to find which valet or driver made them. But my question is three fold: 1- What process do you have to manage valet related scratches. Does it actually work? Have you had success claiming damages or do you accept is as a cost of convenience? 2- Where is a good value place to remove scratches and scrapes on painted plastic bumpers, without going in for a full respray (though I think a respray will eventually be needed) 3- is there a good vlaue and quality detailing service? I saw a guy in a car park take pictures of

10

r/learnprogramming•

conceptual: Run python on slack

Topic: Python to Slack concept

Hi, am pretty mediocre at Python, but I built a script that works with CSVs and XLSXs as a Database and data cleaner of sorts. The input and output files are on my company's Sharepoint.

I would like to have some users within the company to interact with the script in a controlled and limited way through Slack.

What tools and knowledge will I need and how would this concept work? I.e. currently the processing is done on my laptop and the OS path links refer to my specific Filepaths. how do I "serverise" this script without AWS or other enterprise grade solutions that require a PhD on their own?

​

thanks

11

r/statistics•

I have a population of assets and am using random sampling to find a set of 30 that dominate the rest as a portfolio.

The combination qty (in this case my population) runs into a number so large it has five commas. It would take me 26.8 million years to sample all of them and note down the metric I judge their "optimumness" on.

how many random samples (order does not matter) would be a good number to take to end up with reasonably high confidence that I have a portfolio very close to the optimum one? I am weary of using specific numbers to describe "confidence" and "close to the optimum" as it is a judgement call for most.

anecdotally: I ran two simulations of 20 million samples each a

12

r/learnpython•

Hi, looking to generate an array of zeroes of a specific length (that I can control) with an n number of values being nonzero. I then want a n amount of those zeroes to be randomly replaced with fractions (which all sum up to 1), but those fractions should have a lower and an upper bound that I control.

​

example: generate array of 15 zeroes:

in:
arry1 = np.zeros((15,), dtype=int)
out:
array([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0])

I then want to end up with an n number of these zeroes to be a random fraction of 1 with a lower and upper bound that I can control, but those fractions need to all add up to 1.

example of the result I want: (I set just 5 to b

210

r/learnpython•

I want to simulate a portfolio performance. Currently just trying to make one iteration work:

df looks like this:

Wincent	Systema	Nickel Arb	Stratosphere	Tellurian
1	6.78	0.8	0.99	13.52	14.89
2	4.54	1.09	0.83	8.94	8.27
3	13	70	10	6	1

where row:

1 is volatility (or SD)

2 is return (ER)

and 3 is portfolio weight (in percent)

What I would like to get to is another df, let's call it onesim

with the same column names, just onerow under each one and a randomly generated number according to the SD and ER multiplied by the weight

I tried something like this:

onesim=float(np.random.normal(loc=df.iloc[1],scale = df.iloc[0], size= 1) * (df.iloc[2]/100))

but am gett

03

r/learnpython•

The answers I found online are beyond my comprehension at the moment, though I tried one solution (commented)

plottitle= "Dividend payout at "+str(round(stake*100,2))+"% invested. Or $"+str(amt_invested)
divplot = investor_profit.plot(lw=2,marker='.', markersize=10, title=plottitle,figsize=(10,10))
divplot.set_ylabel("Dividend payout")
#annotate_plot(divplot, "Dividend", "30th Rank","70th Rank")
plt.show()

Trying to get the labels of the data to show where those dots are.

here are the contents of the plotted dataframe:

in: investor_profit

out:
          Dividend  30th Rank  70th Rank
Month 12   19351.0     2598.0    30260.0
Month 24  101912.0
22

r/learnpython•

I know I could fill a df with random numbers, specifying the lowest and highest bound.

data = np.random.randint(lowest integer, highest integer, size=number of random integers)
df = pd.DataFrame(data, columns=['column name'])

how can I do this exact thing but specifying StandardDeviation and mean?

I tried this method (and it works), but it's not the fastest for larger iterations:

    for i in range(sim_runs):
      steps = float(np.random.normal(loc=pf_ER, scale = pf_SD, size = 1) +1) # generate random array to multiply with resturns
      step.append(steps) # put into a string
    step = pd.DataFrame(step)

where

sim_runs = #simulation runs
pf_ER = mean 
13

r/learnpython•
startAUM = 3
sim_runs = 3000
 
aumlist = []
for i in range(sim_runs):
  aumlist.append(startAUM)
  sAUM = pd.DataFrame(aumlist)
sAUM.columns = ["Month 0"]

I clearly overcomplicated this and made the script dog slow in the process.

All I am want is to have a single DataFrama with one column "Month 0" which has n rows (as defined by the variable sim_runs and each one of the rows containing the same number (as defined by startAUM)

​

Thanks

12

r/learnpython•

I have a DF with two columns, I want to check if a value in each cell in column "A" exists ANYWHERE else in a column "B"

​

df:

Column AColum B
hihi
blahthere
younice
yoto
blahmeet
shhhhyou
youtoday
greathi
ahhhagain

​

the result I am looking for:

​

Column AColum Bexists?
hihiTrue
blahthereFalse
youniceTrue
yotoFalse
blahmeetFalse
shhhhyouFalse
youtodayTrue
greathiFalse
ahhhagainFalse

​

I tried adapting this from google, but it seems to only compare elements next to each other ratherthan element in column A against all of column B

m =

13

r/feedthebeast•

Hey gang.

Looking for a modpack that has tech (like solar power, electricity and mechanisms), with as little magic as possible, and doesn't aim to make you a God, but rather focuses on building, procuring and automation. Also something that can be played with a buddy. Gregblock description seemed like the ticket, until it turned out that players are stuck within their islands and cannot seem to play together.

315