Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OrderStatus\GetPastTrades::getTrades() must be of type array, null returned #213

Open
dfelton opened this issue Jun 30, 2021 · 0 comments
Open
Labels
bug Something isn't working Priority - Medium

Comments

@dfelton
Copy link
Owner

dfelton commented Jun 30, 2021

This particular issue occurred for multiple processes, and even multiple accounts at once.

Shutdown Enabled at: 2021-06-28 20:33:27
Exception: TypeError
Code: 0
Message: Return value of Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderStatus\GetPastTrades::getTrades() must be of the type array, null returned
Strace:
#0 src/Command/Command/Logger/TradeHistory.php(145): Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderStatus\GetPastTrades->getTrades('maticusd', 0, 500)
#1 src/Command/Command/Logger/TradeHistory.php(122): Kobens\Gemini\Command\Command\Logger\TradeHistory->mainLoop(Object(Symfony\Component\Console\Output\ConsoleOutput), 0)
#2 src/Command/Command/Logger/TradeHistory.php(111): Kobens\Gemini\Command\Command\Logger\TradeHistory->main(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\Logger\TradeHistory->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Kobens\Gemini\Command\Command\Logger\TradeHistory), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 bin/gemini(445): Symfony\Component\Console\Application->run()
#8 {main}
Shutdown Enabled at: 2021-06-28 20:33:27
Exception: TypeError
Code: 0
Message: Return value of Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderStatus\GetPastTrades::getTrades() must be of the type array, null returned
Strace:
#0 src/Command/Command/Logger/TradeHistory.php(145): Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderStatus\GetPastTrades->getTrades('lptusd', 0, 500)
#1 src/Command/Command/Logger/TradeHistory.php(122): Kobens\Gemini\Command\Command\Logger\TradeHistory->mainLoop(Object(Symfony\Component\Console\Output\ConsoleOutput), 0)
#2 src/Command/Command/Logger/TradeHistory.php(111): Kobens\Gemini\Command\Command\Logger\TradeHistory->main(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\Logger\TradeHistory->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Kobens\Gemini\Command\Command\Logger\TradeHistory), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 bin/gemini(445): Symfony\Component\Console\Application->run()
#8 {main}
Shutdown Enabled at: 2021-06-28 20:33:27
Exception: TypeError
Code: 0
Message: Return value of Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderStatus\GetPastTrades::getTrades() must be of the type array, null returned
Strace:
#0 src/Command/Command/Logger/TradeHistory.php(145): Kobens\Gemini\Api\Rest\PrivateEndpoints\OrderStatus\GetPastTrades->getTrades('manausd', 1624895748400, 500)
#1 src/Command/Command/Logger/TradeHistory.php(122): Kobens\Gemini\Command\Command\Logger\TradeHistory->mainLoop(Object(Symfony\Component\Console\Output\ConsoleOutput), 1624895748400)
#2 src/Command/Command/Logger/TradeHistory.php(111): Kobens\Gemini\Command\Command\Logger\TradeHistory->main(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 vendor/symfony/console/Command/Command.php(255): Kobens\Gemini\Command\Command\Logger\TradeHistory->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Kobens\Gemini\Command\Command\Logger\TradeHistory), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 bin/gemini(445): Symfony\Component\Console\Application->run()
#8 {main}
@dfelton dfelton added bug Something isn't working Priority - Medium labels Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority - Medium
Projects
None yet
Development

No branches or pull requests

1 participant