Andy Cheng
|
4bc70820c4
|
positionmodifier: move functions into types.Position
|
2022-07-29 14:40:54 +08:00 |
|
Andy Cheng
|
9588a6f6bd
|
positionupdater: update command flow
|
2022-07-29 13:45:33 +08:00 |
|
Andy Cheng
|
2724949678
|
positionupdater: update avaerage cost
|
2022-07-29 12:05:39 +08:00 |
|
Andy Cheng
|
32b91b67dd
|
positionupdater: update quote position
|
2022-07-29 12:00:11 +08:00 |
|
Andy Cheng
|
8c53c7e575
|
positionupdater: update base position
|
2022-07-29 11:52:20 +08:00 |
|
Andy Cheng
|
9a086d2855
|
interact: use instance ID as signature
|
2022-06-07 10:40:15 +08:00 |
|
Andy Cheng
|
8410b1cc33
|
interact: update interact test
|
2022-06-06 17:34:39 +08:00 |
|
Andy Cheng
|
1f79e236ad
|
interact: revert to id = strategy.ID()
|
2022-06-06 16:20:06 +08:00 |
|
Andy Cheng
|
3d9994706b
|
interact: fix missing make()
|
2022-06-06 15:36:09 +08:00 |
|
Andy Cheng
|
8c353421d8
|
interact: Remove status from strategy signature
|
2022-04-26 21:05:26 +08:00 |
|
Andy Cheng
|
1a13826505
|
interact: refactor generateStrategyButtonsForm()
|
2022-04-26 19:11:50 +08:00 |
|
Andy Cheng
|
eb1beb05d1
|
interact: rename functions to private functions
|
2022-04-26 18:32:41 +08:00 |
|
Andy Cheng
|
61b6755518
|
interact: GetStrategySignatures() returns map[string]SingleExchangeStrategy instead of slice of strategy signatures
|
2022-04-26 18:29:22 +08:00 |
|
Andy Cheng
|
cbf6bf78bc
|
feature: make FilterStrategyByInterface a simple function
|
2022-04-26 18:29:22 +08:00 |
|
Andy Cheng
|
ecc63f743f
|
feature: split strategy controller interface into several smaller ones
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
64766c48f3
|
feature: revert position closer and position reader back
|
2022-04-26 18:29:21 +08:00 |
|
Andy Cheng
|
6228cddbec
|
feature: adapt new strategy controller in interact
|
2022-04-26 18:29:21 +08:00 |
|
c9s
|
18da434e92
|
all: use thread-safe GetAccount method to get account
|
2022-04-23 15:43:11 +08:00 |
|
Andy Cheng
|
3a6f34330b
|
interact: refactor
|
2022-03-28 15:16:11 +08:00 |
|
Andy Cheng
|
63e8850cc3
|
interact: separate strategy filtering and button generation
|
2022-03-28 12:37:42 +08:00 |
|
Andy Cheng
|
ee6377ab87
|
interact: fix misuse of cycle()
|
2022-03-28 11:58:01 +08:00 |
|
Andy Cheng
|
0974b1c7fd
|
interact: pull out the interaction related code to the caller
|
2022-03-23 12:05:35 +08:00 |
|
Andy Cheng
|
5eef2a2085
|
interact: pull out interface filter as a function
|
2022-03-21 17:49:18 +08:00 |
|
Andy Cheng
|
f4c87e5d75
|
interact: refactor strategy controller related interfaces
|
2022-03-21 16:19:55 +08:00 |
|
Andy Cheng
|
fb8b79f38d
|
interact: rename GetStrategyStatus() to GetStatus()
|
2022-03-21 16:12:23 +08:00 |
|
Andy Cheng
|
ffd5c646e9
|
interact: refactor interface func name
|
2022-03-21 15:08:15 +08:00 |
|
Andy Cheng
|
962645c2c8
|
interact: Pull out EmergencyStop to a single instance
|
2022-03-21 15:05:24 +08:00 |
|
Andy Cheng
|
5f7710103d
|
type: add StrategyStatus type
|
2022-03-21 15:01:15 +08:00 |
|
Andy Cheng
|
69a02f1664
|
interact: add EmergencyStop() to StrategyController interface
|
2022-03-21 11:42:54 +08:00 |
|
Andy Cheng
|
b6aff9674c
|
strategy: add StrategyController functions to support strategy
|
2022-03-21 10:20:12 +08:00 |
|
Andy Cheng
|
5de137ced8
|
interact: add StrategyController interface to control strategies from telegram bot
|
2022-03-18 18:43:07 +08:00 |
|
zenix
|
8648528435
|
fix go fmt, fix convert.go (the legacy fixedpoint implementation) in all tests
|
2022-02-15 14:55:19 +09:00 |
|
zenix
|
d9450e823e
|
fix all the fixedpoint use other than strategy
|
2022-02-15 12:01:39 +09:00 |
|
c9s
|
7b572120a1
|
interact: use RemoveKeyboard from interact.KeyboardController
|
2022-01-23 14:13:47 +08:00 |
|
c9s
|
0af5fc0530
|
interact: add RequireTextInput method to Reply interface
|
2022-01-23 02:21:26 +08:00 |
|
c9s
|
f5f8f15670
|
slack: add reply and session struct
|
2022-01-23 02:21:26 +08:00 |
|
c9s
|
5d54e6fded
|
interact: skip total == 0 balance
|
2022-01-16 01:06:47 +08:00 |
|
c9s
|
2088234b44
|
interact: separate telegram user sessions
|
2022-01-16 00:25:11 +08:00 |
|
c9s
|
5f942e85ed
|
bbgo: show position with plaintext mode instead of string format
|
2022-01-15 03:13:30 +08:00 |
|
c9s
|
1c7d4d09cf
|
interact: add Cycle state builder
|
2022-01-15 03:06:36 +08:00 |
|
c9s
|
2a6b821908
|
bbgo: implement /position command
|
2022-01-15 02:58:55 +08:00 |
|
c9s
|
93722e6db3
|
implement position closer interaction
|
2022-01-15 02:52:46 +08:00 |
|
c9s
|
43317bb647
|
add state and telegram example
|
2022-01-13 11:43:33 +08:00 |
|
c9s
|
ccaa8c5c86
|
bbgo: implement parseCommand
|
2022-01-13 11:43:33 +08:00 |
|
c9s
|
7053802041
|
basic interaction parser
|
2022-01-13 11:43:33 +08:00 |
|