DEV Community

My bot rejected every trade for being 'too wide' — and the gate was measuring the wrong thing (opens in new tab)

Discussed on DEV

This is the third post in an accidental series about my paper-trading bot finding new and creative ways to do nothing. First it ran for 48 hours and rejected every trade. Then it logged hundreds of trades it never made. This time it had a number to hit — 100 completed trades before I'd even consider real money — and it had crawled to 87 and stalled. Days passed. The counter didn't move. So, again: I dumped the rejection log and bucketed by reason. $ awk '/rejected/' state/decisions.jsonl | jq...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help