Skip to content

Commit

Permalink
Update readme (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
evsamsonov authored Sep 13, 2023
1 parent bc2c657 commit 2542cc9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for creating automated trading robots.
## Features
- Opens position, changes stop loss and take profit, closes position.
- Tracks open position.
- Doesn't support multiple open positions at the same time.
- Supports multiple open positions at the same time.
- Commission in position is approximate.

## How to use
Expand Down Expand Up @@ -48,8 +48,7 @@ func main() {
}

type Strategy struct{}
func (s *Strategy) Run(ctx context.Context) error { panic("implement me") }
func (s *Strategy) Actions() trengin.Actions { panic("implement me") }
func (s *Strategy) Run(ctx context.Context, actions Actions) error { panic("implement me") }
```

See more details in [trengin documentation](http://github.com/evsamsonov/trengin).
Expand Down

0 comments on commit 2542cc9

Please sign in to comment.