1.0.28 • Published 3 years ago

mylife-trading v1.0.28

Weekly downloads
30
License
GPL-3.0+
Repository
github
Last release
3 years ago

mylife-trading

MyLife Trading

Notes:

Stratégies:

Forex devises majeures:

  • EURUSD (Euro - Dollar américain)
  • USDJPY (Dollar américain - Yen japonais)
  • GBPUSD (Livre sterling- Dollar américain)
  • AUDUSD (Dollar australien - Dollar américain)
  • USDCHF (Dollar américain - Franc suisse)
  • USDCAD (Dollar américain - Dollar canadien)

Glossary:

  • STOP = stop loss
  • STOP garanti = stop loss garanti avec spread en plus (frais)
  • LIMITE = take profit
  • ORDRE LIMITE = déclenchement de la position à partir d'un certain seuil
  • deal reference/id (??):
  • reference = command identifier
  • id = position identifier
  • effet de levier: sur IG => 1:30 possible, en fait on achete juste la quantite de lot qu on veut (en fonction de la perte possible), le broker bloque si ce n est pas possible (levier trop important par rapport au capital)

Backtest loading

  • https://www.histdata.com/download-free-forex-historical-data/?/ascii/1-minute-bar-quotes/eurusd/2019
  • scp ~/Downloads/DAT_ASCII_EURUSD_M1_2019.csv arch-desktop:/home/vincent
  • ssh arch-desktop
  • tr ';' ',' < DAT_ASCII_EURUSD_M1_2019.csv > data.csv
  • docker run --rm -ti -v ~/data.csv:/data.csv --network mongo_default mongo mongoimport --host=mongo --db=mylife-trading --collection=wipimport --file=/data.csv --type=csv --columnsHaveTypes --fields="date.date(20060102 150405),open.double(),high.double(),low.double(),close.double(),volume.double()"
  • docker run --rm -ti --network mongo_default mongo mongo --host=mongo
  • use mylife-trading
  • db.wipimport.update({}, { $unset: { volume: null }, $set: { resolution: 'm1', instrumentId: 'forex:eurusd' } }, { multi: true });
  • db.wipimport.find().forEach((rec) => { const newDate = new Date(rec.date.getTime() + 5 3600 1000); db.wipimport.update({ _id: rec._id }, { $set: { date: newDate } }); });
  • creer index sur { "instrumentId": 1, "resolution": 1, "date": 1 }

Reference:

TODO

  • home/stats: Add detail window on stat to see orders + details (especially on mobile device)
1.0.28

3 years ago

1.0.27

3 years ago

1.0.26

4 years ago

1.0.25

4 years ago

1.0.24

4 years ago

1.0.23

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.19

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago