OrgTBoot / trading-boot

3 stars 2 forks source link

Feat non paper trading support #9

Closed maimas closed 1 year ago

maimas commented 1 year ago

🐛 Bug fix:

  1. bug: fixed rule that was never satisfied

🦅 Multiple enhancements:

  1. Decoupled paper trading from real trading
  2. Added Bollinger bands to the exit rule of DEMA, see issue #8
  3. Enhanced trading record to cover scenarios when same action was performed few times in a row (BUY, BUY, SELL)
  4. Updated console messages for trading records - not it will show entry dollar amount + shares count and exit dollar amount + shares count

⚠️ Breaking changes:

  1. application-default.yml - devs need to make sure they are setting props correctly - those got changed to accommodate the separation of paper trading accounts from real trading.
BEFORE THE CHANGE

features:
  paper-trading-enabled: true

providers:
  webull:
    trade-account:
      id: <redacted>
    paper-account:
      id: <redacted>
    auth:
      key: access_token
      secret: <redacted>
AFTER THE CHANGE

features:
  paper-trading: true

providers:
  webull:
    trade-account:
      id:  00000000
    paper-account:
      id: <redacted>
    auth:
      key: access_token
      secret: <redacted>