-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo
28 lines (28 loc) · 2.8 KB
/
todo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
1. Add limit + stop limit sequence. // Done
2. Add margin(transfer + borrow/repay) functionality, mb combine spot + margin order in unified interface. // Done, but needs testing
3. Add test infrastructure.
4. Add success rate runs(running a script across multiple time periods and calculating average profit/loss) // Done
5. Better logging for the real-world scripts.
6. Add scripts for fast buying with stop losses and balance usage. // Done
7. Abstract away from isolated margin // Done
8. Figure out a way to do isolated margin limit orders(api is a bit strange).
9. Make an example of buying alts tied to BTC price movement. // Done (candleTrigger - a bit specific, but you can easily make different custom functions)
10. Adjust makeSplitCandleStreams to work with multiple candle requests. // Done
11. Buy/sell signal infrastructure.
12. Add moving stop loss customization. // Done
13. Add velocity or simply a "flat-line/curve up/curve down" indicator.
14. Add virtual stop loss(stop loss that can be controlled programmatically - e.g. stop only when candle closes).
15. Figure out an approach of using trend indicator in real time.
16. Add break-even stop loss(using moving stop customization). // Done(thresholdStopLoss - a moving stop with a maximum limit value)
17. Try using volume indicator to detect potential resistance/support lines. // Tried - works inconsistently - setting the lines manually might work better
18. Come up with a generic way of combining indicators(perhaps a cross with buy/sell signals task).
19. Decide where to use `shareReplay`(on which level) to avoid additional requests and mistakes(cold streams that emit separately) in simulation/testing. // Done - mostly on api level, where it makes sense(rest api only needs one value per call, then it is shared)
20. Decide whether to include convenience functions in interface of use "decorators" that work with a minimal interface(try out the second approach). // Done - see `interface.md`.
21. Rewrite(?) simulation - find a way to deal with `price$` in `mockSpot`. As of now, streams are created outside of the functions that are actually supposed to fetch data, which is odd. It is done so the streams would not be duplicated(so they have the same source). // Done(covered by script indicator usage revamp)
22. Try getting rid of RSI duplication(getRSI). // Done
23. Move logging logic for better reusability.
24. Rewrite simpleRSI example using "frame"(needs a better name). // Done
25. DCA as a potential feature.
26. Replace `const socketClient = makeBinanceWebSocketClient(config.baseWebSocketURL);` with `const socketClient = makeBinanceWebSocketClient(config.baseWebSocketURL, ws);`. // Done
27. Add candle streams caching and replace hardcoded test values with cached functions. // Done
28. Try documenting and implementing several use cases for a particular time period.