price algo #5

Closed
opened 2025-07-19 12:46:38 +08:00 by earthjasonlin · 1 comment

假设公比为n
目前是两侧分别为扩散型的等比,对上方每格乘1+n,下方每格乘1-n
应当是两侧合起来为一个等比,也就是对上方每格乘1+n,下方每格除1+n

假设公比为n 目前是两侧分别为扩散型的等比,对上方每格乘1+n,下方每格乘1-n 应当是两侧合起来为一个等比,也就是对上方每格乘1+n,下方每格除1+n
earthjasonlin added this to the TODO project 2025-07-19 12:46:52 +08:00
Author
Owner

main.py Line 194 in 3914250caf
price = base_price * (1 - self.grid_percentage) ** level

https://git.loliquq.cn/MexcTradingBot/mexc-spot-grid-bot/src/commit/3914250caf4afb7550ceadd8ad250aa69ee3dfd6/main.py#L194
earthjasonlin moved this to In Progress in TODO on 2025-07-19 19:49:59 +08:00
earthjasonlin moved this to Done in TODO on 2025-07-19 19:54:16 +08:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MexcTradingBot/mexc-spot-grid-bot#5
No description provided.