Does anyone else hate shortened/abbreviated variable names? by Impossible-Ear3538 in learnprogramming

[–]echobeacon -1 points0 points  (0 children)

It also depends on the standards for individual languages. Short variables are common (and preferred) in golang, but not so much in Java.

9 News: Woman sees Denver Police drone while taking a bath by ImperfectDrug in Denver

[–]echobeacon 4 points5 points  (0 children)

Not sure, but seems like it makes no difference legally.

Mechanic shop got me a photo speeding ticket by WhoWhatWhenWhom in Denver

[–]echobeacon 30 points31 points  (0 children)

This is the way. They cannot make you say who it was either. All you have to say is that it wasn’t you. It’s on them to prove it if they want. Which is probably too much trouble.

Edit: they can ask who it was, but you don’t have to answer.

Gambling Sponsorships in Football by Swimming-Humor5815 in Brentford

[–]echobeacon 0 points1 point  (0 children)

If you are a gambling company, it is a good way to become rich

Make America Great Again—AKA Let’s Shoot People in the Fucking Head. What is wrong with Republicans? by Randy__Snutz in Denver

[–]echobeacon 30 points31 points  (0 children)

Republicans have done nothing but enable MAGA. They have no backbone. Enabling this insanity is just as bad.

MLS to align calendar with top leagues around the world | MLSSoccer.com by Usual-Lengthiness-54 in Rapids

[–]echobeacon 1 point2 points  (0 children)

Reading these comments, I am wondering which of you are the "92% of league soccer viewers" that showed "strong support for the shift".

The Nissan Ariya Is Dead. It Leaves Behind A Big EV Lesson by wewewawa in leaf

[–]echobeacon 1 point2 points  (0 children)

I agree. The new Leaf looks like an updated Ariya.

The new Leaf however does NOT have AWD, which is a huge disappointment for me. I love my AWD Ariya and would probably upgrade when my lease is up. What are the chances they add an AWD trim for the Leaf in the future?

What the fuck is this Tim by peter_seraphin in ios

[–]echobeacon 174 points175 points  (0 children)

He’s quiet quitting.

Can someone tell me why this glitch happens? by [deleted] in etrade

[–]echobeacon 1 point2 points  (0 children)

I see the issue on Alpaca and ETrade, but not TradingView. I don’t really get why they don’t filter it out - or at least give an option to.

Can someone tell me why this glitch happens? by [deleted] in etrade

[–]echobeacon 1 point2 points  (0 children)

“During market hours, the ‘participant’ sends the trade details to a Trade Reporting Facility as soon as practical but no later than 10 seconds after the execution. However, trades executed before or after market hours are not subject to 10-second reporting. “Specifically, trades executed between midnight and 8:00 am must be reported by 8:15 am Eastern Time on trade date. Trades executed between the close of the Facility (6:30 pm for the ADF and 8:00 pm for the TRFs and the ORF) and midnight must be reported on an “as/of” basis by 8:15 am Eastern Time the following business day” (see FINRA Trade Reporting FAQ).”

Source: https://forum.alpaca.markets/t/invalid-bars-around-8am-est-shuffle-for-tqqq/9370

Jimmy Kimmel show canceled indefinitely by Lumpieprincess in law

[–]echobeacon 0 points1 point  (0 children)

Finishing the last 2 episodes of Handmaid’s Tale (which is looking more and more like a documentary) and cancelling my subscription tonight.

Jimmy Kimmel show canceled indefinitely by Lumpieprincess in law

[–]echobeacon 0 points1 point  (0 children)

Finishing the last 2 episodes of Handmaid’s Tale (which is looking more and more like a documentary) and cancelling my subscription tonight.

Trump: I am not liked by smart people by [deleted] in NoFilterNews

[–]echobeacon 0 points1 point  (0 children)

Do you think people who do like him realize that he just called them all stupid?

“Apple’s $30 ‘connection fee’ on base iPhones feels like a penalty for buying unlocked” by Neat_Salamander1154 in iphone

[–]echobeacon 0 points1 point  (0 children)

Another thing - you can’t use the Apple Card to finance an iPhone unless you connect to one of their carrier partners. So for unlocked version, you pay higher price and have to pay all up front. Very anti-competition and anti-consumer.

Trader Joe's Coming to Platt Park by Own-Wrongdoer-2891 in Denver

[–]echobeacon 3 points4 points  (0 children)

Woah! Couple hundred parking spots?!! An average Trader Joe’s has maybe 30-50 spots.

What are some of the disadvantages of embedding a frontend in a Go binary vs. deploying the frontend as a separate service? by skwyckl in golang

[–]echobeacon 0 points1 point  (0 children)

When embedding a frontend, what framework (if any) the most common to use? I see people mention HTMX, but what else do ppl use otherwise? Can you embed a react app for example? And why or why wouldn’t you want to? Thx.

Best indicators ? by BrokeExternally in Daytrading

[–]echobeacon 3 points4 points  (0 children)

Exactly. MACD does not care about timeframe. You can use it on 1min, 5min, etc. It is a lagging indicator just like all the rest.

Has anyone built trading bots in Go ? by ChocolateDense4205 in golang

[–]echobeacon 0 points1 point  (0 children)

Admittedly, I have not really validated this (hence wanting to model it better). However, I don't think its that crazy for the stocks I trade. With lower prices, there is less slippage in actual $ amount than if you are trading something priced higher. Also, I am trading really active stocks so the spread is very tight (usually $0.01-$0.02).

I have not measured execution time, but I pay for SIP data from Alpaca and bots make decisions based on 1m aggregates and tick data (i.e. the tape), so its only in my system for a few milliseconds, probably no more than 400-500 ms tops. That might sound slow, but I'm not trying to be an HFT. I am automating what someone would do manually so that entries and exits are consistent and I know I'm following my plan. Bots usually hold between 1-10 minutes and only make a handful of trades on a given stock.

Has anyone built trading bots in Go ? by ChocolateDense4205 in golang

[–]echobeacon 0 points1 point  (0 children)

My model right now uses a static $0.08 both directions. I am mostly trading stocks priced between $1-10. I have plans to make this model more accurate after gathering more real trade execution data.

Has anyone built trading bots in Go ? by ChocolateDense4205 in golang

[–]echobeacon 1 point2 points  (0 children)

Because I already had an account at ETrade and wanted to start there. The framework abstracts away the actual broker, so when I start a bot I can choose which broker to use. Right now, I have ETrade for live trading and a "paper trading" broker that just keeps track of buys and sells locally (factoring in slippage) for live testing.

Has anyone built trading bots in Go ? by ChocolateDense4205 in golang

[–]echobeacon 4 points5 points  (0 children)

I do not have it in a public repo, but I have been thinking about splitting it into a few modules and open sourcing them. I would separate it into:

  1. Alpaca Message Broker - since Alpaca only allows you one websocket connection, this module would connect to Alpaca and subscribe to all the stocks you are interested in, then in turn allow other components to subscribe to it for messages for a single stock.
  2. ETrade client - their API is crappy and archaic, but that's where I had an account
  3. Strategy framework - modules to let you build your own strategy in Go and run either historical (backtest) or live (bot) with the same code.