maxbbraun / trump2cash

A stock trading bot powered by Trump tweets
https://trump2cash.biz
MIT License
6.25k stars 855 forks source link

Trade test failing after recent change #41

Closed Dotnaught closed 7 years ago

Dotnaught commented 7 years ago

(Assuming this test isn't failing because the market is closed...)

`___ test_make_order_request_success ____

trading = <trading.Trading instance at 0x7f79f369a878>

def test_make_order_request_success(trading):
    assert not USE_REAL_MONEY
  assert trading.make_order_request((

'' '' '' '' '' '' % TRADEKING_ACCOUNT_NUMBER)) E assert False E + where False = <bound method Trading.make_order_request of <trading.Trading instance at 0x7f79f369a878>>(('' % '12345678')) E + where <bound method Trading.make_order_request of <trading.Trading instance at 0x7f79f369a878>> = <trading.Trading instance at 0x7f79f369a878>.make_order_request

trading_tests.py:374: AssertionError`

maxbbraun commented 7 years ago

The tests seem to pass now. Maybe a transient error on the TradeKing side?