跳到主要内容

4 篇博文 含有标签「fastapi」

查看所有标签

财经今日 开源了:界面、它读的库表结构,以及中间的 API

· 阅读需 8 分钟
财经今日 · CaiJing Today财经今日 · CaiJing Today

一个交易日,是六个标签页​

九点二十五,集合竞价结束。九点半,开盘。从这一刻起,接下来四个小时, 市场一直在说话:一次公开市场操作、一个期货点位、一个指数点位、一份征求意见 稿、一份公司公告,再加上一篇分析——而这两者到底差在哪。

这些消息都是真的,也都真实存在。只是它们不在同一个地方。

于是你打开六个标签页:行情快讯、指数页面、板块热力图、日历、公告检索、还有 一个论坛。它们各自的版式、配色、关注点都不一样,而且大多是为别人的问题而 做的。

CaiJing Today is open source — the board, the schema it reads, and the API in between

· 阅读需 9 分钟
CaiJing Today · 财经今日CaiJing Today · 财经今日

A market day is a lot of tabs​

At 09:25 the call auction ends. At 09:30 the tape starts, and for the next four hours the Chinese market talks continuously — a central-bank operation, a futures point, an index level, a draft regulation, a company filing, an analyst note about the difference between two of them.

All of it is real, and all of it is somewhere. But it is not in the same place.

So you end up with six tabs open — a wire service, a quote page, a sector heatmap, a calendar, a filing index, a forum — and the tab bar quietly becomes the product. Every one of them is a different layout, a different colour scheme, a different idea of what matters, and most of them are built for somebody else's question.

whereq.com 开源了:地图、爬虫,以及它读到的所有数据

· 阅读需 8 分钟
whereq.comwhereq.com

一枚图钉,其实只是一句很小的话​

站在多伦多的一条街上,看着眼前这个门牌号,地图只会告诉你一句话:这里有一枚图钉。一家咖啡馆,一间医院,一所学校,也许还有一个停车场。

但一个地方本身是一大堆话,而图钉是其中最不重要的那句。

这个地址属于哪个学区 catchment?走路能到图书馆吗,是哪一家?街角加油站今天收 1.42 还是 1.79?这栋楼落在 ward 里、neighbourhood 里,还是两者都算?上周这条街上出过什么事?

whereq.com is open source — the map, the crawler, and everything it reads

· 阅读需 8 分钟
whereq.comwhereq.com

A pin is a very small sentence​

Stand on a street in Toronto and look at the address in front of you. A map gives you one claim about it: there is a pin here. A coffee shop. A hospital. A school. Maybe a parking garage.

But the place itself is a pile of claims, and the pin is the least interesting one of them.

Which school catchment is that address in? Can I walk to a library, and which one? Is the fuel station on the corner charging 1.42or1.42 or 1.79? Is that building inside a ward, or inside a neighbourhood, or in a ward and a neighbourhood? Did anything happen on this street last week?