TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #400 · 8 дек.

Три способа выполнить множество задач с asyncio Функция для примера: async def do_it(n): await asyncio.sleep(random.uniform(0.5, 1)) return n 1. Последовательный вызов async def main(): for i in range(100): result = await do_it(i) Такой вызов имеет смысл только тогда, когда результат одной задачи требуется для вызова следующей. Если они независимы, то это антипаттерн, так как аналогичен простому синхронному вызову по очереди. 2. Упорядоченный результат async def main(): tasks = [do_it(i) for i in range(100)] results = await asyncio.gather(*tasks) Выполняет корутины конкурентно и возвращает результат в виде списка. Полезен когда требуется получить результаты в том же порядке в котором задачи отправлены. 3. Результат по мере готовности tasks = [asyncio.create_task(do_it(i)) for i in range(100)] for cor in asyncio.as_completed(tasks): result = await cor Так же выполняет корутины конкурентно, но не гарантирует порядок. Результат возвращается по мере готовности, каждый отдельно. Полезен когда нужно обработать любой ответ как можно скорее. #async

Hashtags

Резултати

Пронајдени 16 слични објави

Пребарај: #ema

当前筛选 #ema清除筛选
Nasy 美股与期权

@nasyso · Post #341 · 01.09.2022 г., 22:01

$SQQQ 会在 #EMA 相交的时候卖出。 但 $TQQQ 已经买入了,不过买的不多,随时准备 ave down。实际上最多再跌30%?反正已经很便宜,快要回到两年前,或者说6月暴跌时了。

Hashtags

Nasy 美股与期权

@nasyso · Post #167 · 06.08.2022 г., 01:35

我本身不是一个看K线的人,但对于像 $SPY 这样的指数 ETF 来说,K线或许是有用的? 实际上对我来说,大多数情况下只有三个指标,即 EMA9(图中紫色),EMA48(图中绿色),以及VWAP。(或许还会时不时有 EMA200,在5分钟图里面) VWAP 对 SPY 可能作用不大,更多是用来看短线,毕竟跟 Volume 相关,这些day trade,需要 volume 支持才会涨。 #EMA EMA9: 紫色 EMA48: 绿色 紫在绿之上,看涨,买入SPXL/TQQQ 绿在紫之上,看跌,卖出,(有兴趣做空,还可以买 SPXS或者SQQQ,或者买点日历价差) 关键点是 紫绿交汇。时间30分钟,一小时都行,当然用更长时间也不是不可以,不过那是更佛系的人所做了。 我一般会在交汇那一刻就卖出持有的,但确认方向后第二天甚至第三天才会买入跟上。 永远不要赌一定会涨跌什么的,就指数来说,跟随趋势总是正确的。 (为什么今天突然说这个呢?因为我也是会忍不住交汇前就提前买/卖,导致前面本不该出现问题的 #蝶式策略 变红。

Addis Standard

@addisstandardeng · Post #21520 · 25.02.2026 г., 07:37

News: #Ethiopia revokes independent news outlet Addis Standard's license Ethiopia on Tuesday revoked the licence of independent online outlet Addis Standard saying it harmed national interests, in the latest curb on press freedom. Africa's second most populous nation with around 130 million inhabitants ranks 145th out of 180 in the press freedom index compiled by Reporters Without Borders (#RSF). According to a statement posted on Facebook by the Ethiopian Media Authority (#EMA), whose director is appointed by the lower house of parliament, Addis Standard "has been repeatedly disseminating reports that violate media ethics, Ethiopian laws, and endanger the national interests of the country and its people". It said Addis Standard had ignored several warnings "to correct its course & refrain from its detrimental practices". "Therefore... the registration certificate of Addis Standard... https://web.facebook.com/AddisstandardEng/posts/pfbid0sNz3qSXGZZKVNkSg7obqjJkx5JHkWnmPbwUsa81CCgZMCRWjG2xoiDUXZaoRm3Pbl

Addis Standard

@addisstandardeng · Post #21553 · 27.02.2026 г., 17:16

#Ethiopia: Defending media crackdown, senior EMA official berates global press freedom advocates A senior official at the Ethiopian Media Authority (#EMA) has mounted a strong defense of the regulator’s decision to revoke the operating license of #Addis_Standard, dismissing international criticism as part of a broader campaign that undermines Ethiopia’s sovereignty. In an opinion piece published on 26 February 2026, Yonatan Tesfaye, Deputy Director General of EMA, described global condemnation of the move — including statements from Reporters Without Borders (RSF), Human Rights Watch, Freedom House, and the Committee to Protect Journalists — as reflective of what he called a “globalist machinery” promoting narratives hostile to Ethiopia’s national interests. He argued that international observers often disregard the country’s legal framework and security context, including armed insurgencies and what he described as foreign influence in the information ..... Read more: https://addisstandard.com/?p=55459

Addis Standard

@addisstandardeng · Post #21519 · 25.02.2026 г., 06:16

