Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

tiny typo fix to add_an_exchange.md #2663

Merged
merged 1 commit into from
Dec 2, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/extending/add_an_exchange.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ Should return an amount. Rounds the amount into a valid amount Gekko Broker can

this.exchange.isValidPrice(price);

Should return true or falce. If the exchange has restrictions on the price you can submit limit orders at. If there are no such restrictions you should not implement this method.
Should return true or false. If the exchange has restrictions on the price you can submit limit orders at. If there are no such restrictions you should not implement this method.

### isValidLot

this.exchange.isValidLot(price, amount);

Should return true or falce. If the exchange has restrictions on the lot size (order size expressed in "currency" amount) you can check for that here. If there are no such restrictions you should not implement this method.
Should return true or false. If the exchange has restrictions on the lot size (order size expressed in "currency" amount) you can check for that here. If there are no such restrictions you should not implement this method.

## Error handling

Expand Down