註冊並分享邀請連結,可獲得影片播放與邀請獎勵。

檢索結果 PLAVE_LIVE
PLAVE_LIVE 貼吧
一個關鍵字就是一個貼吧,路徑全站唯一。
建立貼吧
用戶
未找到
包含 PLAVE_LIVE 的搜尋結果
人类对Codex的开发不足1%! 昨天刚拿到了API就花了一点时间做了一个挂单脚本 账户初始资产总额311.8u 跑了一晚刷了8k的交易量还挣了1.31u 这样的积分成本相当于是负的 主要得益于现在平台流动性嘎嘎好 去做这么一个脚本需要考虑的东西不少: - 用什么策略?可以参考一下 @ZhanweiC 的策略 - 哪些任务可以并发,哪些动作必须串行? 读取可以并发,但提交订单、撤单最好串行,否则很容易出现刚下单又被另一个线程误删、误撤、重复挂单 - BUY 和 SELL 要不要拆线程? BUY 需要扫市场和盘口,比较慢;SELL 需要盯账户持仓,响应要快。拆开后 SELL 不会被 BUY 全量扫描拖住 - 本地 state 怎么设计? 不能只靠 API open orders,因为交易所状态不是实时一致的。create order 成功后,open orders 可能几秒后才查得到。本地 state 需要承担短期去重、防重复提交、防误清理的作用 - 如何处理 eventual consistency? 刚创建的订单不能因为下一秒 open orders 查不到就认为失效。需要设置等待窗口,比如 30-60 秒,避免账户同步线程把新订单误清掉 - 订单价格怎么取? Yes / No、Over / Under 这种反向 outcome 很容易算反。尤其 SELL 时,最好用当前持仓 outcome 的 bestAsk,而不是盲目拿 Yes 侧 orderbook 做 complement - 份额精度怎么处理? 前端显示 17.86,不代表真实可卖就是 17.86。下单数量必须向下截断,不能四舍五入,否则会出现 insufficient shares - API 异常怎么分类? hash mismatch、余额不足、份额不足、远端断连、返回截断、订单同步延迟,处理方式都不一样。不能简单无限 retry - dry-run 和 live 必须隔离 所有真实下单逻辑都要先 dry-run,看清楚 would-place / would-cancel,再打开 live - 日志一定要可读 真跑起来以后,最重要的是快速知道:挂了什么、撤了什么、为什么跳过、为什么失败、是不是重复提交。 - 风控边界怎么写? 不市价卖出、不吃单、post-only、限制 BUY 范围、开赛前撤买单,这些都要变成代码里的硬约束 不是说有了AI随随便便就能做出一个可以长期稳定可交付的系统,一定要从工程的角度出发做好稳定性测试跟风控 感兴趣的朋友一起来交流~ @predictdotfun
顯示更多
0
34
36
0
轉發到社區
看得我泪流满面😭🥹💔就凭这一点,难道中国人还能再吃狗肉吗? A Belated Tribute to China’s Wenchuan Earthquake Rescue Dogs. This is a tribute that comes years too late. On October 2, 2021, the last search-and-rescue dog that had served in the 2008 Wenchuan Earthquake, Bingjie, passed away. With his death, all 67 rescue dogs that answered the call during one of China’s darkest disasters had completed their final roll call. This isn’t about whether you love dogs or keep pets. It’s about heroes. Back in 2008, when mountains collapsed and entire cities were reduced to rubble, these dogs charged into places no human could safely enter. At a single whistle from their handlers, they disappeared into twisted steel, shattered glass, and unstable concrete without hesitation. Their paws were ripped apart by broken rebar and jagged debris. They bled with every step. Many worked until the pads of their feet were raw and infected. Yet the moment they caught even the faintest scent of life beneath the ruins, they refused to leave. They barked. They dug. They kept digging. For them, every signal they gave meant another chance for someone to survive. That wasn’t simply bravery. It was something even purer. A complete trust in the person who guided them. A trust so absolute that it stood above fear itself. Bingjie was barely a year old when he was deployed to Wenchuan. Still little more than a puppy, he clawed through what had become a living hell and helped save 13 lives. The first little girl he rescued is now a university graduate. The future she was able to live began with a wet black nose finding her in the darkness… and a pair of tiny paws digging until they nearly gave out. If she remembers that moment, then she remembers who reached her first. No matter how you measure it, humanity owes these dogs a debt that can never truly be repaid. There was also Shenhu, another legendary rescue dog. By the time he retired in 2019, nearly fourteen years old, he had helped save 15 lives. His handler couldn’t bear to part with him, so he brought Shenhu home and stayed by his side until the very end. Today, a statue stands in his honor. But the truth is… Dogs don’t understand medals. They don’t understand monuments. They don’t care about titles or glory. A gentle pat on the head. A favorite tennis ball. A few words of praise from the person they trust. To them, that was worth risking everything. If called again, they would have done it all over without a second thought. People often speak of loyalty. These dogs never spoke a word. They carved loyalty into their bones. Now they have all returned to the place people lovingly call the Rainbow Bridge. Perhaps they’re together again, sniffing one another, wagging their tails, healthy and full of life, just as they were back then. To the silent heroes who gave everything so that strangers could have another tomorrow… Thank you. You will never be forgotten.
顯示更多
0
21
108
14
轉發到社區
Standing on a high place, looking at the sea, there is a feeling of being refreshed!站在高处,眺望大海,有种心旷神怡的感觉! #AmazingChina#
0
16
397
28
轉發到社區
What a cozy place好溫馨的地方
0
0
105
5
轉發到社區
time 凌晨 place 天台 boss 做任务 看到最后呀~ #母狗# #反差# #舔脚# #肉便器# #羞辱# #sm# #母狗# #骚逼(# 完整版看置顶或评论区)
0
0
79
16
轉發到社區
time 凌晨 place 天台 boss 做任务 看到最后呀~ #母狗# #反差# #舔脚# #肉便器# #羞辱# #sm# #母狗# #骚逼# (因平台不能发完整版 完整版看置顶或评论区)
顯示更多
0
0
44
11
轉發到社區
Polychrome Carved Lacquer Plate, Jiajing 嘉靖 Period, Ming Dynasty 明代嘉靖剔彩漆盘 📷行-这下全完了
POV:下飛機第一件事 First thing off the plane 🛬 #旅行# #行李# #機場# #出國# #芓渘# 渘渘 女演員 tzujou