#Ethiopia revokes Addis Standard’s license amid escalating crackdown on independent media The Committee to Protect Journalists calls on Ethiopian authorities to immediately restore the registration of independent outlet Addis Standard after the Ethiopian Media Authority (#EMA) revoked its online media registration certificate effective February 24. “This is not regulation — it is retaliation,” said #CPJ Africa Director Angela Quintal. “By weaponizing vague‘national interest’ and ‘media ethics’ provisions, the Ethiopian Media Authority is silencing independent journalism. Revoking Addis Standard’s license is part of a deliberate campaign to dismantle critical reporting in Ethiopia. Authorities must immediately reinstate the outlet’s registration and end their escalating assault on the press.” In a February 24 statement, the EMA accused Addis Standard of “repeatedly disseminating ..... https://web.facebook.com/AddisstandardEng/posts/pfbid0zjZP54WxmuGYmyTqHxPsmkawVJzr2NgAxUmHPJ6tvRz3gMv8i7UdNFeXKmtzVBLTl

Addis Standard

@addisstandardeng · Post #21533 · 26.02.2026 г., 12:09

News: #HRW condemns #EMA decision to revoke Addis Standard license, says move reflects growing repression of press freedom in Ethiopia The Human Rights Watch (HRW) has condemned the #Ethiopian government’s decision to revoke the operating license of Addis Standard, warning that the move risks silencing one of the country’s last independent media institutions ahead of national elections. On 24 February, the Ethiopian Media Authority (EMA) announced that it had revoked the outlet’s operating license, three months before scheduled national polls. HRW said the measure reflects what it described as authorities’ renewed reliance on “the authoritarian playbook.” Founded in 2011, Addis Standard has been a prominent independent voice in what rights groups describe as an increasingly restrictive media environment, publishing in-depth reporting on politically sensitive issues. HRW noted that the outlet and its staff have faced repeated pressure over the years.... Read more: https://addisstandard.com/?p=55410

Addis Standard

@addisstandardeng · Post #21181 · 24.01.2026 г., 17:31

News: #Ethiopian Media Authority announces return of #Wazema Media operating license on allegations of ‘ethical violations’ Addis Abeba – The Ethiopian Media Authority (#EMA) announced today that Wazema Media, commonly known as Wazema Radio, has returned its operational license in Ethiopia. In a statement released on Saturday, the Authority claimed the media outlet returned its recognition and license because it was "unwilling to work while respecting the Ethiopian Constitution and the Media Proclamation, as well as guidelines and professional ethics." The EMA, which had granted Wazema Media an online media license, stated that its decision followed continuous monitoring and "tips and comments" received from the public. According to the regulator, Wazema’s reporting was found to be "contrary to the country's national interest, lacking balance, [and] failing to include responses from federal and regional governments." The Authority further alleged that... https://www.facebook.com/share/p/1HzHJemEWM/

Addis Standard

@addisstandardeng · Post #21874 · 28.03.2026 г., 14:23

News: #EMA unveils AI-backed system to combat hate speech, misinformation ahead of elections Addis Abeba – The #Ethiopian Media Authority (EMA) has announced plans to deploy artificial intelligence-powered systems to strengthen monitoring, control, and response efforts against hate speech and misinformation circulating on social media platforms. The announcement came alongside the release of the Authority’s latest national report assessing the state of harmful content online. The report analyzed activity across major platforms widely used in Ethiopia, including Facebook, TikTok, Telegram, X, and YouTube, drawing on public opinion samples from multiple cities as well as complaints submitted through the Authority’s toll-free hotline. Speaking at a press briefing yesterday, #Haymanot_Zeleke, EMA Director General said the report aims to evaluate trends in hate speech and misinformation, examine their impacts, and propose policy and technical responses. Read more: https://web.facebook.com/share/p/1CW81sz6R1/

Addis Standard

@addisstandardeng · Post #21883 · 30.03.2026 г., 13:13

#Ethiopia Media Authority allocates free airtime and column space for 7th General Election campaign Addis Abeba- The Ethiopian Media Authority (#EMA), in collaboration with the National Election Board of Ethiopia (#NEBE), has announced the allocation of free airtime and newspaper column space for political parties and independent candidates ahead of Ethiopia’s 7th general election. The allocation, conducted through a lottery-based draw ceremony, is aimed at “ensuring equitable access to media platforms and fostering a level playing field among contestants.” #Haymanot_Zeleke, EMA Director General, said the initiative will enable political actors to present their programs and policy agendas to the public, allowing voters to make informed decisions based on sufficient information. According to the authority, a total of 50 media outlets have been designated to provide free campaign coverage, with 782.5 hours allocated Read more: https://www.facebook.com/share/p/18DDoxF4nX/?mibextid=wwXIfr

Addis Standard

@addisstandardeng · Post #21521 · 25.02.2026 г., 12:10

News: Publisher challenges #EMA’s revocation of Addis Standard registration, cites due process violations #JAKENN Publishing P.L.C., the publisher of #Addis_Standard, has formally contested the decision by the #Ethiopian Media Authority (EMA) to revoke the outlet’s online media registration certificate, arguing that the move lacks legal basis and violates due process guarantees under Ethiopian law. The response follows an announcement circulated on the Authority’s official social media channels on 24 February 2026, stating that Addis Standard’s registration had been revoked. In a letter addressed to the EMA Board of Directors, JAKENN said a legal review found the announcement “exceeds the Authority’s procedural powers” and is incompatible with safeguards provided under Media Proclamation No. 1238/2021, as amended by Proclamation No. 1374/2025. The publisher stressed that Addis Standard is operated by JAKENN Publishing P.L.C., a legally registered private.... Read more: https://addisstandard.com/?p=55387

12
ПретходнаСтраница 1 од 2Следна